{"title":"1.21.6 Pre-Release 1","version":"1.21.6-pre1","type":"snapshot","image":{"title":"1.21.6-pre1 540x540.jpg","url":"/v2/images/1.21.6pre1540x540.jpg"},"body":"<p>Hey! This is the first pre-release of 1.21.6. From now on, you will mostly see us fixing bugs and the release schedule might include more than one pre-release per week. We are on the finish line for the second drop of the year!<h1>Changes</h1><ul><li>The Dried Ghast Block now emits a vibration frequency of 11 when its block state changes<li>Shearing Saddles, Horse Armor, and Carpets now emits a vibration frequency of 6, along with the Unequip frequency of 4<li>The Ambient Dried Ghast sounds are now adjusted under the Blocks sound option instead of the Ambient/Environment option<li>A player riding a Happy Ghast can no longer completely fly through a Happy Ghast ridden by another player</ul><h1>Technical Changes</h1><ul><li>The Data Pack version is now 79<li>The Resource Pack version is now 63</ul><h1>Data Pack Version 79</h1><ul><li>Dialogs can now configure if they pause the game and if they close after an action is taken<li>Every dialog can now have inputs and can submit information<ul><li>The definition of actions has been changed to accommodate that<li>The dedicated input dialog types have been removed, since they are redundant now<li>The order of elements is:<ul><li>Body<li>Inputs<li>Actions</ul></ul><li>The <code>minecraft:custom</code> click event has been expanded to carry full a NBT tag<li>A new keybind called \"Quick Actions\" has been added to allow accessing content-configured dialogs</ul><h2>Quick Actions Keybind</h2><ul><li>A new keybind has been addded that allows users to access a set of dialogs<li>Default key: <code>G</code><li>This feature is configured by <code>minecraft:quick_actions</code> dialog tag<ul><li>If this tag is empty, the keybind does nothing<li>If this tag has a single element, the keybind will open this dialog<li>If this tag has multiple elements, the keybind will lead to <code>minecraft:quick_actions</code> dialog which (by default) lets user select one of the tag elements<ul><li>If this dialog is removed, the keybind does nothing</ul></ul><li>This option is intended to be used in custom content and by servers, so this tag is empty by default</ul><h2>Common Dialog fields</h2><p>New fields:<ul><li><code>pause</code> - if the dialog screen should pause the game in single-player mode, default: <code>true</code><li><code>after_action</code> - an additional operation performed on the dialog after click or submit actions, default: <code>close</code><ul><li><code>close</code> - closes the dialog and returns to the previous non-dialog screen (if any)<li><code>none</code> - does nothing, i.e. keeps the current dialog screen open<ul><li>only available if <code>pause</code> is <code>false</code> to avoid locking the game in single-player mode</ul><li><code>wait_for_response</code> - replace the current dialog with a \"Waiting for Response\" screen<ul><li>this option is intended to prevent users from sending multiple actions on slow connections<ul><li>servers are expected to eventually replace this screen with a new dialog</ul><li>to avoid accidental locking, a \"Back\" button will become active after 5 seconds<ul><li>clicking this button will continue as if the dialog was closed (i.e. the game returns to the previous non-dialog screen, if any)</ul><li>The \"Waiting for Response\" screen will unpause the game in single-player mode to avoid locking the game</ul></ul></ul><h2>Dialog Types</h2><h3>Changed <code>minecraft:multi_action</code>, <code>minecraft:server_links</code>, <code>minecraft:dialog_list</code></h3><ul><li>Replaced field <code>on_cancel</code> with <code>exit_action</code>, holding an optional action<ul><li>If <code>exit_action</code> is present, a button for it will appear in footer, otherwise the footer is not present<li><code>exit_action</code> is also used for the Escape action</ul></ul><h3>Removed <code>minecraft:simple_input_form</code></h3><ul><li>Since any dialog can now have inputs, this dialog can be replaced by <code>minecraft:notice</code></ul><h3>Removed <code>minecraft:multi_action_input_form</code></h3><ul><li>Since any dialog can now have inputs, this dialog can be replaced by <code>minecraft:multi_action</code> (without any specified <code>exit_action</code>)</ul><h2>Input Control Types</h2><ul><li>To accomodate the new <code>minecraft:custom</code> click event, all inputs will now return either a string or an NBT tag, depending on context</ul><h3><code>minecraft:text</code></h3><ul><li>Output values:<ul><li>As template substitution: contents without modification<li>As tag: a string tag with contents without modification</ul></ul><h3><code>minecraft:boolean</code></h3><ul><li>Output values:<ul><li>As template substitution: <code>on_true</code> when checked, <code>on_false</code> when unchecked<li>As tag: <code>1b</code> when checked, <code>0b</code> when unchecked</ul></ul><h3><code>minecraft:number_range</code></h3><ul><li>Output values:<ul><li>As template substitution: text representation of current value<ul><li>Whole numbers will be sent without decimal point</ul><li>As tag: a float tag with current value</ul></ul><h3>Dialog Body Types</h3><p>Hover and click events on text components within bodies now work as expected<ul><li>Click events are handled by the dialog screen like any other action - that means it will also run the <code>after_action</code></ul><h2>Actions</h2><ul><li>The format of actions has been changed due to the merging of plain and input dialogs<li>After every action the dialog will always evaluate the contents of the <code>after_action</code> field (see above)</ul><p>Fields:<ul><li>Kept fields: <code>label</code>, <code>tooltip</code>, <code>width</code><li>New field: <code>action</code> (replaces <code>on_click</code> and <code>on_submit</code>) - an action to perform when button is clicked, optional object with fields:<ul><li><code>type</code> - value from <code>minecraft:dialog_action_type</code> registry<li><code>&#60type-specific></code> - see below, depends on <code>type</code></ul></ul><h4>Static Dialog Action Types</h4><p>All existing <code>click_event</code> actions (except for <code>open_file</code>) are included as dialog action types.<p>Uses same format as <code>click_event</code> on text components (but with <code>action</code> replaced with <code>type</code>) For example, when using <code>show_dialog</code>, entry for action button will look like:<pre><code>{\n    \"label\": \"some label\",\n    \"action\": {\n        \"type\": \"show_dialog\",\n        \"dialog\": \"some:id\"\n    }\n}\n</code></pre><h4><code>minecraft:dynamic/run_command</code> Action Type</h4><ul><li>This action will build a <code>run_command</code> event using a provided macro template<li>The macro will be expanded with string values from all inputs<ul><li>For example, if the macro template is <code>some_command $(some_input)</code>, the string value from the input with <code>key</code> of <code>some_input</code> will be used for the template expansion<li>Inputs not used in macro will be ignored, while macro parameters not matching any inputs will be replaced with an empty string</ul></ul><p>Fields:<ul><li><code>template</code> - a string with a macro template to be interpreted as a command</ul><h5><code>minecraft:dynamic/custom</code> Action Type</h5><ul><li>This method will build a <code>minecraft:custom</code> event using all input values<li>All input contents will be sent together inside a compound tag, with tag value of each input put under id from <code>key</code> field of that input<li>Additional static fields can be added to payload</ul><p>Fields:<ul><li><code>additions</code> - fields to be added to payload, optional compound tag<li><code>id</code> - namespaced ID</ul><h1>Resource Pack version 63</h1><ul><li>Added <code>oversized_in_gui</code> item model field<li>Introduced new player head special model type</ul><h2>Item Models</h2><ul><li>Item model definitions now have a boolean field <code>oversized_in_gui</code> which is <code>false</code> by default<ul><li>If <code>true</code>, the item model will be allowed to be bigger than its item slot<li>If <code>false</code>, the item model will be clipped to the item slot size when being rendered in gui<li>This ability of items being rendered outside their slots should not be considered officially supported, it was temporarily restored as an exception since many servers are relying on it<li>At some point in the future we hope to replace it with an officially supported way of achieving similar functionality</ul><li>Introduced new item model <code>minecraft:player_head</code> to handle player profile texture loading and rendering<li>Removed support for <code>minecraft:profile</code> from <code>minecraft:head</code></ul><h4><code>minecraft:player_head</code> special model type</h4><ul><li>Renders a player head<li>Uses profile from the <code>minecraft:profile</code> component to load a texture. Renders a default texture until the profile texture is fully loaded<li>No fields</ul><h4><code>minecraft:head</code> special model type</h4><ul><li>No longer supports profile from <code>minecraft:profile</code> component to load a player texture<li>Renders a default player texture when <code>kind</code> is <code>player</code> and no texture override is supplied<li>Fields remain unchanged</ul><h1>Fixed bugs in 1.21.6 Pre-Release 1</h1><ul><li><a href=https://bugs.mojang.com/browse/MC-94800 rel=\"noopener noreferrer\"target=_blank>MC-94800</a> URL shown in open URL dialog is not shortened<li><a href=https://bugs.mojang.com/browse/MC-140819 rel=\"noopener noreferrer\"target=_blank>MC-140819</a> Lectern model extends past inventory slot<li><a href=https://bugs.mojang.com/browse/MC-200092 rel=\"noopener noreferrer\"target=_blank>MC-200092</a> /setworldspawn seems to ignore the 'angle' parameter<li><a href=https://bugs.mojang.com/browse/MC-272825 rel=\"noopener noreferrer\"target=_blank>MC-272825</a> Custom filled maps from 23w31a and earlier do not upgrade properly in later versions<li><a href=https://bugs.mojang.com/browse/MC-280276 rel=\"noopener noreferrer\"target=_blank>MC-280276</a> Some item models can still clip into the block below when hovering on the ground<li><a href=https://bugs.mojang.com/browse/MC-296420 rel=\"noopener noreferrer\"target=_blank>MC-296420</a> '/datapack create' can create directories with illegal names<li><a href=https://bugs.mojang.com/browse/MC-296431 rel=\"noopener noreferrer\"target=_blank>MC-296431</a> Clipping item sprites to stay in slot makes it impossible to hide the slot for resource packs<li><a href=https://bugs.mojang.com/browse/MC-296458 rel=\"noopener noreferrer\"target=_blank>MC-296458</a> Player heads in the inventory don't show the right skin<li><a href=https://bugs.mojang.com/browse/MC-297275 rel=\"noopener noreferrer\"target=_blank>MC-297275</a> Players can desync from their mounts when jumping on a happy ghast<li><a href=https://bugs.mojang.com/browse/MC-297550 rel=\"noopener noreferrer\"target=_blank>MC-297550</a> Happy ghasts don’t remain stationary correctly when players dismount them while other players are still controlling them<li><a href=https://bugs.mojang.com/browse/MC-297807 rel=\"noopener noreferrer\"target=_blank>MC-297807</a> Clicking \"Save and Quit to Title\" in the dialog warning menu takes you to the server list even if the world is singleplayer or locally-hosted LAN<li><a href=https://bugs.mojang.com/browse/MC-297817 rel=\"noopener noreferrer\"target=_blank>MC-297817</a> Newly placed paintings sometimes appear at a different position<li><a href=https://bugs.mojang.com/browse/MC-297848 rel=\"noopener noreferrer\"target=_blank>MC-297848</a> The menu background is not shown for a short amount of time when leaving a world from a dialog<li><a href=https://bugs.mojang.com/browse/MC-297868 rel=\"noopener noreferrer\"target=_blank>MC-297868</a> Items in the armor.body and saddle slots are not kept when dying while the game rule keepInventory is set to true<li><a href=https://bugs.mojang.com/browse/MC-297893 rel=\"noopener noreferrer\"target=_blank>MC-297893</a> prevent_equipment_drop enchantment effect does not work with armor.body and saddle slots<li><a href=https://bugs.mojang.com/browse/MC-297894 rel=\"noopener noreferrer\"target=_blank>MC-297894</a> /clear command does not clear armor.body and saddle slots<li><a href=https://bugs.mojang.com/browse/MC-297897 rel=\"noopener noreferrer\"target=_blank>MC-297897</a> Players can fall through happy ghasts<li><a href=https://bugs.mojang.com/browse/MC-297899 rel=\"noopener noreferrer\"target=_blank>MC-297899</a> FPS drops due to clouds<li><a href=https://bugs.mojang.com/browse/MC-297906 rel=\"noopener noreferrer\"target=_blank>MC-297906</a> Running a command with a large output whilst on a dedicated server causes a kick and no logged output<li><a href=https://bugs.mojang.com/browse/MC-297915 rel=\"noopener noreferrer\"target=_blank>MC-297915</a> The name plates of entities with an empty custom name are now rendered incorrectly<li><a href=https://bugs.mojang.com/browse/MC-298071 rel=\"noopener noreferrer\"target=_blank>MC-298071</a> All naturally spawned zombie villagers are professionless since 25w16a<li><a href=https://bugs.mojang.com/browse/MC-298101 rel=\"noopener noreferrer\"target=_blank>MC-298101</a> Sniffers now show the digging animation instead of the walking animation<li><a href=https://bugs.mojang.com/browse/MC-298116 rel=\"noopener noreferrer\"target=_blank>MC-298116</a> The warning text in the confirm link screen is no longer visible<li><a href=https://bugs.mojang.com/browse/MC-298117 rel=\"noopener noreferrer\"target=_blank>MC-298117</a> All buttons at the bottom of the Realms screen are clickable when no realm is selected<li><a href=https://bugs.mojang.com/browse/MC-298139 rel=\"noopener noreferrer\"target=_blank>MC-298139</a> Items bigger than the size of a slot incorrectly bleed over onto other items<li><a href=https://bugs.mojang.com/browse/MC-298146 rel=\"noopener noreferrer\"target=_blank>MC-298146</a> GUI items disappear at high screen resolutions</ul>","id":"134df65320f091d3e1387b307e622c490b545efe2b162d489c88397baba605bf","date":"2025-05-28T09:34:04.000Z","needsTranslation":null}