]}}
* Parameters:
** target
: The entity to rotate.
** rotation
: Two rotation values in degrees denoting horizontal and vertical rotation.
*** May use relative (~) coordinate notation to specify rotation relative to current context rotation.
** facingLocation
: The coordinates of a location in the world for the rotated entity to face.
** facingTarget
: An entity for the rotated entity to face.
** facingAnchor
: Specifies the anchor of the facingTarget
entity to rotate toward - feet or eyes (by default feet).
; [[Data component format|Data components]]
minecraft:consumable
:* {{nbt|compound|minecraft:consumable}}: If present, this item can be consumed on use.
:** {{nbt|float|consume_seconds}}: The amount of seconds it takes for a player to consume the item. Defaults to 1.6.
:** {{nbt|string|animation}}: The animation used during consumption of the item. Must be one of {{cd|none|eat|drink|block|bow|spear|crossbow|spyglass|toot_horn|brush|d=or}}. Defaults to eat
.
:** {{nbt|string}}{{nbt|compound|sound}}: Sound event, the sound used during and on completion of the item's consumption. Defaults to entity.generic.eat
.
:*** {{nbt inherit/sound event|sounds}}
:** {{nbt|bool|has_consume_particles}}: Whether consumption particles are emitted while consuming this item. Defaults to true
.
:** {{nbt|list|on_consume_effects}}: An optional list of effects that take place as a result of consuming this item.
:*** {{nbt|compound}}: A single consume effect.
:**** {{nbt|string|type}}: The kind of consume effect. Must be one of {{cd|apply_effects|remove_effects|clear_all_effects|teleport_randomly|play_sound|d=or}}.
:**** ''If '''type''' is apply_effects
'':
:***** {{nbt|list|effects}}: A list of [[effect]] instances applied once consumed.
:****** {{nbt|compound}}: A single effect.
:******* {{nbt|string|id}}: The ID of the effect.
:******* {{nbt|byte|amplifier}}: The amplifier of the effect, with level I having value 0. Optional, defaults to 0.
:******* {{nbt|int|duration}}: The duration of the effect in [[tick]]s. Value -1 is treated as infinity. Values 0 and values less then -2 are treated as 1. Optional, defaults to 1 tick.
:******* {{nbt|boolean|ambient}}: Whether or not this is an effect provided by a beacon and therefore should be less intrusive on the screen. Optional, defaults to false
.
:******* {{nbt|boolean|show_particles}}: Whether or not this effect produces particles. Optional, defaults to true
.
:******* {{nbt|boolean|show_icon}}: Whether or not an icon should be shown for this effect. Optional, defaults to true
.
:***** {{nbt|float|probability}}: The probability the above effects are applied once consumed. Defaults to 1.0.
:**** ''If '''type''' is remove_effects
'':
:***** {{nbt|list}}{{nbt|string|effects}}: A set of effects removed once consumed, as either a single ID or list of IDs.
:**** ''If '''type''' is clear_all_effects
'': Clears all effects of the consumer.
:**** ''If '''type''' is teleport_randomly
'':
:***** {{nbt|float|diameter}}: The diameter that the consumer is teleported within. Defaults to 16.0
:**** ''If '''type''' is play_sound
'':
:***** {{nbt|string}}{{nbt|compound|sound}}: The sound event played once when consumed.
:****** {{nbt inherit/sound event|sounds}}
:* e.g. consumable={consume_seconds:3.0, animation:'eat', sound:'entity.generic.eat', has_consume_particles:true, on_consume_effects:[{type:'minecraft:clear_all_effects'}]}
minecraft:damage_resistant
:* {{nbt|compound|minecraft:damage_resistant}}: If specified, this item is invulnerable to the specified damage types when in [[Item (entity)|entity form]] or equipped.
:** {{nbt|string|types}}: A [[Tag#Damage type tags|damage type tag]] prefixed with #
.
:* e.g. damage_resistant={types:"#minecraft:is_fire"}
minecraft:death_protection
:* {{nbt|compound|minecraft:death_protection}}: If present, this item protects the holder from dying by restoring a single [[health]] point.
:** {{nbt|list|death_effects}}: An optional list of effects that are applied when the item protects the holder.
:*** {{nbt|compound}}: A single revive effect.
:**** {{nbt|string|type}}: The kind of revive effect. Must be one of {{cd|apply_effects|remove_effects|clear_all_effects|teleport_randomly|play_sound|d=or}}.
:**** ''If '''type''' is apply_effects
'':
:***** {{nbt|list|effects}}: A list of [[effect]] instances applied once revived.
:****** {{nbt|compound}}: A single effect.
:******* {{nbt|string|id}}: The ID of the effect.
:******* {{nbt|byte|amplifier}}: The amplifier of the effect, with level I having value 0. Optional, defaults to 0.
:******* {{nbt|int|duration}}: The duration of the effect in [[tick]]s. Value -1 is treated as infinity. Values 0 or less than -2 are treated as 1. Optional, defaults to 1 tick.
:******* {{nbt|boolean|ambient}}: Whether or not this is an effect provided by a beacon and therefore should be less intrusive on the screen. Optional, defaults to false
.
:******* {{nbt|boolean|show_particles}}: Whether or not this effect produces particles. Optional, defaults to true
.
:******* {{nbt|boolean|show_icon}}: Whether or not an icon should be shown for this effect. Optional, defaults to true
.
:***** {{nbt|float|probability}}: The probability the above effects are applied once revived. Defaults to 1.0.
:**** ''If '''type''' is remove_effects
'':
:***** {{nbt|list}}{{nbt|string|effects}}: A set of effects removed once revived, as either a single ID or list of IDs.
:**** ''If '''type''' is clear_all_effects
'': Clears all effects of the holder.
:**** ''If '''type''' is teleport_randomly
'':
:***** {{nbt|float|diameter}}: The diameter that the holder is teleported within. Defaults to 16.0.
:**** ''If '''type''' is play_sound
'':
:***** {{nbt|string}}{{nbt|compound|sound}}: The sound event played once when revived.
:****** {{nbt inherit/sound event|sounds}}
minecraft:enchantable
:* {{nbt|compound|minecraft:enchantable}}: If present, and applicable enchantments are available, items with the component can be enchanted in an enchanting table.
:** {{nbt|int|value}}: Positive integer, a higher value allows enchantments with a higher cost to be picked.
:* e.g. enchantable={value:15}
minecraft:equippable
:* {{nbt|compound|minecraft:equippable}}: If present, this item can be equipped in the specified slot.
:** {{nbt|string|slot}}: The slot to put the item on. Can be one of head
, chest
, legs
, feet
, body
, mainhand
, or offhand
.
:** {{nbt|string}}{{nbt|compound|equip_sound}}: Sound event to play when the item is equipped. Defaults to item.armor.equip_generic
.
:*** {{nbt inherit/sound event|sounds}}
:** {{nbt|string|model}}: The [[resource location]] of the equipment model to use when equipped. If not specified, falls back to rendering as the item itself when in the head, offhand or mainhand slot (or no rendering if not applicable). The directory it refers to is assets//models/equipment/.json
:** {{nbt|string}}{{nbt|list|allowed_entities}}: Entity ID, entity tag, or list of entity IDs to limit which entities can equip this item. Defaults to all entities.
:** {{nbt|boolean|dispensable}}: Whether the item can be dispensed by using a [[dispenser]].[If the item type has special dispenser behavior, this has no effect.] Defaults to true
.
:** {{nbt|boolean|swappable}}: Whether the item can be equipped into the relevant slot by {{control|using}} the item. Defaults to true
.
:** {{nbt|boolean|damage_on_hurt}}: Whether this item is damaged when the wearing entity is damaged. Defaults to true
.
:** {{nbt|string|camera_overlay}}: The [[resource location]] of the overlay texture to use when equipped. The directory this refers to is assets//textures/.
:* e.g. equippable={slot:'chest',equip_sound:'item.armor.equip_chain',camera_overlay:"minecraft:misc/pumpkinblur"}
.
minecraft:glider
:* {{nbt|compound|minecraft:glider}}: If present, this item allows players to glide (as with [[elytra]]) when equipped.
:*e.g. glider={}
.
minecraft:item_model
:* {{nbt|string|minecraft:item_model}}: The [[resource location]] that references model /assets//models/item/
:* e.g. item_model="minecraft:diamond_sword"
minecraft:repairable
:* {{nbt|compound|minecraft:repairable}}: Items with this component can be repaired, if damageable, in an anvil using the specified ingredient.
:** {{nbt|string}}{{nbt|list|items}}: The items that can be used to repair this item. Can be an item ID or an item tag with a #
, or a list of item IDs.
:* e.g. repairable={items:'stick'}
minecraft:tooltip_style
:* {{nbt|string|minecraft:tooltip_style}}: The [[resource location]] of the custom sprites for the tooltip background and frame that references textures /assets//textures/gui/sprites/tooltip/_background and /assets//textures/gui/sprites/tooltip/_frame.
:*e.g. tooltip_style='minecraft:special_sword'
.
minecraft:use_cooldown
:* {{nbt|compound|minecraft:use_cooldown}}: If present, this item applies a cooldown to all items of the same type when it has been used.
:** {{nbt|float|seconds}}: The duration of the cooldown in seconds.
:** {{nbt|string|cooldown_group}}: The unique [[resource location]] to identify this cooldown group. If present, the item is included in a cooldown group and no longer shares cooldowns with its base item type, but instead with any other items that are part of the same cooldown group. Optional.
:*e.g. use_cooldown={seconds:1.5, cooldown_group:"minecraft:custom_weapon"}
minecraft:use_remainder
:* {{nbt|compound|minecraft:use_remainder}}: If present, replaces the item with a remainder item if its stack count has decreased after use.
:** {{nbt inherit/itemnoslot}}
:* e.g. use_remainder={id:'minecraft:stick', count:1}
; [[Attribute]]s
* Added tempt_range
attribute that can be used to change the range, in blocks, at which temptable mobs can be tempted.
; [[Game rule]]s
* Added the disablePlayerMovementCheck
game rule.
** Controls the player movement speed restriction.
** This behaves the same as the disableElytraMovementCheck
rule, but applies irrespective of flying with elytra.
** Default to false
.
; [[Particles (Java Edition)|Particles]]
* Added particles block_crumble
and trail
.
* block_crumble
has the following options:
** block_state
: The [[block states]] of the block.
* trail
has the following options:
** color
: Color of the trail.
** target
: Where the trail points at.
==== [[Data pack]]s ====
; [[Goat horn instrument definition|Goat horn instruments]]
* Are now data-driven.
* They are now defined in a data pack registry folder called instrument
.
** Like other registries, changing this content in data packs is considered experimental and requires a full world re-load to take effect.
** Fields:
*** sound_event
: The sound event the instrument plays.
*** range
: The maximum range (in blocks) at which the sound can be heard.
*** use_duration
: The amount of time (in seconds) the instrument is considered in use after triggering, which also serves as its cooldown.
*** description
: A text component used as the description of the instrument in item tooltips.
; [[Loot table]]s
* Chickens laying eggs is now controlled by a loot table found at gameplay/chicken_lay
.
* Armadillos randomly dropping scutes is now controlled by a loot table found at gameplay/armadillo_shed
.
* The loot given by villagers is now controlled by two additional loot tables:
** gameplay/hero_of_the_village/unemployed_gift
- used if the villager is unemployed.
** gameplay/hero_of_the_village/baby_gift
- used if the villager is a baby.
; [[Painting variant definition|Painting variants]]
* Added new optional fields author
and title
, holding text components to be displayed in the creative menu tooltip.
** This replaces previous mechanism where those values were derived from variant name.
* Author tooltip has been removed for earth
, wind
, fire
, water
and wither
variants.
; [[Predicates]]
* Added a new field in the player sub-predicate, input
, that can be used to detect which movement keys the player is pressing.
** If specified the predicate matches with the corresponding keybind that the player is pressing; it supports detecting the following input:
*** forward
: boolean (optional).
*** backward
: boolean (optional).
*** left
: boolean (optional).
*** right
: boolean (optional).
*** jump
: boolean (optional).
*** sneak
: boolean (optional).
*** sprint
: boolean (optional).
* Added minecraft:salmon
entity sub-predicate.
** Fields:
*** variant
: one of small, medium, large.
; [[Recipe]]s
* Added the crafting_transmute
recipe type.
** When matched, output copies the input item stack, changing the item type but preserving all stack components.
** This completely replaces crafting_special_shulkerboxcoloring
.
** Used for shulker boxes and bundles.
** Fields:
*** category
- crafting book category, one of building, redstone, equipment, misc
*** group
- optional string
*** input
- ingredient for item to copy
*** material
- additional ingredient to use
*** result
- item type to use for output
; [[Tag]]s
* Added the bats_spawnable_on
block tag.
** Controls the blocks that bats can spawn on.
* Added the following item tags:
** brewing_fuel
: Controls what items that can be used as fuel in a brewing stand.
** bundles
: Includes all bundle items.
** duplicates_allays
: Controls what items can be used to duplicate allays when dancing.
** furnace_minecart_fuel
: Items that can be used to refuel a furnace minecart.
** gaze_disguise_equipment
: Items that can be equipped to disguise the player looking for other mobs.
** map_invisibility_equipment
: Items that can be equipped to hide the player marker on other players' maps.
** panda_eats_from_ground
: Controls what items a panda picks up from the ground and eat.
** piglin_safe_armor
: Items that, when worn by a player, cause [[piglin]]s to not get angry.
** shulker_boxes
: Includes all shulker boxes.
** villager_picks_up
: Items that a villager tries to pick up from the ground.
** Added new tags to control which items can be used to craft and repair various tool sets:
*** wooden_tool_materials
*** iron_tool_materials
*** gold_tool_materials
*** diamond_tool_materials
*** netherite_tool_materials
** Added new tags to control which items can be used to repair various armor sets:
*** repairs_leather_armor
*** repairs_iron_armor
*** repairs_chain_armor
*** repairs_gold_armor
*** repairs_diamond_armor
*** repairs_netherite_armor
*** repairs_turtle_helmet
*** repairs_wolf_armor
* Added the mace_smash
damage tag.
* Added the boat
entity type tag.
==== [[Resource pack]]s ====
; Core [[shader]]s
* New lightmap
shader that is responsible for rendering the lightmap texture.
; High Contrast resource pack
* Added textures for the following:
** Frame and background textures for tooltips.
** Slot background and highlight textures for the bundle tooltip (however, it's an empty transparent texture, and has no [[mcmeta]]
file next to it).
=== Removals ===
==== Commands ====
; [[Data component format|Data components]]
* Removed the minecraft:fire_resistant
data component in favor of the new minecraft:damage_resistant
data component.
==== [[Data pack]]s ====
; [[Feature]]
* Removed unused seagrass_simple
feature.
; [[Predicate]]s
* Removed the minecraft:boat
entity sub-predicate, since boats no longer have variants.
==== [[Resource pack]]s ====
; Core [[shader]]s
* The rendertype_entity_glint_direct
shader has been removed and replaced by rendertype_entity_glint
.
* The rendertype_entity_translucent_cull
shader has been removed and replaced by rendertype_item_entity_translucent_cull
.
==== Servers ====
* Temporary option for ignoring connection errors on client side (strictErrorHandling
) has been removed.
=== Breaking changes ===
==== Block entities ====
; Container locks
* The Lock
field of containers has been renamed to lock
and is now an [[Argument types#minecraft:item_predicate|item predicate]].
** Any items matching the predicate can open the container.
==== Entities ====
; Mobs
* When a [[mob]] converts from one type to another (ex: [[piglin]] to [[zombified piglin]]), some of the original mob's data gets transferred to the converted mob.
* Mobs that split into several mobs rather than converting from one type into another do not transfer the following properties:
** ArmorDropChances
** ArmorItems
** fall_distance
** FallFlying
** HandDropChances
** HandItems
** HurtByTimestamp
** HurtTime
** Leash
** Motion
** OnGround
** Passengers
** Position
** Rotation
** SleepingX
** SleepingY
** SleepingZ
* Some properties mentioned in {{bug|MC-88967}} are intentionally not transferred in any conversion:
** Attributes
** Gossips
** Health
** Loot tables
** VillagerData
** Xp
; [[Boat]]s and [[boats with chests]]
* The entity IDs for boats and boats with chests have been split into separate types, one per existing variant, instead of Type
field.
{|class="mw-collapsible wikitable"
! [[Java Edition data values|Old ID]]
! [[Java Edition data values|New ID]]
|-
| rowspan="9" | {{EntitySprite|boats}} boat
| {{EntitySprite|oak-boat}} oak_boat
|-
| {{EntitySprite|spruce-boat}} spruce_boat
|-
| {{EntitySprite|birch-boat}} birch_boat
|-
| {{EntitySprite|jungle-boat}} jungle_boat
|-
| {{EntitySprite|acacia-boat}} acacia_boat
|-
| {{EntitySprite|dark-oak-boat}} dark_oak_boat
|-
| {{EntitySprite|mangrove-boat}} mangrove_boat
|-
| {{EntitySprite|cherry-boat}} cherry_boat
|-
| {{EntitySprite|bamboo-raft}} bamboo_raft
|-
| rowspan="10" | {{EntitySprite|boats-with-chests}} chest_boat
|-
| {{EntitySprite|oak-boat-with-chest}} oak_chest_boat
|-
| {{EntitySprite|spruce-boat-with-chest}} spruce_chest_boat
|-
| {{EntitySprite|birch-boat-with-chest}} birch_chest_boat
|-
| {{EntitySprite|jungle-boat-with-chest}} jungle_chest_boat
|-
| {{EntitySprite|acacia-boat-with-chest}} acacia_chest_boat
|-
| {{EntitySprite|dark-oak-boat-with-chest}} dark_oak_chest_boat
|-
| {{EntitySprite|mangrove-boat-with-chest}} mangrove_chest_boat
|-
| {{EntitySprite|cherry-boat-with-chest}} cherry_chest_boat
|-
| {{EntitySprite|bamboo-raft-with-chest}} bamboo_chest_raft
|}
==== Commands ====
; {{cmd|ride}}
* No longer makes players ride [[leash knot]]s, [[lightning bolt]]s, and [[fishing bobber]]s.
; [[Data component format|Data components]]
* Re-arranged the priority of item stack components that modify the name of the item in the following way:
** The {{nbt|compound|title}} field in the minecraft:written_book_content
component (the highest priority)
** The minecraft:custom_name
component
** The new {{nbt|string|custom_name}} field in the minecraft:potion_contents
component
** The minecraft:item_name
component (the lowest priority)
; [[Attribute]]s
* Removed the generic.
, player.
, and zombie.
prefixes from attribute IDs.
; minecraft:food
* Is now a data container that only holds the food stats applied when the item is consumed.
** This component no longer gives it the ability to be consumed, and can be done instead with the new minecraft:consumable
item stack component.
** Removed the eat_seconds
, using_converts_to
and effects
fields.
; minecraft:item_name
* Is now always present on every item.
; minecraft:lock
{{info needed|Is there anything that was missed? Are all of these correct?}}
* Has been changed to the following format:
:* {{nbt|compound|minecraft:lock}}: An [[Argument types#minecraft:item_predicate|item predicate]] representing the "key" to open this container item.
:** {{nbt|string}}{{nbt|list|items}}: The items that can be used to open this container. Can be an item ID or an item tag with a #
, or a list of item IDs.
:** {{nbt|int}}{{nbt|compound|count}}: The range in the stack size of the item that can open this container. If specified as an integer, specifies the exact stack size of the item that can open this container.
:*** {{nbt|int|max}}: The maximum stack size of the item that can open this container.
:*** {{nbt|int|min}}: The minimum stack size of the item that can open this container.
:** {{nbt|compound|components}}: Items that exactly match these components can open this container.
:*** See [[Data component format]].
:** {{nbt|compound|predicates}}: An [[item sub-predicate]]. If an item matches these predicates, it can open this container.
; Particles
* The format of color fields in particle options is now more standardized:
** RGB fields can always be encoded either as a vector of floats (order: [R,G,B]
) or as a single packed integer (order: RGB
).
** ARGB fields can always be encoded either as a vector of floats (order: [R,G,B,A]
or as a single packed integer (order: ARGB
).
** Changed fields:
*** minecraft:trail.color
(previously accepted only integer).
*** minecraft:dust.color
(previously accepted only vector of floats).
*** minecraft:dust_color_transition.from_color
(previously accepted only vector of floats).
*** minecraft:dust_color_transition.to_color
(previously accepted only vector of floats).
; [[Raw JSON text format|Raw JSON text]]
* Invalid selector
patterns in chat components now cause commands to fail to parse, instead of resolving to an empty string.
==== [[Data pack]]s ====
* The [[pack format]] version is now 57
.
** [[Trial spawner]] configurations in fields normal_config
and ominous_config
are now defined in registry trial_spawner
.
*** This allows for easier customization of Trial Spawner configurations in data packs.
*** Inlined configuration data is still supported.
** Entities' rotation on the x axis is now clamped between -90 and 90.
** {{cmd|loot}} command now returns an error when trying to drop from a block without a loot table (like [[air]]).
** Removed the bundle
feature flag and built-in datapack.
; [[Advancement definition|Advancements]]
* The trigger minecraft:killed_by_crossbow
has been renamed to minecraft:killed_by_arrow
.
** Now trigger whenever an arrow kills an entity, not just when fired from a crossbow.
** Has a new optional item predicate field, fired_from_weapon
.
*** Can be used to match the item used to shoot the arrow.
; [[Enchantment definition|Enchantments]]
* Entity effect damage_item
has been renamed to change_item_damage
and now allows a negative value.
; [[Loot table]]s
* Special loot table empty has been removed and is no longer defined in vanilla data pack.
* Sheep now always uses a single loot table entities/sheep
.
* Wool drops are still defined in sub-tables in entities/sheep/{{ph|color}}
, but they are now just dispatched from the main table.
** Note: mutton drop is now controlled by the main table, while sub-tables are responsible only for wool drop.
; [[Recipes]]
* The crafting_special_suspiciousstew
recipe type has been removed.
* The format used for recipe ingredients has been simplified and aligned with other fields that accept item lists (like item predicates):
** For items: { "item": "{{ph|item id}}" }
now becomes "{{ph|item id}}"
.
** For tags: { "tag": "{{ph|tag id}}" }
now becomes "#{{ph|tag id}}"
.
** Lists of items are still allowed, but tags can no longer appear in such list.
** Remaining restrictions:
*** minecraft:air
can't appear anywhere in ingredient.
*** ingredient must have at least one tag or item.
** Fields template
, base
and addition
in smithing_transform
and smithing_trim
recipes are now optional instead of accepting empty list.
==== [[Resource pack]]s ====
* All equipment-related textures were moved to subfolders of the textures/entity/equipment directory.
** Player armor textures were moved to textures/entity/equipment/humanoid and textures/entity/equipment/humanoid_leggings
*** _layer_1 textures were renamed to , and moved into the humanoid subdirectory.
*** _layer_2 textures were renamed to , and moved into the humanoid_leggings subdirectory.
*** leather_layer_1_overlay and leather_layer_2_overlay textures were renamed to leather_overlay in their respective subdirectories.
** wolf_armor and wolf_armor_overlay textures have moved to textures/entity/equipment/wolf_body/ and were renamed to armadillo_scute and armadillo_scute_overlay respectively.
** turtle_layer_1 has been renamed to turtle_scute.
** Llama decor textures were moved to textures/entity/equipment/llama_body
** Horse armor textures were moved to textures/entity/equipment/horse_body
** The elytra texture has been moved to textures/entity/equipment/wings/elytra
* Armor trim textures have also been moved to match the folder structure of the regular equipment
textures.
** Textures in textures/trims/models/armor were divided between textures/trims/entity/humanoid and textures/trims/entity/humanoid_leggings
** For leggings textures, the _leggings suffix is dropped.
==== [[Shader]]s ====
; [[Shader]] program configurations
* Can now specify preprocessor define directives to be injected into the shader source, which can be referenced in the shader
** In the vanilla assets, this is used to combine multiple shaders into one program. For example, rendertype_cutout
, rendertype_solid
, rendertype_cutout_mipped
, rendertype_transluscent
and rendertype_tripwire
now use the terrain.fsh / .vsh
shaders. Define directives are used alongside an #ifdef ALPHA_CUTOUT
statement in the terrain.fsh
program to control if the shader program should discard transparent pixels.
** These can be specified in a new defines
object in the root of the shader json file
* {{nbt | compound}} The root tag
** {{nbt | compound | defines}} Preprocessor directives that can be used in shader programs.
*** {{nbt | compound | values}} Preprocessor directives with a value, can be used with #ifdef
, #ifndef
or directly as a variable in a program.
**** {{nbt | string | value}} A preprocessor directive. The key is the name of the directive. It can be anything, but must be in all capitals. Injected as #define
at the top of the shader source.
*** {{nbt | list | flags}} Flag directives, can be used with #ifdef
or #ifndef
in a program.
**** {{nbt | string | flag}} The name of a flag. This can be anything, but must be in all capitals. Injected as #define
at the top of the shader source.
* The blend
field has been removed, as it had no use
* The attributes
field has been removed, instead the Position
attribute is always bound
* The vertex
and fragment
shader references in program definitions are now namespaced ids
** A vertex shader :
resolves to assets//shaders/.vsh
** A fragment shader :
resolves to assets//shaders/.fsh
; Uniforms
* The ChunkOffset
uniform in terrain shaders has been renamed to ModelOffset
* The Time
uniform for post-processing shaders has been replaced with the GameTime
uniform from core shaders
* There are 9 new uniforms that are available in the new lightmap
shader.
** AmbientLightFactor
, SkyFactor
, BlockFactor
, UseBrightLightmap
, SkyLightColor
, NightVisionFactor
, DarknessScale
, DarkenWorldFactor
and BrightnessFactor
; Imports
* The #moj_import
directive now supports namespaced includes with absolute paths
** #moj_import <:>
resolves to assets//shaders/include/
* Relative imports are not namespaced and behave as before
; Post-processing effects
* Post-processing effect configurations have been moved from assets//shaders/post
to assets//post_effect
* Vertex and fragment shaders used by post-processing effects have been moved from assets//shaders/program
to assets//shaders/post
.
* The format of post-processing effect configurations have been updated.
* name
has been renamed to program
, and is now a namespaced id of a shader program configuration.
** :
resolves to assets//shaders/.json
.
* intarget
and auxtargets
have been merged into a single inputs
list, as specified by the input format below.
* outtarget
has been renamed to output
with the same format.
* targets
is now a map between target name and target definition, as opposed to a list
** Inline target names are replaced with an empty object
*** For example, ["swap"]
becomes {"swap": {}}
** Target definitions with a specific size remain the same, with the name
field moved into the map key
*** For example, [{"name": "potato", "width": 16, "height": 16}]
becomes {"potato": {"width": 16, "height": 16}}
; Inputs
* For both render targets and texture inputs, the following fields may be specified:
** {{nbt | string | sampler_name}} The prefix to set up both _Sampler
and _Size
uniforms.
** {{nbt | boolean | bilinear}} (default: false) If true, the input is sampled with a bilinear filter. For render targets, this replaces the removed use_linear_filter
field on the pass definition.
* For inputs from a render target, the following fields may be specified:
** {{nbt | string | target}} The render target id, a namespaced id. Either a custom target id defined in the same file, or minecraft:main
to reference the main screen target. This replaces the former id
field, which was a free-form string.
** {{nbt | boolean | use_depth_buffer}} (default: false) Set to true to sample from the depth texture, false to sample from the color texture. This replaces the former :depth
suffix applied to the target id.
* For inputs from a static texture, the following fields may be specified:
** {{nbt | string | location}} The location to a static texture file that can be sampled by the effect. As the id
field did before, this resolves to a texture at assets//textures/effect/.png
** {{nbt | int | width}} Width of the texture in pixels, must be a positive integer.
** {{nbt | int | width}} Height of the texture in pixels, must be a positive integer.
; External inputs
* The 'Fabulous' graphics transparency post-processing config no longer specifies the sorted framebuffers as custom targets.
** These are instead imported in the same way as the minecraft:main
target.
** translucent
, itemEntity
, particles
, weather
, clouds
are now minecraft:translucent
, minecraft:item_entity
, minecraft:particles
, minecraft:weather
, and minecraft:clouds
respectively.
* The entity outline processing shader similarly imports the minecraft:entity_outline
target
; Core shaders
* Some core shaders now share the same shader programs.
** The rendertype_clouds
shader no longer gets the cloud texture sampler.
** The rendertype_cutout
, rendertype_solid
, rendertype_cutout_mipped
, rendertype_transluscent
and rendertype_tripwire
shaders now use the terrain.fsh
and terrain.vsh
programs.
** The rendertype_armor_cutout_no_cull
, rendertype_breeze_wind
, rendertype_energy_swirl
, rendertype_entity_cutout_no_cull_z_offset
, rendertype_entity_cutout_no_cull
, rendertype_entity_cutout
, rendertype_entity_no_outline
, rendertype_entity_smooth_cutout
, rendertype_entity_solid
, rendertype_entity_translucent_emissive
, rendertype_entity_translucent
and rendertype_eyes
shaders now use the entity.fsh
and entity.vsh
programs.
* Most UI elements such as buttons, the inventory, menu backgrounds, the hotbar, etc are now rendered with position_tex_color
instead of position_tex
=== Changes ===
==== [[Commands]] ====
; [[Data component format|Data components]]
minecraft:potion_content
* Added {{nbt|string|custom_name}} field.
** Used to generate the name of the item. The game uses the translation key item.minecraft.- .effect.
.
** This name has a higher priority than the minecraft:item_name
component, but lower than the minecraft:custom_name
component.
==== [[Data pack]]s ====
; [[Enchantment definition|Enchantments]]
* Added support for enchantment trigger projectile_spawned
in the following items:
** Snowballs
** Tridents
** Small fireballs
** Thrown potions
** Ender pearls
** Fishing rod
** Firework rocket
** Wind charge
** Eggs
; [[Loot table]]s
* Sheep shearing is now controlled by loot table found as shearing/sheep
.
* Mooshroom shearing is now controlled by loot table found as shearing/mooshroom
.
* Snow golem shearing is now controlled by a loot table found as shearing/snow_golem
.
* The tool value (used for functions like match_tool
) is now available for some additional loot table types.
** archaeology
- used brush.
** vault
- inserted key (not available when displaying items).
** shearing
- shears.
; [[Predicate]]s
* New entity sub-predicate for testing sheep wool.
** Fields:
*** sheared
- optional boolean.
*** color
- optional wool dye color.
; [[Trim]]s
* All equippable items with an equipment model defined support rendering trims, based on the trim
component.
* Trim textures are loaded from the appropriate folder in the textures/trims/entity directory.
** For example, armor with wolf_body layers fetch trims from textures/trims/entity/wolf_body
==== [[Resource pack]]s ====
* The version is now 42
.
* Removals and renames of some deprecated translations is now automatically applied at startup.
** Packs that used those translations need to re-add them manually.
** The full list is available in /assets/minecraft/lang/deprecated.json
file inside the game's built [[w:JAR (file format)|JAR]] file.
* Added support for emissive layers for block models.
** Added an optional light_emission
field to block model elements.
** Integer value between 0 and 15, with 0 being the default value of no light emitted.
** If specified and non-zero, this behaves as the minimum light level that the element can receive.
* The texture map for the arrow and bee stinger models have been updated.
* The model and UV mapping of the Dragon Egg have been updated.
* The tooltip background and frame may now be customized by replacing sprites:
** tooltip/background
: The background of the tooltip
** tooltip/frame
: The frame appearing around the tooltip
** Items with a custom tooltip_style
component uses sprites with IDs:
*** :tooltip/_background
and :tooltip/_frame
* The nine_slice
GUI sprite scaling mode has a new optional boolean (true or false) property: stretch_inner
** If true
, the inner parts of the texture (i.e. not the corners) are stretched instead of tiled
** If not specified, defaults to false
as before.
* The appearance of a highlighted slot can now be customized by replacing sprites (this supports the use of animated textures):
** container/slot_highlight_front
: The sprite to render in front of highlighted slots.
** container/slot_highlight_back
: The sprite to render behind highlighted slots.
* Likewise, the appearance of a highlighted item within the bundle can be customized with the following sprites:
** container/bundle/slot_highlight_front.
** container/bundle/slot_highlight_back.
* The appearance of highlighted items has been updated to improve visibility of the item.
* The models and UV mapping related to the [[torch]] and blocks containing [[redstone torch]] have been updated.
** The "inverted" model now uses 6 separate faces creating the same effect as a model with a negative size.
** The UV layout for the inverted model was updated.
* Added texture and sound for tweaked air bubble UI.
** New texture added for empty air bubble.
** Sound added for when air bubble pops.
* Added container/bundle/slot_background
texture for bundle slot background.
; [[Model]]s
* All [[Item (entity)|item]] models can now use the broken
property in model overrides that was previously limited to just the [[elytra]].
** This has a value of 1 if the item has 1 durability left, or 0 otherwise.
* The appearance of equipment when equipped by players or certain mobs can now be customized by defining 'equipment models' in the [[resource pack]].
** [[Equipment]] model definitions are loaded from assets//models/equipment/.json
*** These can then be referenced by the equippable
component with a model id of namespace:path
** The model definition is an object with fields: wolf_body
, horse_body
, llama_body
, humanoid
, humanoid_leggings
, wings
*** All fields are optional, and can be used to specify a list of layers for the given model layer type
*** Each field contains list of layer objects:
**** texture
: namespaced texture location for this layer
***** namespace:path
resolves to assets//textures/entity/equipment//.png
**** dyeable
: object with fields (optional), specifying how this layer behaves when dyed (in the dyeable
item tag, and has dyed_color
component)
***** color_when_undyed
: RGB color integer (optional)
***** If specified, this layer is tinted by the color contained in the dyed_color
component
****** If the item is not able to be dyed or is not currently dyed, then it is tinted based on the color specified by color_when_undyed
****** If color_when_undyed
is not specified and the item is not dyed, the layer is hidden
**** use_player_texture
: boolean (default: false
), true if this layer texture should be overridden by a texture given by the player
***** Only used for wings
layers, which overrides with the player's custom elytra texture
==== Servers ====
; Network protocol
* Added minecraft:client_tick_end
server-bound packet during play phase, sent when the client finishes processing its current tick.
* Added ability for custom servers to override the order that players appear in the 'tab list'.
** This is controlled by a non-negative ordering index that is sorted highest to lowest.
* The client now shares the state of the 'Particles' limiter option to be used by custom servers.
; [[Hardcore]]
* Hardcore is now implemented properly in the server software.
** Prior to this, the hardcore
option in [[server.properties]] only controlled whether the player can respawn after death. It could be changed independently the world's hardcore mode (set on the world creation screen), which only controlled whether the client is informed hardcore mode is enabled on the server (which in turn decided on the hearts texture and death screen) and forced hard difficulty.
** The world's hardcore mode is now used for controlling whether the player can respawn, informing the client that the server is hardcore mode and forcing hard difficulty.
** The hardcore
option in server.properties is now only used for enabling the world's hardcore mode during world generation.
; [[server.properties]]
* Added the option pause-when-empty-seconds
.
** When set to a positive value, causes the server to pause when no player has been online for that many seconds.
** Defaults to 60
.
* Removed the options: spawn-animals
and spawn-npcs
.
* Added the option text-filtering-version
.
** Defaults to 0
.
** The purpose of this option was not announced.
; [[Realms]]
* Extended the text-filtering-config
in order to support an internal migration for Realms profanity filtering.
** Servers currently utilizing the text-filtering-config
can continue to do so without any changes.
==== General ====
; [[Telemetry]]
* Added some information about data pack structure (for example, data-driven registries) to generated reports.
== Fixes ==
{{fixes|fixedin=24w33a,24w34a,24w35a,24w36a,24w37a,24w38a,24w39a,24w40a,1.21.2 Pre-Release 1,1.21.2 Pre-Release 2,1.21.2 Pre-Release 3,1.21.2 Pre-Release 4, 1.21.2 Pre-Release 5, 1.21.2 Release Candidate 1
|;From released versions before 1.21
|379|{{cd|spawn-animals}} and {{cd|spawn-npcs{{=}}false}} removes all villagers and prevents summoning new mobs.
|1673|Several mobs can pop off paintings, item frames and leads and destroy minecarts, armor stands and anything in item form even when {{cd|mobGriefing}} is turned off.
|3266|The player's experience level overflows once it exceeds the integer limit.
|3697|TNT submerged in water can destroy item frames, paintings, armor stands, and other similar entities.
|4665|Anvil consuming two unbroken items of the same kind when renaming them.
|13246|On certain enchanted items, the anvil displays a "too expensive" message before attempting to repair, combine, or rename them
|14800|When zombie villagers, husks, drowned or zombified piglins are damaged, they spawn regular zombie reinforcements.
|16829|The horse armor model does not show the enchantment glint effect.
|38022|Order of rendering translucent block faces fails to update with camera position.
|39263|Cannot set horizontal motion for squid on land.
|49628|When in Spectator mode, the head overlay shows even if it is set not to show in the skin customization options.
|53602|Projectiles don't collide with the world border.
|54532|Sneaking while falling on Slime Blocks inflicts fall damage.
|58294|Squids and glow squids do not collide properly with solid blocks.
|59471|String can be duplicated using tripwire hooks.
|64265|Teleporting passengers does not dismount them.
|72494|In Statistics screen "m" is the same unit for both minutes and meters.
|73178|Villagers' "{{cd|CanPickUpLoot}}" tag cannot be set to zero.
|75494|Lead item drop is not affected by {{cd|doEntityDrops}} gamerule.
|86252|Shields can continue to block after entity changes dimensions due to client and server desync.
|88967|Most NBT tags are not kept when a mob converts to another mob.
|89883|Squid and glow squid collision error and rubberbanding.
|92875|Collisionless blocks ignore entities with high velocity.
|101376|Elytra appearance doesn't update in first-person mode; only in third-person.
|108323|Underlines in chat and {{cmd|/title}} command intersect each other, causing an ugly effect when fading.
|112257|Some NBT tags require the correct suffix.
|116618|Dropping items rapidly inside the "Survival Inventory" tab in creative mode deletes items.
|119369|Boats crash/break and can kill their passengers when falling certain distances.
|120417|The dragon egg block model is incorrect.
|121013|"{{cd|follow_range}}" attribute only targets mobs on (roughly) the same Y level.
|124331|Redstone lamps do not show on maps.
|125642|Bone meal is consumed when used on fern, grass and seagrass even if it cannot grow.
|127995|The player can use bone meal on sea pickles in situations where no sea pickles grows.
|129055|Issues breaking tripwire with shears.
|129298|Drowned don't chase the player if they are in 1 block deep water.
|129826|{{cd|["shade": false]}} is missing from potted cross models, resulting in most potted plants appearing darker than they should.
|130097|Tropical fish fin UV mapping is wrong.
|131215|Cannot teleport an entity that is in a boat.
|132804|Low follow range attribute also affects mobs' idle wandering range.
|133862|Optimize world screen backup button has inaccurate text.
|134626|Squids/glow squids bounce up and down in bubble columns, teleporting high up in the air.
|135898|Teams are not retained when a mob converts to another mob.
|135971|Can't use {{key|Ctrl}}+{{key|Q}} in crafting table.
|137053|The player cannot set the "{{cd|CanBreakDoors}}" NBT tag of drowneds to "{{cd|1b}}".
|144327|The bottom face texture of a blaze's rods is the same as their top face texture.
|144761|Animated texture interpolation ignores alpha channel during transition from/to transparent pixels.
|145656|Attribute "{{cd|follow_range}}" is not working for hostile mobs before they find the target.
|146805|Trader Llamas don't attack zombies, drowned, husks, zombie villager and illagers.
|148041|Two separate translation lines for the same thing, "Bells Rung" statistic.
|148982|Map color for wheat is incorrect.
|151828|Woodland mansion structure "{{cd|1x1_b3}}" has dark oak leaf block with persistent tag set to "false".
|154053|Trader llama spitting far distance when attacked.
|156579|Creative players can fly through portals when going quickly enough using elytra or Riptide trident.
|158389|Raid results in victory if it cannot find a valid spawn point.
|161913|Misalignment on edges/corners of clouds.
|162551|When shooting an arrow on top of a player in Creative mode, a closed shulker, or an invincible mob, the arrow glitches around on top of the entity.
|162713|Clouds are generated with offset to east and south.
|164258|Recipe book search field is not selected when clicking on the search icon.
|165182|Inventory/GUI textures no longer handle translucent pixels correctly.
|166880|Pufferfish spikes model seems to be broken.
|167242|Bed stays occupied after a lightning turns the villager sleeping in it into a witch.
|167906|Beehive items at full honey level do not appear with honey in inventory/as item/in hand.
|168329|Bees do not leave their hives in the Nether/End in some cases.
|168546|Bee nest/hive items have no lore.
|169660|{{cmd|teleport}} without {{cd|}} can change the entity's rotation
|170863|Dropping item stacks from the player's hotbar in any creative inventory tab other than "Survival Inventory" deletes items.
|174214|Fireworks for crossbow go through an entity if it is close to a player.
|174732|Semi-transparent status effect textures do not render correctly in the inventory or beacon UI.
|176937|Deleting items using the drop key while a tab is open in the Creative inventory plays hand animation, even if the item isn't dropped.
|177452|Unneeded faces inside repeater models.
|177453|Unneeded faces inside comparator models.
|179629|Faces in between cloud "blocks" can still render from outside of the cloud.
|180272|{{samp|en_us.json}} contains unused strings.
|182478|Mob armor generates starting with boots rather than helmet.
|182877|Piglins use one hand to hold a loaded crossbow.
|183518|High CPU usage on hypervisor host possibly due to excessive syscall usage by Minecraft server.
|183636|{{cd|follow_range}} attribute not working for piglins.
|185144|Item durability bar and all items render incorrectly in the villager trade UI.
|186362|Casting issue: Translucent block rendering breaks down at high distances.
|187920|Bees sometimes give up when returning home.
|188217|Bees circle above flowers that are covered by all sides.
|190163|Zoglin spawn eggs don't occasionally spawn baby zoglins on their own accord.
|190484|Sneaking players' name tags are partly invisible depending on what angle you're facing.
|191431|Player spectator head is invisible/does not render in the inventory after switching to "Fabulous!".
|195754|Illagers in raids continuously try and fail to pick up ominous banners if they can't reach them.
|196556|When projectiles (such as arrows and tridents) move too fast, they can't be teleported by portals and end gateways.
|196736|Hoglins break their leash when zombifying, despite zoglins being leashable.
|196964|Fall damage is reset when an entity converts to another entity.
|199238|Unneeded faces and missing cullface in dragon egg model.
|203748|Filled lava cauldrons are able to be put under water.
|204050|Subtitle for shooting amethyst blocks is "Block breaking".
|206074|Survival tab of Creative inventory desyncs if changed manually after an external change.
|206436|Stonecutter ignores anything over 64 when shift-clicking.
|207101|When a lingering potion lands on top of a player/mob, the area effect cloud spawns above the player/mob instead of inside it, rendering the lingering potion useless.
|209947|{{cd|minecraft:block/scaffolding_unstable}} has incorrect cullfaces.
|212213|Squids unable to be affected by Knockback enchantment.
|214625|Unlit redstone torches are unaffected by block shading / are evenly lit on all sides.
|214662|Redstone torches on repeaters and comparators are shaded differently from normal redstone torches.
|215332|Glow squids lack a baby variant.
|215752|Z-fighting with paintings and item frames in solid blocks.
|216016|Launching fireworks into a crystal sound block makes the breaking noise.
|219083|Hunger client/server desync when natural regeneration is off in peaceful mode.
|220360|Gifts given by baby villagers, nitwits and unemployed villagers when under the Hero of the Village effect are hardcoded.
|224035|Small dripleaf's model is inconsistent.
|224454|Entities don't recognize azaleas or flowering azaleas as obstacles when pathfinding.
|225060|Burning entity sound repeats every tick.
|225270|Goats can move armor stands even with {{cd|mobGriefing}} turned off.
|225417|Squids and glow squids can break free from leads when attacked.
|225422|Squids and glow squids do not move smoothly in the water compared to other aquatic mobs.
|226038|Scheduled functions are part of weather in profile results.
|226687|Sea Level is assumed to be Y{{=}}63 in numerous parts of Minecraft.
|227139|Sky fog stutters.
|228070|Name tags rendered in blocks have letters brighter depending on your angle.
|230317|Lead disappears when mooshroom cow is sheared.
|233603|HUD / Hotbar rendering can heavily impact frame rate performance.
|234318|Small dripleaf stems intersect its leaves.
|235953|Entity eyes render type doesn't blend non-black transparent pixels properly.
|239581|Bees do not become angry at the closest player when hive is exploded.
|240001|The white and red highlights from recipe book previews render above potion tooltips.
|240948|Filled powder snow cauldrons are able to be put under water.
|241873|Ravagers can move armor stands even with {{cd|mobGriefing}} turned off.
|243413|Some explorer maps are missing their icon.
|244720|"Erased cached data" button in Optimize World is not labeled in the right order when using {{key|tab}}.
|245510|Piglin brute's {{cd|generic.follow_range}} attribute functions oddly.
|247238|Sky fog is not cylindrical.
|249067|Ominous banners lose their rarity color when renamed using anvils.
|249414|The "Shader {{cd|rendertype_entity_translucent_emissive}} could not find sampler named {{cd|Sampler2}} in the specified shader program." warning is logged in the game output console when launching the game.
|249901|Frogs don't play the frog eating sound when given a slime ball.
|250924|Goat horns are missing sounds.
|256422|Some words within some strings use right single quotation marks instead of apostrophes.
|257309|Monster spawner tries to spawn wardens and zoglins when the difficulty is Peaceful.
|257318|Non-transparent toasts and some buttons that should be transparent in custom Resource Pack.
|258971|{{cd|ClientboundUpdateRecipesPacket}} breaks after multiple recipes use big tags.
|259376|{{cd|ServerboundMovePlayerPacket}}'s xRot can have invalid value.
|259651|updateSkyBrightness()
is not used client-side, causing multiple issues.
|259687|"Distance by Elytra" statistic is approximately doubled.
|259798|Block hitboxes cause semi-transparent blocks not to render behind them in lower than "Fabulous" graphics settings.
|259936|Equipping armor in hand via right-click equips entire stack.
|260013|Baby llama's head has incorrect scale method.
|260537|Tree growth can replace leaves that have the {{cd|persistent}} block state set to {{cd|true}}.
|260858|The word "ticks" within a "{{cmd|schedule}}" command feedback message is always pluralized.
|260859|Some words within a tick profiling feedback message are always pluralized.
|260860|Some words within some chat delay strings are always pluralized.
|260913|The word "blocks" within some "{{cmd|spreadplayers}}" command feedback messages is always pluralized.
|260914|"{{cmd|spreadplayers}}" strings for entities consist of inconsistent noun usage.
|261666|Armor given to villagers is lost when they convert to zombie villagers.
|261691|Bees get stuck while trying to pathfind to inaccessible flowers.
|262112|Wither skull's bounding box is wrongly positioned in the first tick, and cannot be selected with volume checks in commands.
|262175|The "{{cd|advancements.adventure.trim_with_any_armor_pattern.description}}" text contains incorrect English grammar.
|262498|Underground seagrass feature files exist despite never generating.
|262598|Tripwire textures in the tripwire hook "{{cd|attached: true}}" state have a wrong black rendering when the tripwire hook is attached to a non-transparent block.
|262652|Dragon egg's side texture is mapped strangely as of 1.8 (and the model is also unoptimized).
|263838|{{cd|doLimitedCrafting}} gamerule does not work on suspicious stew.
|263858|Text displays are rendered differently compared to name tags.
|264886|Geode features ignore the {{cd|invalid_blocks}} field.
|264986|Item count of fuel slot affects the way smelting recipe book moves ingredients.
|265399|Players' heads are incorrectly positioned while exiting the swimming/crawling state when other players are on screen.
|265554|Aaron Cherof listed as "Aaron Cherof\u00a0" in {{samp|credits.json}}.
|265693|Movement does not reset a player's last action time.
|265695|The feedback for setting the idle timeout to 0 minutes does not reflect the actual behavior.
|265703|{{cd|BrushableBlock}}'s codec misspells "completed" as "comleted".
|265990|Burning arrows can light candles and cakes with candles outside the world border.
|266441|Multiple trial chambers templates have missing or incorrect blocks.
|266480|Breeze can jump on top of honey blocks.
|266494|Jump Boost does not affect the breeze's jump.
|266949|Monster spawner tries to spawn breezes when the difficulty is Peaceful.
|267006|The "Distance Flown" statistic rapidly increases when standing in ender dragon's hitbox.
|267107|Spawners unsuccessfully try to summon hostile entities on Peaceful difficulty.
|267308|Profiling with {{key|F3+L}} while game is frozen spams output with errors.
|267401|All the player skin report's category descriptions use the chat message ones.
|267838|Projectile yaw rotations have incorrect interpolation, causing flickering.
|268045|The name of entity argument is plural in query literal node of the {{cmd|experience}} command.
|268220|Zoglins ignore monster spawning requirements when spawning naturally.
|268241|The bottom faces of vaults aren't culled when covered by blocks.
|268518|Attribute {{cd|generic.luck}} only affects players.
|268528|Cave vines can be pollinated infinitely (instead of limit of 10).
|268645|Scheduling a macro function silently fails.
|268929|{{samp|pack.png}} does not support translucent pixels.
|269083|Effect background texture in inventory renders translucent pixels as opaque.
|269152|{{cd|nine_slice}} texture scaling causes ridiculous levels of lag when used on small textures.
|269352|The breeze rod uses an incorrect model for holding.
|269375|Breeze's wind charge attack can move or break armor stands when {{cd|mobGriefing}} is disabled.
|269376|Breeze fires wind charge from center of hitbox.
|269428|Mace fall damage multiplier does not apply to mobs.
|269440|Text fields render translucent pixels as opaque.
|269441|Difficulty lock button renders translucent pixels as opaque.
|269445|Some empty slot icons render translucent pixels as opaque.
|269447|Hover text background box cannot be retextured.
|269528|Recipe book tabs are rendered over items held by the mouse cursor.
|269549|Items held in cursor are rendered behind recipe book UI elements.
|269622|Previous/Next Page buttons render translucent pixels as opaque.
|269627|Toasts render translucent pixels as opaque.
|269656|Feeding parrots poison while holding mace grants Over-Overkill challenge.
|269715|Food won't be eaten when the component {{cd|food.eat_seconds}} is less than 0.05.
|269738|Recipe book cannot quick-move oversized item stacks into applicable recipe slots.
|269751|Advancement frames render translucent pixels as opaque.
|269814|Can’t feed fish to wolves.
|269832|Gamemode switcher sprites render translucent pixels as opaque.
|269834|Statistics screen sprites render translucent pixels as opaque.
|269851|Breeze idle animations are different than Bedrock Edition.
|269873|Egg laying drop from chickens is hardcoded.
|269895|Breezes missing higher fidelity jump animation from Bedrock Edition.
|269936|Transferable list (resource pack, data pack) screen buttons render translucent pixels as opaque.
|269937|World list buttons render translucent pixels as opaque.
|269996|Custom names of interaction entities render at wrong location.
|270051|Recipe book button renders translucent pixels as opaque.
|270113|Trial spawner {{cd|ominous_config}} doesn't save setting values to default.
|270183|Lingering potions do not give effects when hit on the target's head.
|270254|Item slot highlight effect cannot be retextured.
|270299|New data pack component crafting doesn't work with suspicious stews.
|270314|"Use a Bundle" toast pops up repeatedly if player constantly left-clicks on a bundle while holding an item.
|270348|Some slime trial spawners in trial chambers won't spawn slimes without player intervention.
|270510|{{cd|youJustLostTheGame}} is not the first item in the mappings.
|270518|Scrollers in block UIs render translucent pixels as opaque.
|270519|"Error" textures in block/entity GUIs do not support translucent textures.
|270563|Furnace, blast furnace and smoker smelting progress and burn time indicators do not support translucent textures.
|270564|Brewing stand fuel, bubbles and progress sprites do not support translucent textures.
|270570|TPS chart uses OS locale specific number formatting.
|270571|{{cmd|tick}} command uses OS locale specific number formatting.
|270614|A trapdoor in {{cd|chamber_8}} is rotated the wrong way.
|270640|Anvil text field does not support translucent textures.
|270641|Crafter UI sprites do not support translucent pixels.
|270678|Tabs in recipe book and Creative inventory do not support translucent pixels.
|270680|Buttons in the beacon GUI do not support translucent pixels.
|270692|Textures for empty slots do not support translucent pixels.
|270696|Traps are generated behind walls in trial chambers.
|270697|Stonecutter recipe buttons render translucent pixels as opaque.
|270698|Loom recipe buttons render translucent pixels as opaque.
|270726|Advancement backgrounds render translucent pixels as opaque.
|270741|Realms main menu icons do not render translucent pixels correctly, but accessibility/language icons do.
|270742|Displays don't rotate properly between {{cd|179}} and {{cd|180}}.
|270764|Recipe book buttons and icons do not render translucent pixels correctly.
|270765|Bundle background does not handle translucent pixels correctly.
|270775|Ominous vaults sometimes fail to generate.
|271113|Bees occasionally freeze right before they enter the hives.
|271191|Poor saving performance due to large amount of item frames.
|271826|Armor default attribute modifier component can't be removed.
|271961|Parity Issue: No empty bubbles on the oxygen bar and popping sound.
|272020|Players' capes don't move with the yaw of their bodies when swinging.
|272414|Redundant calculation causes 2x lag during explosions.
|272506|Fast switching between servers causes disconnect.
|;From 1.21
|271486|The tree in the "{{cd|entrance_1}}" room of trial chambers is not removed.
|271628|Enchantment effect "{{cd|projectile_spawned}}" doesn't trigger for fishing rods and tridents.
|272207|Trial chambers no longer generate a bed in the secret room nearing the entrance.
|272327|Attribute effects not properly postfixed with slot name.
|272345|Some trial spawners don't have an extra breeze out at once when ominous.
|272603|Riding an entity into the end fountain skips the credits.
|272643|Items containing {{cd|using_converts_to}} cannot be stacked with the original items after restarting the world.
|272649|After a chest with the item component "{{cd|container_loot}}" is opened, it appears on the subsequent pick block.
|272766|When riding a minecart through a portal, the direction the player is facing after they go through the portal is not the same as when they entered.
|272802|Ender pearls deal no damage to their owners after switching dimensions and landing.
|272804|The mining fatigue animation plays in reverse.
|272805|Command blocks made from pick block still do not activate when placed near sources of power.
|272821|Wind charges incorrectly negate fall damage.
|272932|Auto-save text in the pause menu is rendered at the wrong position.
|272946|The block outline is nearly invisible for some blocks.
|273076|Breeze immediately forgets the player once line of sight is lost, even through transparent blocks.
|273239|Trial spawners rapidly change block state when switching gamerule "{{cd|doMobSpawning}}" from false to true.
|273263|Attributes are retained even if destroyed by "{{cd|damage_item}}".
|273281|"{{cd|projectile_spawned}}" enchantment component runs predicates and effects on projectiles before all of their data has been assigned.
|273288|Dropping a stack of items while in the Creative mode inventory deletes them.
|273300|Horse armor and wolf armor swap from off-hand to main hand upon pressing the Use Item/Place Block key.
|273311|Taking near {{cd|Float.MAX_VALUE}} damage from mob attack through commands on Hard causes NaN Absorption and Health.
|273328|Stars are smaller than supposed to.
|273329|Drinking milk buckets in Creative mode gives empty buckets.
|273361|Entities teleported to the player from a force loaded chunk are not rendered.
|273377|Blocks can be edited without having a debug stick in the player's hand.
|273400|Baby zombified piglin chicken jockeys immediately teleport.
|273427|Respawn anchor loses charges when returning from the End.
|273464|Incorrect partial tick during screen render.
|273489|Sneaking players' name tags are barely visible.
|273578|Interaction entities position passengers incorrectly.
|273601|The Channeling enchantment no longer functions on tridents without an owner.
|273629|Adding effects with an {{cd|effects_changed}} advancement causes a packet error ({{cd|ConcurrentModificationException}}) if it was triggered by milk.
|273662|Trial spawners cannot spawn silverfish at all/have unusually long delays between spawns.
|272670|Crash while saving entity NBT - {{cd|Cannot encode empty ItemStack}}.
|273672|When {{cd|spectatorsGenerateChunks}} is set to false, the player cannot stop spectating an entity without running {{cmd|spectate}}.
|273745|Soul Speed momentum resets when jumping on soul sand.
|273758|Ominous item spawner's animation breaks if the {{samp|level.dat}} "Time" value is over a certain number.
|273771|Passengers can glitch into walls when their mounts are killed.
|273811|Ender pearls don't teleport the player if they haven't been in the pearl's dimension after relog.
|273812|Intersection chests in trial chambers not generating correctly.
|273822|The words "forwards" and "backwards" within two movement key bind strings aren't spelled in American English.
|273828|Movement predicate is incorrect for stationary players until either mouse is moved or one second elapses.
|273848|Players can spawn underwater again in 1.21.
|273850|Shield enchantment glint is too bright to clearly see banner patterns.
|273914|Client game options that do not constitute sending a network packet send one anyway.
|273939|Capes clip through the player when taking knockback.
|273960|The NBT data stored in the world affects copying a decorated pot in Creative mode.
|274030|Item stacks with a count over 99 cause the player to get kicked from their world in Creative mode.
|274244|{{cd|minecraft:villager_plantable_seeds}} tag does not allow farmer villagers to pick up items.
|274371|Depleting a respawn anchor doesn't play any sound.
|274372|{{cd|using_item}} advancement trigger keeps being activated even after the item stops being used, after teleporting to another dimension.
|274400|Dispensers firing a wind charge play the crafter crafting world event, showing incorrect particles beneath the block.
|274519|Minecraft resaves all maps with every autosave.
|274657|Ominous banner's orange name is handled as a custom text color, rather than as a rarity.
|274708|Exiting the end portal first time removes player attribute modifiers.
|274852|"{{cd|item_name}}" component has priority over signed book title.
|274911|If the raid begins more than 112 blocks above the ground, all illagers are summoned and the player wins.
|274960|Registries allow duplicate entries.
|;From 1.21.1
|275792|Bottom faces of torches and soul torches are not culled against solid blocks.
|275919|issues with hit detection/registration in PvP since server switch to 1.21.
|275998|Menu blur turns glowing outlines black.
|276005|The text of sneaking players' name tags is rendered completely invisible or barely visible when the "Text Background Opacity". accessibility option is set to high values.
|276007|Players' name tags that are behind blocks or entities are rendered invisible or partly invisible depending on the angle you're facing.
|276134|Can't scroll in Creative inventory while hovered over the bundle.
|276433|{{cd|set_enchantments}} function removes enchantments component from books.
|276459|Item display rotation wrapping does not interpolate cleanly.
|276852|Shulker boxes can be colored in the same color they are made of.
|;Private bugs
|273555|Using a crossbow enchanted with Quick Charge 0 crashes the game.[https://web.archive.org/web/20240619090548/https://bugs.mojang.com/browse/MC-273555]
}}
== Video ==
{{yt|Fyf9gibpX1c}}
{{slicedlime|7UE7M1-XbPk|https://youtu.be/-n7DOa_Obek?si=igaAGWugbZvhvm6_}}
== See also ==
* [[Bedrock Edition 1.21.40]]
== Notes ==
{{notelist}}
== References ==
{{reflist}}
== Navigation ==
{{Navbox Java Edition versions|1.2x}}
[[de:1.21.2]]
[[es:Java Edition 1.21.2]]
[[fr:Édition Java 1.21.2]]
[[ja:Java Edition 1.21.2]]
[[pt:Edição Java 1.21.2]]
[[ru:1.21.2 (Java Edition)]]
[[uk:1.21.2 (Java Edition)]]
[[zh:Java版1.21.2]]