Java Edition 23w18a

23w18a is the sixth snapshot for Java Edition 1.20, released on May 3, 2023.

Gameplay

 * Advancements
 * The Power of Books
 * Read the power signal of a Chiseled Bookshelf using a Comparator.

Blocks

 * Smithing Table
 * Smithing Table no longer requires a Smithing Template to be in the template slot before placing an itemstack into the other slots.

General

 * Inventory
 * Jukebox has been added to the Redstone Blocks creative tab.


 * Data packs
 * The data pack version is now, accounting for predicate/loot table and advancement changes.


 * Loot tables and Predicates
 * Condition has been renamed to.
 * Added new condition that passes only when all sub-conditions pass. It has the same syntax as.


 * Advancements
 * All fields in, , and advancement have been collapsed to a single location field.
 * New location is similar to player field - it's a list of loot conditions/predicates.
 * All conditions in this list must match for a trigger to run.
 * Conditions are evaluated in a new loot context call . It has access to:
 * Player as entity.
 * Position of the placed/interacted block.
 * Block state of the placed/interacted block.
 * Held/used item as "tool".
 * Migration guide:
 * Contents of old location field should be migrated to a condition.
 * Contents of item field should be migrated to a condition.
 * Contents of block and state fields should be migrated to a condition.


 * General
 * Walking on a block will now always play a step sound.
 * It was previously not the case if you were walking along the edge of a block with air or fluid beside it.
 * Walking on the ocean floor will produce a step sound for the block you are walking on but at a lower volume and pitch.

Telemetry

 * Added a new global property sent with every event, a new property in the required WorldLoaded event, as well as two new opt-in events.


 * All events
 * Added new property:.
 * This is set based on the minecraft.launcher.brand 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.


 * Updated required events
 * Added new property to event.
 * When loading into a Realms Map Content world (Minigame), the 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.


 * New optional events
 * Added new event.
 * 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.


 * Added new event.
 * 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.

Video
Video made by slicedlime: