
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 Chargeentity_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 craftedwolf_variant definitions#texture has been renamed to wild_texturewild_texture, tame_texture and angry_texture no longer require values to be prefixed with textures/ and suffixed with Arguments in following commands that previously accepted namespaced ids of loot tables, modifiers and predicates can now also accept inline definitions:
lootitemexecute 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 number provider#storage - namespaced id of command storagepath - NBT path to fieldset_lore function#replace field has been removedmode like set_fireworks and set_written_book_pagesset_written_book_pages function#pages is now a JSON Object rather than a string containing JSONtoggle_tooltips loot function#show_in_tooltip without changing other valuestoggles - a map of supported item component type to boolean valuetrim, dyed_color, enchantments, stored_enchantments, , , , The 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 itemminecraft: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 equivalentwolf#New wolf sub-predicate has been added to match wolf variants Fields:
variant - wolf variant to match (single entry, list of entries or tag)cat, frog, painting#variant now accepts single entries, list of entries or tagsminecraft:food#nutrition: 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 Wolves: boolean (default: )minecraft:max_stack_size#max_stack_size=464)minecraft:max_damage#max_damage=123minecraft:fire_resistant#fire_resistant={}minecraft:rarity#common (default): white name, or aqua when enchanteduncommon: yellow name, or aqua when enchantedrare: aqua name, or light purple when enchantedepic: light purple namerarity=rareminecraft:tool#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 matchedhide_tooltip#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 tagsmap_icons.png to use an atlas loaded from the textures/map/decorations/ directorytrial_chambers map decoration iconWho Needs Rockets?Crafters 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 Macefall_after_explosion<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 formats.pngunbreakablecan_breakcan_place_onattribute_modifiers{function:"toggle_tooltips","toggles":{"enchantments":false}} will hide enchantments tooltip<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:{ 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}]falsetrue, 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}truedefault_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}]}needs_diamond_toolneeds_iron_toolneeds_stone_toolmeat 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