You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store text components inline as SNBT rather than as JSON wrapped in a string, for example, the item component minecraft:custom_name="{"text":"Renamed item"}" will become minecraft:custom_name={text:'Renamed item'}.
For commands like /tellraw and /title, use the new SNBT format.
Rename hover event field from hoverEvent to hover_event and update subfields:
For action show_text, rename field contents to text.
For action show_item, inline contents so that {action:'show_item',contents:{id:'minecraft:stick',count:2}} becomes {action:'show_item',id:'minecraft:stick',count:2}.
For action show_entity, inline contents and rename id to uuid and type to id.
Rename click event field from clickEvent to click_event and update subfields:
For action open_url, rename field value to url.
For actions run_command and suggest_command, rename field value to command, remove the / prefix no longer required.
For action change_page, rename field value to page and require an integer.
Update command syntax with new strict option
Modify fill, clone, setblock, and place template commands to accept a new optional strict flag.
Allow the replace option in the fill command to be followed by additional options rather than being terminal, but it can still only be used once.
Revise the crafting_transmute recipe type
Change the result field format to support an object with:
id: String
count: Int (default value: 1)
components: ComponentsRemovables
Enable applying a components patch to the transmuted item.
Add new item components for enhanced datapack configuration
Introduce the weapon component with Kotlin type:
data class Weapon(val damagePerAttack: Int = 1, val canDisableBlocking: Boolean = false) : Component()
Introduce the potion_duration_scale component with type:
data class PotionDurationScale(val value: Float) : Component()
for scaling potion effect durations on items with potion_contents.
Type is inlinable like max_damage.
Update the tool component by adding an optional field:
can_destroy_blocks_in_creative: Boolean? = null
Add data-driven Pig Variants support
Allow datapack authors to define pig variants in files under data/<namespace>/pig_variant/<id>.json.
Each pig variant must follow the Kotlin structure:
data class PigVariant(
val model: PigModel,
val texture: String,
val biome: InlinableList<BiomeArgument>
)
Add the PigModel enum with values normal and cold.
Enable matching pig variants via a new pig entity sub-predicate in datapack functions.
Other
No response
The text was updated successfully, but these errors were encountered:
Minecraft version
25w02a
Changes
Update command text component format
minecraft:custom_name="{"text":"Renamed item"}"
will becomeminecraft:custom_name={text:'Renamed item'}
./tellraw
and/title
, use the new SNBT format.hoverEvent
tohover_event
and update subfields:show_text
, rename fieldcontents
totext
.show_item
, inline contents so that{action:'show_item',contents:{id:'minecraft:stick',count:2}}
becomes{action:'show_item',id:'minecraft:stick',count:2}
.show_entity
, inline contents and renameid
touuid
andtype
toid
.clickEvent
toclick_event
and update subfields:open_url
, rename fieldvalue
tourl
.run_command
andsuggest_command
, rename fieldvalue
tocommand
, remove the/
prefix no longer required.change_page
, rename fieldvalue
topage
and require an integer.Update command syntax with new
strict
optionfill
,clone
,setblock
, andplace template
commands to accept a new optionalstrict
flag.replace
option in thefill
command to be followed by additional options rather than being terminal, but it can still only be used once.Revise the
crafting_transmute
recipe typeresult
field format to support an object with:id
: Stringcount
: Int (default value: 1)components
: ComponentsRemovablesAdd new item components for enhanced datapack configuration
weapon
component with Kotlin type:potion_duration_scale
component with type:potion_contents
.Type is inlinable like
max_damage
.tool
component by adding an optional field:can_destroy_blocks_in_creative
: Boolean? = nullAdd data-driven Pig Variants support
data/<namespace>/pig_variant/<id>.json
.normal
andcold
.pig
entity sub-predicate in datapack functions.Other
No response
The text was updated successfully, but these errors were encountered: