Here's snapshot 24w12a with new advancements and several tweaks.
Happy Mining!
Trial Chambers now generate slightly more rarely and a bit more spaced out from each other
Minecraft: Trial(s) Edition
- Step foot in a Trial ChamberUnder Lock & Key
- Unlock a Vault using a Trial Key[Challenge - 40 exp] Blowback
- Kill a Breeze with a deflected Wind ChargeWho Needs Rockets?
- Use a Wind Charge to launch yourself upward at least 8 blocksCrafters Crafting Crafters
- Be near a Crafter when it crafts a CrafterLighten Up
- Scrape a Copper Bulb with an Axe to make it brighterOver-Overkill
- Deal 50 hearts of damage in a single hit using the Maceentity_effect
takes color argument when spawned from command/particle entity_effect <r> <g> <b> <a>
crafter_recipe_crafted
trigger which is triggered when a Crafter ejects a successfully crafted item into the world.<player>
an entity predicate matching the player who is nearby<recipe_id>
is the ID of the recipe being crafted<ingredients>
is a list of item predicates matching the ingredients that form the recipe being craftedfall_after_explosion
trigger which is triggered when a player begins falling after being knocked upwards by an explosion or wind burst<player>
an entity predicate matching the player who is falling<start_position>
a location predicate matching the position the player was at when they were hit by the explosion or burst<distance>
a distance predicate matching how far the player must be from start_position
to cause the trigger to activate<cause>
an entity predicate matching the entity which caused the explosion or burst to happenstorage
loot number provider to access values from command storagesensitive_to_smite
- for Entity Types that take extra damage from the Smite Enchantmentexecute if|unless items
and clear
commands{...}
) from item arguments (it's fully replaced by [custom_data={...}]
)custom_data
item sub-predicate has been changed to allow unquoted SNBTwolf
entity sub-predicate for matching wolf variantswolf
, cat
, frog
and painting
entity sub-predicates now accept tags and plain lists instead of just single elementswolf_variant
to better match other formatstexture
has been renamed to wild_texture
wild_texture
, tame_texture
and angry_texture
no longer require values to be prefixed with textures/
and suffixed with .png
Arguments in following commands that previously accepted namespaced ids of loot tables, modifiers and predicates can now also accept inline definitions:
loot
item
execute if predicate
Values have same structure as matching JSON files, though they are encoded as SNBT. Example: execute if predicate {condition:weather_check, raining:true}
storage
- namespaced id of command storagepath
- NBT path to fieldreplace
field has been removedmode
like set_fireworks
and set_written_book_pages
set_written_book_pages
function
pages
is now a JSON Object rather than a string containing JSONshow_in_tooltip
without changing other valuestoggles
- a map of supported item component type to boolean valuetrim
, dyed_color
, enchantments
, stored_enchantments
, unbreakable
, can_break
, can_place_on
, attribute_modifiers
{function:"toggle_tooltips","toggles":{"enchantments":false}}
will hide enchantments tooltipThe item predicate syntax (used in execute if|unless items
and clear
commands) has been significantly expanded.
<type> [comma-separated list of <test>]
<type>
can be one of:#
*
to match any item<test>
can have one of 3 forms:<component_id>=<value>
- match exact value of component (same as in previous format)<value>
is a representation of component value in SNBT format (same as in item give
argument)<component_id>
- check if component exists<predicate_id>~<value>
- check item sub-predicate<value>
is a representation of item sub-predicate in SNBT format (but otherwise same as one used for advancement and loot table JSON files)*[damage~{durability:{min:3}}]
will match any stack with at least 3 uses leftminecraft:count
can be used for matching the stack sizecount=<positive int>
will pass only when the stack size equals the given valuecount~<int range>
will pass when the stack size is in the specified range*[count~{max:2}]
will match any stack with count <= 2count
will always pass<test>
entry can be negated by prefixing with !
*[!count=1]
will match any stack that has count other than 1<test>
elements can be also joined with |
to check multiple alternatives*[!damage|damage=0]
will look for items without damage component or with 0
damage{}
) has been removed in favor of using custom_data
predicatesstick{a:2}
becomes stick[custom_data~{a:2}]
minecraft:custom_data
now accepts both SNBT data written as a string (existing format) and unflattened tags*[custom_data~{a:1}]
and *[custom_data~"{a:1}"]
are equivalentNew wolf
sub-predicate has been added to match wolf variants Fields:
variant
- wolf variant to match (single entry, list of entries or tag)variant
now accepts single entries, list of entries or tagsnutrition
: non-negative integer, number of food points to restore when eatensaturation_modifier
: float, amount of saturation to restore when eatenis_meat
: boolean (default: false
)true
, can be fed to Wolvescan_always_eat
: boolean (default: false
)true
, this food can be eaten even if not hungryeat_seconds
: float (default: 1.6
)effects
: list of effects to apply when eaten (default: []
)effect
: effect instance (same format as custom_effects
in minecraft:potion_contents
component)probability
: float between 0 and 1, chance for the effect to be applied (default: 1
)food={nutrition:4,saturation_modifier:0.1}
max_stack_size=4
64
)max_damage=123
fire_resistant={}
common
(default): white name, or aqua when enchanteduncommon
: yellow name, or aqua when enchantedrare
: aqua name, or light purple when enchantedepic
: light purple namerarity=rare
rules
: list of rule entriesblocks
: single block, list of blocks, or #
-prefixed block tag to matchspeed
(optional): float, overrides the mining speed if present and matchedcorrect_for_drops
(optional): boolean, overrides whether this tool is considered 'correct' if present and matchedtrue
will cause the block to mine at its most efficient speed, and drop items if the targeted block requires thatdefault_mining_speed
: float, mining speed to use if no rules match and override mining speed (default: 1.0
)damage_per_block
: non-negative int, amount of durability to remove each time a block is mined with this tooltool={rules:[{blocks:"#mineable/pickaxe",speed:4.0,correct_for_drops:true}]}
incorrect_for_wooden_tool
, incorrect_for_gold_tool
, incorrect_for_stone_tool
, incorrect_for_iron_tool
, incorrect_for_diamond_tool
, incorrect_for_netherite_tool
block tagsneeds_diamond_tool
, needs_iron_tool
, and needs_stone_tool
tags for each specific tool tiermeat
collection item tagpiglin_food
, fox_food
, cow_food
, goat_food
, sheep_food
, wolf_food
, cat_food
, horse_food
, horse_tempt_items
, camel_food
, armadillo_food
, bee_food
, chicken_food
, frog_food
, hoglin_food
, llama_food
, llama_tempt_items
, ocelot_food
, panda_food
, pig_food
, rabbit_food
, strider_food
, strider_tempt_items
, turtle_food
, parrot_food
, parrot_poisonous_food
item tags to control which items can be fed to or tempt the corresponding mobsaxolotl_tempt_items
has been renamed to axolotl_food
map_icons.png
to use an atlas loaded from the textures/map/decorations/
directorytrial_chambers
map decoration icon