Port to 1.21.5#87
Merged
ErrorCraft merged 12 commits into0.6.0-preview.1+1.21.5from Apr 12, 2026
Merged
Conversation
ErrorCraft
added a commit
that referenced
this pull request
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Items
#minecraft:prevent_mining_in_creativeminecraft:tool.Item Behaviour Components
minecraft:saddle.minecraft:equipment.minecraft:smithing_templatetominecraft:smithing_template_provider.So if you had this:
{ "minecraft:smithing_template": { "template": "minecraft:bolt_pattern" } }You now have to use this:
{ "minecraft:smithing_template_provider": "minecraft:trim_pattern" }minecraft:trim_material_provider.Example:
{ "minecraft:trim_material_provider": "minecraft:diamond" }minecraft:attack_blocking.minecraft:blocks_attacksdata component.Example:
{ "minecraft:attack_blocking": { "block_delay_seconds": 0.25, "block_sound": "minecraft:item.shield.block", "bypassed_by": "#minecraft:bypasses_shield", "disabled_sound": "minecraft:item.shield.break", "item_damage": { "base": 1.0, "factor": 1.0, "threshold": 3.0 } } }minecraft:playable.Renamed
instrumentstodefault_instrumentand now only accepts one instrument.minecraft:text_holder.minecraft:weapon.damage_per_attackfield toitem_damage_per_attack.disable_blocking_for_secondsfield.minecraft:pointable.minecraft:projectile.componentsfield, which is a set of components to apply to the spawned entity.Actions
minecraft:modify_itemstackfield, which is an item stack target to use a specific item stack from the context.minecraft:open_book_from_item.minecraft:text_holderitem behaviour component.minecraft:prime_tnttntExplodesgame rule is disabled.minecraft:saddle_entity_at_position.minecraft:equip_entity_at_positionshould be used instead.minecraft:set_item_pointer_locationstackfield, which is an item stack target to use a specific item stack from the context.Item Modifiers
minecraft:split, which splits the passed item stack andcount, which is a number provider to split the item stack into one with the provided new count.Predicates
minecraft:villagerentity sub-predicate, which is a temporary solution that will be removed once a component predicate for a Villager's type has been added (alongside data-driven trades as those will be part of vanilla by then)variant, which is a Villager variant, list of Villager variants or hash-prefixed Villager variant tag and the Villager's variant must match in order to pass.Example:
{ "type": "minecraft:villager", "variant": [ "minecraft:swamp", "minecraft:snow", "minecraft:plains" ] }Item Stack Targets
Parameters:
"tool"minecraft:tool"result"Trades
merchant_predicatefield, which is a predicate that must pass in order for the trade to be considered of a merchant's trade set.Fixes
minecraft:charge_typeproperty now works correctly again on item assets.