{"title":"Minecraft Snapshot 23w18a","type":"snapshot","version":"23w18a","image":{"url":"/v2/images/7Hb1Zl4QdRXjIsz1rzpVJM23w18alauncher.jpeg","title":"23w18a-launcher"},"body":"<p>In this snapshot we're bringing you an additional advancement, updates to telemetry, as well as a fix for an 11 year old bug!</p>\n<p>Happy stepping!</p>\n<h1>New Features</h1>\n<h2>New advancements</h2>\n<h3>Adventure advancements</h3>\n<ul>\n<li><code>The Power of Books</code> : Read the power signal of a Chiseled Bookshelf using a Comparator</li>\n</ul>\n<h1>Changes</h1>\n<ul>\n<li>For ease of use, the Smithing Table no longer requires a Smithing Template to be in the template slot before placing an itemstack into the other slots</li>\n<li>Jukebox has been added to the Redstone Blocks creative tab</li>\n</ul>\n<h2>Step Sounds</h2>\n<ul>\n<li>Walking on a block will now always play a step sound<ul>\n<li>It was previously not the case if you were walking along the edge of a block with air or fluid besides it</li>\n</ul></li>\n<li>Walking on the ocean floor will produce a step sound for the block you are walking on at a lower volume and pitch</li>\n</ul>\n<h1>Technical Changes</h1>\n<ul>\n<li>The data pack version is now 15, accounting for sign data format, item display orientation and advancement changes</li>\n<li>Advancement trigger changes:<ul>\n<li>Added <code>recipe_crafted</code></li>\n<li>Changed format of <code>placed_block</code>, <code>item_used_on_block</code> and <code>allay_drop_item_on_block</code> triggers</li>\n</ul></li>\n<li>Loot table condition/predicate changes:<ul>\n<li>Renamed <code>alternative</code> to <code>any_of</code></li>\n<li>Added <code>all_of</code></li>\n</ul></li>\n<li>Updates to telemetry<ul>\n<li>A new property has been added to every event: <code>launcher_name</code></li>\n<li>The <code>world_loaded</code> event now has a new property: <code>realms_map_content</code></li>\n<li>Added two new opt-in telemetry events: <code>game_load_times</code> and <code>advancement_made</code></li>\n</ul></li>\n</ul>\n<h2>Advancements</h2>\n<h3>Changed triggers</h3>\n<ul>\n<li>All fields in <code>placed_block</code>, <code>item_used_on_block</code> and <code>allay_drop_item_on_block</code> have been collapsed to a single <code>location</code> field</li>\n<li>New <code>location</code> is similar to <code>player</code> field - it's a list of loot conditions/predicates</li>\n<li>All conditions in this list must match for a trigger to run</li>\n<li>Conditions are evaluated in a new loot context called <code>advancement_location</code>. It has access to:<ul>\n<li>Player as <code>this</code> entity</li>\n<li>Position of placed block</li>\n<li>Block state of placed/interacted block</li>\n<li>Held/used item as \"tool\"</li>\n</ul></li>\n<li>Migration guide:<ul>\n<li>Contents of old <code>location</code> field should be migrated to <code>location_check</code> condition</li>\n<li>Contents of <code>item</code> field should be migrated to <code>match_tool</code> condition</li>\n<li>Contents of <code>block</code> + <code>state</code> fields should be migrated to <code>block_state_property</code> condition</li>\n</ul></li>\n</ul>\n<p><strong>Example</strong> (from <code>make_a_sign_glow</code> advancement):</p>\n<p>Before:</p>\n<pre><code>{\n    \"conditions\": {\n        \"item\": {\n            \"items\": [\n                \"minecraft:glow_ink_sac\"\n            ]\n        },\n        \"location\": {\n            \"block\": {\n                \"tag\": \"minecraft:all_signs\"\n            }\n        }\n    },\n    \"trigger\": \"minecraft:item_used_on_block\"\n}\n</code></pre>\n<p>After:</p>\n<pre><code>{\n    \"conditions\": {\n        \"location\": [\n            {\n                \"condition\": \"minecraft:match_tool\",\n                \"predicate\": {\n                    \"items\": [\n                        \"minecraft:glow_ink_sac\"\n                    ]\n                }\n            },\n            {\n                \"condition\": \"minecraft:location_check\",\n                \"predicate\": {\n                    \"block\": {\n                        \"tag\": \"minecraft:all_signs\"\n                    }\n                }\n            }\n        ]\n    },\n    \"trigger\": \"minecraft:item_used_on_block\"\n}\n</code></pre>\n<h2>Loot tables</h2>\n<h3><code>any_of</code>/<code>all_of</code></h3>\n<ul>\n<li>Loot condition <code>alternative</code> has been renamed to <code>any_of</code></li>\n<li>Added new loot condition <code>all_of</code> that passes only when all sub-conditions pass. It has the same syntax as <code>any_of</code></li>\n</ul>\n<h2>Telemetry</h2>\n<p>This release includes a new global property sent with every event, a new property in the required WorldLoaded event, as well as two new opt-in events. The updated required events will help us troubleshoot launcher bugs more efficiently, and understand how Java Realms content is interacted with. The updated optional events will help inform game design decisions, and allow us to track and improve game load speeds.</p>\n<h3>All events</h3>\n<ul>\n<li>Added new property: <code>launcher_name</code><ul>\n<li>This is set based on the <code>minecraft.launcher.brand</code> system property. This will help us troubleshoot game launch related bugs more effectively, as we will be able to see whether the issue originated in the Minecraft launcher or a third-party program.</li>\n</ul></li>\n</ul>\n<h3>Updated required events</h3>\n<ul>\n<li><code>world_loaded</code><ul>\n<li>Added new property: <code>realms_map_content</code><ul>\n<li>When loading into a Realms Map Content world (Minigame), the <code>world_loaded</code> event will receive the name of that map. This is to help us understand how Java Realms users interact with Java Realms adventure or minimap content.</li>\n</ul></li>\n</ul></li>\n</ul>\n<h3>New optional events</h3>\n<ul>\n<li><code>advancement_made</code><ul>\n<li>This event is triggered when a player completes an advancement, and allows us to see the advancement ID and the time when the advancement was completed. This helps us as a studio understand player progress and limits, which informs our game design.</li>\n</ul></li>\n<li><code>game_load_times</code><ul>\n<li>An event that is triggered when the game client is loaded and includes the time it took for the client to load. This is so that we can work on improving and reducing the time it takes to load the game client.</li>\n</ul></li>\n</ul>\n<h1>Fixed bugs in Snapshot 23w18a</h1>\n<ul>\n<li><a href=\"https://bugs.mojang.com/browse/MC-1133\" target=\"_blank\" rel=\"noopener noreferrer\">MC-1133</a> Whether or not a player experiences some effect is calculated based on the block under the center of the player</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-48923\" target=\"_blank\" rel=\"noopener noreferrer\">MC-48923</a> Slime/magma cubes not affected by jump boost potion effect</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-257269\" target=\"_blank\" rel=\"noopener noreferrer\">MC-257269</a> Sculk sensor detects player walking between carpet and wool</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-261417\" target=\"_blank\" rel=\"noopener noreferrer\">MC-261417</a> The hitboxes of sniffers are not adjusted when they lay down</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-261952\" target=\"_blank\" rel=\"noopener noreferrer\">MC-261952</a> Clocks flicker rapidly when enchanted and in an unnatural dimension</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262003\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262003</a> Bundle tooltip does not show its interface</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262067\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262067</a> The type of sniffer digging particles that are produced is determined by the block that sniffers are located on instead of the block that sniffers are digging</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262069\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262069</a> Sniffers continue digging after their target block is destroyed</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262104\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262104</a> Rendering of FPS graph seems to be performing worse than before</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262123\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262123</a> Advancement titles of new advancements introduced in 23w17a are improperly capitalized</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262133\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262133</a> Strong lag spikes when moving above a cleared area with exposed void</li>\n<li><a href=\"https://bugs.mojang.com/browse/MC-262218\" target=\"_blank\" rel=\"noopener noreferrer\">MC-262218</a> Block light updates don't cross chunk borders properly in 23w17a</li>\n</ul>\n","id":"6u6gHQwNtLJR86tuAYU7hk"}