{"title":"Minecraft 1.20.5 Pre-Release 1","version":"1.20.5-pre1","type":"snapshot","image":{"title":"1.20.5-pre1_540x540.jpg","url":"/v2/images/1.20.5pre1540x540.jpg"},"body":"<p>It is now time for the first Pre-release of Minecraft 1.20.5, featuring some tweaks to Trial Chambers and Ominous Trials, as well as new advancements, a big set of technical tweaks and changes, and lots of bug fixes.<p>From now on, you should mostly see bugs being fixed. In addition to that, pre-releases don't follow the regular snapshot cadence of releasing on Wednesdays, so keep an eye out for the next pre-release.<h1>Experimental Features</h1><h2>Trial Chambers</h2><ul><li>More consistently buried by terrain when found underground<li>Remade 'Chamber 6' with variations, and renamed it to 'Assembly'<li>Added a new trap dispenser style to chambers<li>Fixed various broken jigsaw connections in the corridors<li>Chamber Eruption:<ul><li>Stopped Tuff Bricks from spawning in the air<li>Added more lights to quadrants</ul></ul><h2>Ominous Trials</h2><ul><li>Mobs that can wear equipment will now often spawn with enchanted weapons and armor<ul><li>Armor enchantments include Protection IV, Projectile Protection IV and Fire Protection IV<li>Weapon enchantments include Sharpness I, Knockback I, Power I and Punch I</ul><li>Mobs that wear equipment no longer have a chance to drop their equipment on death<li>Players are now chosen 50% of the time when an Ominous Trial Spawner chooses which entity to drop projectiles on top of<ul><li>Projectiles now spawn more accurately above chosen entities</ul></ul><h2>Weaving</h2><ul><li>Now more consistently spawns 2-3 cobwebs on death<li>Players are now affected by the movement buff through Cobwebs<ul><li>Move through Cobweb with 50% of their normal speed instead of 25%</ul></ul><h2>Infested</h2><ul><li>Now has a 10% chance to spawn 1-2 Silverfish instead of 5%<li>Silverfish will now spawn at the center of the entity's bounding box and fling out in the direction the entity is facing</ul><h2>Oozing</h2><ul><li>Will only spawn slimes in a given 5x5x5 area up to the max entity cramming count</ul><h2>Advancements</h2><ul><li>Added <code>Revaulting</code> - Unlock an Ominous Vault with an Ominous Trial Key</ul><h1>New Features in 1.20.5-pre1</h1><h2>Advancements</h2><ul><li>Added the following advancements:<ul><li><code>Isn't it Scute?</code> - Get Armadillo Scutes from an Armadillo using a Brush<li><code>Snip it!</code> - Remove Wolf Armor from a Wolf using Shears<li><code>Good as New</code> - Repair a damaged Wolf Armor using Armadillo Scutes<li><code>The Whole Pack</code> - Tame one of each Wolf variant</ul></ul><h1>Changes in 1.20.5-pre1</h1><ul><li>Added support for Viossa language</ul><h1>Technical Changes</h1><ul><li>The Data Pack version is now 39</ul><h1>Data Pack Version 39</h1><ul><li>Added new item sub-predicates and loot functions<li>Added new terrain adaptation type for structures: <code>encapsulate</code><ul><li>Density will be added all around every piece of a structure<li>Ideal for structures that need to be entirely covered underground</ul><li>The page limit in Written Books has been removed<li>The combination of <code>max_stack_size</code> and <code>max_damage</code> components is no longer allowed in commands and data pack definitions<li>Added a new option <code>body</code> in entity <code>equipment</code> sub-predicate to match the item in the body armor slot of an entity<li>The <code>saturation_modifier</code> field on the <code>food</code> component has been replaced with <code>saturation</code><ul><li><code>saturation</code> is the exact value added to the player's saturation level<li>In respect to the former <code>saturation_modifier</code>, this is defined by <code>saturation = nutrition * saturation_modifier * 2</code></ul><li>Particle representation in commands and area effect clouds has been changed<li>Changed optional <code>equipment_loot_table</code> field in the <code>SpawnPotentials</code> of Monster Spawners and <code>spawn_potentials</code> of Trial Spawner configs<ul><li>Now named <code>equipment</code> instead of <code>equipment_loot_table</code><li>Format: object with fields<ul><li><code>loot_table</code> - A loot table used to generate the equipment<li><code>slot_drop_chances</code> - An optional map of equipment slot to specified drop chance<ul><li>Can also be a single value instead of a list to apply to all slots: e.g. <code>slot_drop_chances: 0.0f</code> will apply a chance of 0% to all slots</ul></ul><li>e.g. <code>equipment: {loot_table: \"minecraft:equipment/trial_chamber\", slot_drop_chances: {\"head\": 0.0f, \"chest\": 0.25f, \"legs\": 1.0f, \"feet\": 0.25f}}</code><li>If present, rolled items from the specified loot table will be equipped to the mob that spawns</ul><li>Removed Item tag <code>minecraft:tools</code> (overlapping with <code>minecraft:breaks_decorated_pots</code>)<li>Added Entity Type tag <code>minecraft:punchable_projectiles</code> for projectiles which should be able to be punched and deflected toward the direction the player is looking<li>Added Enchantment tag <code>minecraft:tooltip_order</code> controlling which order Enchantments are listed in tooltips</ul><h2>Modified loot functions</h2><h3><code>set_contents</code></h3><ul><li>Unused field <code>type</code> has been removed<li>Added new mandatory field <code>component</code>:<ul><li>Describes target component to be filled with items<li>Existing contents will be replaced<li>Allowed values: <code>container</code>, <code>bundle_contents</code>, <code>charged_projectiles</code><li><code>bundle_contents</code> and <code>charged_projectiles</code> will ignore empty stacks</ul></ul><h3><code>set_custom_data</code></h3><p>Field <code>tag</code> now accepts both SNBT data written as a string (existing format) and unflattened tags<h2>New Loot Functions</h2><h3><code>modify_contents</code></h3><ul><li>Apply modifier function to every item inside a component<li>If component does not exist, it will not be added<li>Fields:<ul><li><code>conditions</code>- list of conditions to filter this function<li><code>component</code> - target component<ul><li>Allowed values: <code>container</code>, <code>bundle_contents</code>, <code>charged_projectiles</code></ul><li><code>modifier</code> - function or list of functions to be applied to every item inside container</ul></ul><h3><code>set_item</code></h3><ul><li>Replaces item type of item stack without changing count and components<li>Fields:<ul><li><code>conditions</code> - list of conditions to filter this function<li><code>item</code> - new item type</ul></ul><h3><code>filtered</code></h3><ul><li>Applies sub-function only to items that match item predicate<li>Fields:<ul><li><code>conditions</code> - list of conditions to filter this function<li><code>item_filter</code> - item predicate used to match items<li><code>modifier</code> - functions to apply to matching items</ul></ul><h3><code>set_custom_model_data</code></h3><ul><li>Sets <code>custom_model_data</code> component<li>Fields:<ul><li><code>conditions</code> - list of conditions to filter this function<li><code>value</code> - integer number provider</ul></ul><h2>New Item Sub-predicates</h2><p>General rules of component predicates:<ul><li>Unless otherwise specified, a field in predicate with the same name as a field in component that matches (i.e. has the same name as predicate) will match that field value<li>Those fields will usually have the same type as in the components, but will be optional.<li>Exceptions:<ul><li>List fields will be replaced with collection matchers (see below)<li>Integer and float fields will be replaced with ranges<li>Registry ids will be replaced with a type that accepts id, list of ids or a tag</ul></ul><h3>Collection matcher</h3><p>Collection matcher is a shared part of predicate used for matching collections. Every instance of this matcher will have same fields with same functionality, with only difference being type of matched element Fields:<ul><li><code>size</code> - integer range to match against collection size<li><code>contains</code> - a list of element predicates<ul><li>All conditions must match for predicate to pass<li>Not all elements in tested container have to be matched<li>Elements can be in any order<li>Single element can match multiple predicates<li>Examples (when matching item stacks):<ul><li><code>{contents:[{item:diamond}]}</code> - will match when there is at least one diamond item<li><code>{contents:[{item:diamond}, {item:dirt}]}</code> - will match when there is at least one diamond item and at least one dirt item</ul></ul><li><code>count</code> - a list of matchers on element counts<ul><li>Entry fields:<ul><li><code>test</code> - element matcher<li><code>count</code> - optional integer range to check against number of elements passing <code>test</code></ul><li>Examples (when matching item stacks):<ul><li><code>{count:[{count:3,test:{items:diamond}}]}}</code> will match only when there are exactly 3 stacks of diamonds (no matter the stack size)</ul></ul></ul><h3><code>container</code></h3><ul><li>Matcher for <code>container</code> component (like shulker box)<li>Fields:<ul><li><code>items</code> - optional collection matcher<ul><li>Note: empty items are ignored. That means <code>container~{items:{size:3}}</code> will only pass if there are exactly 3 non-empty stacks in container</ul></ul></ul><h2><code>bundle_contents</code></h2><ul><li>Matcher for <code>bundle_contents</code> component<li>Fields:<ul><li><code>items</code> - optional collection matcher</ul></ul><h2><code>firework_explosion</code></h2><ul><li>Matcher for <code>firework_explosion</code> component<li>Fields<ul><li><code>shape</code> - optional matcher for shape, same values as <code>shape</code> field in <code>minecraft:firework_explosion</code> component<li><code>has_trail</code> - optional boolean<li><code>has_twinkle</code> - optional boolean</ul></ul><h2><code>fireworks</code></h2><ul><li>Matcher for <code>fireworks</code> component<li>Fields:<ul><li><code>explosions</code> - optional collection matcher for <code>firework_explosion</code> predicates<li><code>flight_duration</code> - optional integer range check for flight duration</ul><li>Example: <code>minecraft:fireworks~{explosions:{contains:[{shape:small_ball}]}}]</code> - matches if firework has at least one explosion with <code>small_ball</code> shape</ul><h2><code>writable_book_content</code></h2><ul><li>Matcher for <code>writable_book_content</code> component<li>Fields<ul><li><code>pages</code> - optional collection matcher for strings (matching only unfiltered contents of page)</ul></ul><h2><code>fireworks</code></h2><ul><li>Matcher for <code>written_book_content</code> component<li>Fields<ul><li><code>pages</code> - optional collection matcher for chat components (matching only unfiltered contents of page)<li><code>author</code> - optional string value<li><code>title</code> - optional string value (matching only value)<li><code>generation</code> - optional integer range check for generation<li><code>resolved</code> - optional boolean</ul></ul><h2><code>attribute_modifiers</code></h2><ul><li>Matcher for <code>attribute_modifiers</code> component<li>Fields:<ul><li><code>modifiers</code> - optional collection matcher for following entries with following fields:<ul><li><code>attribute</code> - optional id, list of ids or tag for attribute to be matched<li><code>id</code> - optional UUID<li><code>name</code> - optional string<li><code>amount</code> - optional double range check<li><code>operation</code> - optional operation type (same values as <code>operation</code> field from <code>attribute_modifiers</code> component)<li><code>slot</code> - optional applicable slot type (same values as <code>slot</code> field from <code>attribute_modifiers</code> component)</ul></ul></ul><h2><code>trim</code></h2><ul><li>Matcher for <code>trim</code> component<li>Fields:<ul><li><code>material</code> - optional id, list of ids or tag for material to be matched<li><code>pattern</code> - optional id, list of ids or tag for pattern to be matched</ul></ul><h2>Particle representation</h2><ul><li>Particle options in commands and in fields like <code>Particles</code> in Area Effect clouds now use the same representation as worldgen files (like existing biomes' ambient particle settings)<li>For example, command <code>/particle minecraft:dust 1.0 0.0 0.0 2.0 ...</code> becomes <code>/particle minecraft:dust{color:[1.0, 0.0, 0.0], scale:2.0} ...</code><li>The syntax for particles without extra options (like <code>minecraft:villager</code>) remains unchanged<li>Changes to block particles (<code>minecraft:block</code>, <code>minecraft:block_marker</code>, <code>minecraft:falling_dust</code>, <code>minecraft:dust_pillar</code>) options:<ul><li>Field <code>value</code> has been renamed to <code>block_state</code><li>Field <code>block_state</code> now also accepts plain block name to represent default block state<li>Example transformations:<ul><li><code>minecraft:block minecraft:redstone_lamp[lit=true]</code> -> <code>minecraft:block{block_state: {Name: \"minecraft:redstone_lamp\", Properties: {lit: \"true\"}}}</code><li><code>minecraft:block minecraft:diamond_block</code> -> <code>minecraft:block{block_state: \"minecraft:diamond_block\"}</code></ul></ul><li>Changes to <code>minecraft:item</code> options:<ul><li>Field <code>value</code> has been renamed to <code>item</code><li>Field <code>item</code> now also accepts plain item name to represent item stack with default components<li><code>count</code> field is now ignored<li>Example transformations:<ul><li><code>minecraft:item minecraft:dirt</code> -> <code>minecraft:item{item: {id: \"minecraft:dirt\"}}</code><li><code>minecraft:item minecraft:dirt</code> -> <code>minecraft:item{item: \"minecraft:dirt\"}</code></ul></ul><li>Changes to <code>dust_color_transition</code> options:<ul><li>Field <code>fromColor</code> has been renamed to <code>from_color</code><li>Field <code>toColor</code> has been renamed to <code>to_color</code><li>Example transformation: <code>dust_color_transition 1.0 0.0 0.0 0.5 0.0 1.0 0.5</code> -> <code>dust_color_transition{from_color: [1.0f, 0.0f, 0.0f], scale: 0.5f, to_color: [0.0f, 1.0f, 0.5f]}</code></ul><li>Changes to <code>entity_effect</code> options:<ul><li>Field <code>value</code> has been renamed to <code>color</code><li>Field <code>color</code> now also accepts list of floats representing RGBA color</ul></ul><h1>Fixed bugs in 1.20.5 Pre-Release 1</h1><ul><li><a href=https://bugs.mojang.com/browse/MC-165435 rel=\"noopener noreferrer\"target=_blank>MC-165435</a> Can't trigger flying mode in creative while standing in the middle of 2×2 magma block bubble column<li><a href=https://bugs.mojang.com/browse/MC-188497 rel=\"noopener noreferrer\"target=_blank>MC-188497</a> AngerTime and AngryAt cannot be set on summon<li><a href=https://bugs.mojang.com/browse/MC-207353 rel=\"noopener noreferrer\"target=_blank>MC-207353</a> Ghast fireballs and wind charges can't be redirected in melee if the attack does 0 damage<li><a href=https://bugs.mojang.com/browse/MC-263315 rel=\"noopener noreferrer\"target=_blank>MC-263315</a> Attack Target of hoglins/zoglins can't be detected by /execute on target<li><a href=https://bugs.mojang.com/browse/MC-264456 rel=\"noopener noreferrer\"target=_blank>MC-264456</a> Entity targeted by frogs and axolotls can't be detected by /execute on target<li><a href=https://bugs.mojang.com/browse/MC-265390 rel=\"noopener noreferrer\"target=_blank>MC-265390</a> Forceload Command provides wrong output<li><a href=https://bugs.mojang.com/browse/MC-267934 rel=\"noopener noreferrer\"target=_blank>MC-267934</a> Sending ClientboundTransferPacket followed by disconnect just kicks the player<li><a href=https://bugs.mojang.com/browse/MC-268000 rel=\"noopener noreferrer\"target=_blank>MC-268000</a> The client crashes when using /give to give players a skull<li><a href=https://bugs.mojang.com/browse/MC-268346 rel=\"noopener noreferrer\"target=_blank>MC-268346</a> Jump can be used with generic.jump_strength set to 0 resulting in a speed boost<li><a href=https://bugs.mojang.com/browse/MC-268947 rel=\"noopener noreferrer\"target=_blank>MC-268947</a> Flying cannot be initiated reliably when the minecraft:generic.gravity attribute is increased<li><a href=https://bugs.mojang.com/browse/MC-269191 rel=\"noopener noreferrer\"target=_blank>MC-269191</a> Old villagers can't trade<li><a href=https://bugs.mojang.com/browse/MC-269192 rel=\"noopener noreferrer\"target=_blank>MC-269192</a> Breeze is not affected by the 'execute on target' command<li><a href=https://bugs.mojang.com/browse/MC-269266 rel=\"noopener noreferrer\"target=_blank>MC-269266</a> Area effect cloud particles from creeper explosions are incorrectly tinted<li><a href=https://bugs.mojang.com/browse/MC-269320 rel=\"noopener noreferrer\"target=_blank>MC-269320</a> Books with more than 100 pages get cut off when upgraded<li><a href=https://bugs.mojang.com/browse/MC-269357 rel=\"noopener noreferrer\"target=_blank>MC-269357</a> Flow and guster banner pattern descriptions display as raw translation strings<li><a href=https://bugs.mojang.com/browse/MC-269366 rel=\"noopener noreferrer\"target=_blank>MC-269366</a> Mace doesn't break Decorated Pots unlike other tools<li><a href=https://bugs.mojang.com/browse/MC-269496 rel=\"noopener noreferrer\"target=_blank>MC-269496</a> You don't get any damage if you fight against the breeze in a minecart or in a boat<li><a href=https://bugs.mojang.com/browse/MC-269501 rel=\"noopener noreferrer\"target=_blank>MC-269501</a> The text above the hotbar has no background, even when the \"Text Background\" setting is \"Everywhere\" in spectator mode<li><a href=https://bugs.mojang.com/browse/MC-269508 rel=\"noopener noreferrer\"target=_blank>MC-269508</a> Player keeps vertical momentum when jumping when landing on the ground from sonic boom<li><a href=https://bugs.mojang.com/browse/MC-269609 rel=\"noopener noreferrer\"target=_blank>MC-269609</a> Wind charges can harm the ender dragon while it perches atop the end portal, unlike arrows and tridents.<li><a href=https://bugs.mojang.com/browse/MC-269610 rel=\"noopener noreferrer\"target=_blank>MC-269610</a> Wind charges have the capability to harm the wither when it has reached half health or less<li><a href=https://bugs.mojang.com/browse/MC-269680 rel=\"noopener noreferrer\"target=_blank>MC-269680</a> Game crashes when trying to save after modifying item stack to have a max_stack_size below its current stack size<li><a href=https://bugs.mojang.com/browse/MC-269707 rel=\"noopener noreferrer\"target=_blank>MC-269707</a> Brewing stand slots have artificial maximum stack size of 64<li><a href=https://bugs.mojang.com/browse/MC-269765 rel=\"noopener noreferrer\"target=_blank>MC-269765</a> Mace damage does not reset after a hit while still falling<li><a href=https://bugs.mojang.com/browse/MC-269933 rel=\"noopener noreferrer\"target=_blank>MC-269933</a> limit_count item modifier can create overstacked items<li><a href=https://bugs.mojang.com/browse/MC-269947 rel=\"noopener noreferrer\"target=_blank>MC-269947</a> Clicking spam with Mace causes very high damage<li><a href=https://bugs.mojang.com/browse/MC-269948 rel=\"noopener noreferrer\"target=_blank>MC-269948</a> The subtitle for the \"minecraft:event.mob_effect.raid_omen\" sound event displays as a raw translation string<li><a href=https://bugs.mojang.com/browse/MC-269949 rel=\"noopener noreferrer\"target=_blank>MC-269949</a> New \"Raid Omen\" effect texture is using Programmer Art Evoker as base<li><a href=https://bugs.mojang.com/browse/MC-269954 rel=\"noopener noreferrer\"target=_blank>MC-269954</a> Striking non-living entities with a mace enchanted with Wind Burst propels the player upward, even when they are flying<li><a href=https://bugs.mojang.com/browse/MC-269955 rel=\"noopener noreferrer\"target=_blank>MC-269955</a> When flying in creative mode, hitting ender dragons with a mace enchanted with Wind Burst pushes the player upward, unlike when attacking other mobs<li><a href=https://bugs.mojang.com/browse/MC-269959 rel=\"noopener noreferrer\"target=_blank>MC-269959</a> \"Not a list\" printed to console when loading into a world<li><a href=https://bugs.mojang.com/browse/MC-269961 rel=\"noopener noreferrer\"target=_blank>MC-269961</a> Non-player entities with the Weaving effect can't walk through Cobweb at normal speeds<li><a href=https://bugs.mojang.com/browse/MC-269963 rel=\"noopener noreferrer\"target=_blank>MC-269963</a> Bad Omen is not removed when experimental features are disabled<li><a href=https://bugs.mojang.com/browse/MC-269974 rel=\"noopener noreferrer\"target=_blank>MC-269974</a> Mobs with the weaving effect, when dying, are unable to replace replaceable blocks with cobwebs<li><a href=https://bugs.mojang.com/browse/MC-269976 rel=\"noopener noreferrer\"target=_blank>MC-269976</a> Wind Burst book available from villager trading<li><a href=https://bugs.mojang.com/browse/MC-269977 rel=\"noopener noreferrer\"target=_blank>MC-269977</a> Wind Burst enchantment is obtainable in Enchanting Table<li><a href=https://bugs.mojang.com/browse/MC-269980 rel=\"noopener noreferrer\"target=_blank>MC-269980</a> Wind Burst enchantment triggers from normal attacks rather than smash attacks<li><a href=https://bugs.mojang.com/browse/MC-269993 rel=\"noopener noreferrer\"target=_blank>MC-269993</a> Hitting wind charges using mace with Wind Burst creates very high upwards momentum<li><a href=https://bugs.mojang.com/browse/MC-269999 rel=\"noopener noreferrer\"target=_blank>MC-269999</a> Potions of Infestation, Oozing and Weaving can be obtained without experimental features enabled<li><a href=https://bugs.mojang.com/browse/MC-270001 rel=\"noopener noreferrer\"target=_blank>MC-270001</a> The particle 'minecraft:item minecraft:air' crashes the client<li><a href=https://bugs.mojang.com/browse/MC-270004 rel=\"noopener noreferrer\"target=_blank>MC-270004</a> Giving yourself an item with a Wind Burst enchantment level higher than 3, then hitting certain entities crashes the game<li><a href=https://bugs.mojang.com/browse/MC-270005 rel=\"noopener noreferrer\"target=_blank>MC-270005</a> Mace smash attack can be done multiple times from a single fall<li><a href=https://bugs.mojang.com/browse/MC-270009 rel=\"noopener noreferrer\"target=_blank>MC-270009</a> Entities with the infested effect can spawn silverfish without actually being hurt<li><a href=https://bugs.mojang.com/browse/MC-270048 rel=\"noopener noreferrer\"target=_blank>MC-270048</a> Vault textures are inconsistent<li><a href=https://bugs.mojang.com/browse/MC-270060 rel=\"noopener noreferrer\"target=_blank>MC-270060</a> The glowing parts of trial spawner textures are inconsistent<li><a href=https://bugs.mojang.com/browse/MC-270094 rel=\"noopener noreferrer\"target=_blank>MC-270094</a> Fletcher sells new tipped arrows without experimental features enabled<li><a href=https://bugs.mojang.com/browse/MC-270099 rel=\"noopener noreferrer\"target=_blank>MC-270099</a> Killing a mob with Weaving effect places cobwebs even if mobGriefing is disabled<li><a href=https://bugs.mojang.com/browse/MC-270119 rel=\"noopener noreferrer\"target=_blank>MC-270119</a> The contents slot for the /item command does not function with shot arrows, tridents, and fireballs<li><a href=https://bugs.mojang.com/browse/MC-270125 rel=\"noopener noreferrer\"target=_blank>MC-270125</a> Wind Burst can be obtained from chest and fishing loot<li><a href=https://bugs.mojang.com/browse/MC-270158 rel=\"noopener noreferrer\"target=_blank>MC-270158</a> Wind Burst activates while mace is on cooldown<li><a href=https://bugs.mojang.com/browse/MC-270161 rel=\"noopener noreferrer\"target=_blank>MC-270161</a> Wind burst enchantment is significantly stronger on vehicle entities<li><a href=https://bugs.mojang.com/browse/MC-270201 rel=\"noopener noreferrer\"target=_blank>MC-270201</a> Fishing rod line does not account for the scale attribute in third-person<li><a href=https://bugs.mojang.com/browse/MC-270236 rel=\"noopener noreferrer\"target=_blank>MC-270236</a> area_effect_cloud and lingering potions causing potion_contents.custom_color to be slightly transparent<li><a href=https://bugs.mojang.com/browse/MC-270412 rel=\"noopener noreferrer\"target=_blank>MC-270412</a> Wind charge item crash on non-experimental worlds.<li><a href=https://bugs.mojang.com/browse/MC-270475 rel=\"noopener noreferrer\"target=_blank>MC-270475</a> Container component slot -1 crash</ul>","id":"32b24744a64476592d3d1567a6f7c6f51718c627e640f9f9eafcb3cfac4d9f16","date":"2024-04-10T12:44:25.000Z","needsTranslation":null}