With the spooky season behind us, we are entering November with the release of Snapshot 24w45a. This update comes with a bunch of bug fixes, changes to how mobs interact with equipable items on the ground, improvements to item models by adding more functionality and much more. It's a hefty update for resource packs! Enjoy!
Changes
Baby Cats and Wolves now get a collar with the color that is a mix between the parents collar color if possible
Aligned durations of the Suspicious Stew effects with Bedrock Edition:
Saturation: 0.35 seconds (unchanged)
Night Vision: 5 seconds (unchanged)
Fire Resistance: 3 seconds
Blindness: 11 seconds
Weakness: 7 seconds
Regeneration: 7 seconds
Jump Boost: 5 seconds
Wither: 7 seconds
Poison: 11 seconds
Developer's Note: Yay! They are all now prime numbers! (not really)
Mobs picking up items
Some changes have been made to how mobs decide to replace their equipped items with items on the ground
If the item belongs in an armor slot, replace the item if any of the following conditions apply
The new item has a higher base armor value
The new item has a higher base armor toughness value
The new item has more enchantments
The new item is less damaged
The new item has a custom name while the old one doesn't
If the item belongs in the main hand slot, replace the item if any of the following conditions apply
The new item is a preferred weapon while the old one isn't
If the old item is a preferred weapon while the new item isn't, do not replace the item
The new item has a higher base damage value
The new item has more enchantments
The new item is less damaged
The new item has a custom name while the old one doesn't
Preferred weapons
The following mobs now have a preferred weapon type to pick up:
Skeleton variants all prefer Bows
Piglins and Pillagers prefer Crossbows
Drowned prefer Tridents
Eyeblossoms
Bees don't interact at all with Closed Eyeblossoms
Bees don't get poisoned when they touch Closed Eyeblossoms
Bees will not be tempted by Closed Eyeblossoms
Creaking mob
An activated Creaking will not move if a survival or adventure player is looking at it
Creaking will also have full knockback resistance in that state
Resin Brick
Resin Brick is now used as the material for armor trimming instead of Resin Clump
Technical Changes
The Data Pack Version is now 59
The Resource Pack version is now 44
Data generator in server jar (net.minecraft.data.Main) no longer generates assets directory
--client option has been removed from command line for this entry point
New entry point net.minecraft.client.data.Main is present in client jar, with similar command line structure as data generator in server jar
Available options: --client - generates assets directory
Network Protocol
Client will now send the minecraft:player_loaded packet once the loading terrain screen has closed after initially loading into the world, and after closing the loading screen when respawning
Data Pack Version 59
The tooltip warning on item blocks with the minecraft:block_entity_data component can no longer be hidden by any other component
Field model in minecraft:equippable component has been renamed to asset_id
Field item_model_index in trim_material registry has been removed (no longer needed for model rendering)
Component minecraft:custom_model_data has been expanded, together with minecraft:set_custom_model_data modifier
Tags
Block Tags
Added #bee_attractive - denotes all blocks that Bees may pollinate
Removed #tall_flowers
Item Tags
Removed #flowers and #tall_flowers
Added skeleton_preferred_weapon, piglin_preferred_weapon, pillager_preferred_weapon and drowned_preferred_weapon tags for specifying preferred weapons types for these mobs when picking up items
Components
minecraft:custom_model_data
Component has now more fields to accomodate new uses by various model property getters
Fields:
floats - list of floats
flags - list of booleans
strings - list of strings
colors - list of RGB color values
Item Modifiers
minecraft:set_custom_model_data
Component has now more fields to accomodate more complex component structure
Fields:
floats - optional list operation of number providers
flags - optional list operation of boolean values
strings - optional list operation of string values
colors - optional list operation of RGB values or number providers
List operation uses same format as explosions field in set_fireworks modifier
For example {function:"set_custom_model_data",floats:{values:[2],mode:replace_all}} sets replaces floats with value 2
Resource Pack Version 44
Invalid minecaft:filled_map items in an Item Frame (map item without the map_id component) no longer change the size of the frame
New format for data-driving item models
Renames
equipment directory has been moved one level up, i.e. models/equipment/ becomes equipment/
broken_elytra model and texture has been renamed to elytra_broken
Item models
New format has been introduced for describing item models
Item models are selected based on minecraft:item_model component
Model for item with item_model=foo:bar is stored in /assets/foo/items/bar.json
Format of file is { "model": {"type": <item model type>, <item model type specific fields> } } (see below for exact types)
overrides section has been removed from existing block models
There are no longer any hardcoded paths in models directory - models will be now only used if referenced by definitions in items or blockstates directories
Models in models/item that only redirect to a block model have been removed
In such cases, the item model will refer to the models/block model directly
minecraft:model item model type
Renders a plain model from models directory
Fields:
model: namespaced ID of model in models (like minecraft:block/yellow_glazed_terracotta)
tints: a list of tint sources to apply to elements of rendered model (first entry applies to tintindex 0, second one - 1, etc.)
Format:
type: type of tint source (see below)
<type-specific> - additional fields depending on tint source type
minecraft:constant tint source type
Returns a constant RGB color
Fields:
value - A packed integer RGB value (e.g. -1) or an array of RGB values (e.g. [ 1, 1, 1 ])
minecraft:dye tint source type
Returns value from minecraft:dyed_color component or default if not present
Fields:
default - RGB value
minecraft:grass tint source type
Returns grass color at specific climate parameters, based on textures/colormap/grass.png
Same colors as ones selected by downfall and temperature in biome configuration
Fields:
temperature - float in 0..1 (inclusive) range
downfall - float in 0..1 (inclusive) range
minecraft:firework tint source type
Returns average of colors from minecraft:firework_explosion component or default color if there are none
Fields:
default: RGB value
minecraft:potion tint source type
Returns color from minecraft:potion_contents component:
if component is present:
custom color, if there is one present in component
default color, if effect list is empty
average of effect colors, otherwise
default color, otherwise
Fields:
default: RGB value
minecraft:map_color tint source type
Return value from minecraft:map_color component or default color if component is not present
Fields:
default: RGB value
minecraft:custom_model_data tint source type
Returns value from colors list in minecraft:custom_model_data component
Fields:
index - index for field in colors, default: 0
minecraft:special item model type
Renders a special (not data-driven) model
Fields:
model: special model instance
Format:
type - type of special model (see below)
<type-specific> - additional fields depending on tint source type
base: namespaced ID of model in models, providing transformations, particle texture and GUI light
minecraft:bed special model type
Renders a whole bed
Fields:
texture - namespaced ID for texture, without textures/entity/bed/ prefix and .png suffix
minecraft:banner special model type
Renders a banner with patterns from minecraft:banner_patterns component
Fields:
color - color of banner base, one of 16 predefined colors
minecraft:conduit special model type
Renders conduit
No fields
minecraft:chest special model type
Renders a single chest
Fields:
texture - namespaced ID for texture, without textures/entity/chest/ prefix and .png suffix