![]() |
VOOZH | about |
| Edition | Java Edition | |||||
|---|---|---|---|---|---|---|
| Release date | May 3, 2024 | |||||
| Type | Snapshot | |||||
| Snapshot for | 1.21 | |||||
| Downloads | Client (.json) Server | |||||
| Obfuscation maps | Client Server | |||||
| Protocol version | dec: 1073742017 hex: 400000C1 | |||||
| Data version | 3940 | |||||
| Resource pack format | 33 | |||||
| Data pack format | 42 | |||||
| Minimum Java version | Java SE 21 | |||||
| ||||||
{
"title": "Minecraft 24w18a",
"images": [
"24w18a.jpg",
"Java Edition 24w18a.png"
],
"rows": [
{
"field": "''(link to Java Edition article, displayed as Java Edition)''",
"label": "(link to Edition article, displayed as Edition)"
},
{
"field": "May 3, 2024",
"label": "Release date"
},
{
"field": "(link to Snapshot article, displayed as Snapshot)",
"label": "(link to Version types article, displayed as Type)"
},
{
"field": "(link to Java Edition 1.21 article, displayed as 1.21)",
"label": "Snapshot for"
},
{
"field": "[https://piston-data.mojang.com/v1/objects/96a3d9cf921ac4e9f804b59562b27d2635e3b3e6/client.jar Client] ([https://piston-meta.mojang.com/v1/packages/870185f824de25941d0687e2b264d480c5f4250d/24w18a.json .json])<br />[https://piston-data.mojang.com/v1/objects/22618c686c86be630601e5d9fcf581674105c899/server.jar Server]",
"label": "(link to Tutorial:Installing a version#Manual version installation article, displayed as Downloads)"
},
{
"field": "[https://piston-data.mojang.com/v1/objects/b257021b6b34731ca9d3a40035509d6c976400e4/client.txt Client]<br />[https://piston-data.mojang.com/v1/objects/0469fa703be270956360ee9a9d08f4473a939d7b/server.txt Server]",
"label": "(link to Obfuscation map article, displayed as Obfuscation maps)"
},
{
"field": " <span style=\"font-size:smaller\"><abbr title=\"decimal\">dec</abbr>: </span>1073742017<br /> <span style=\"font-size:smaller\"><abbr title=\"hexadecimal\">hex</abbr>: </span>400000C1",
"label": "(link to Protocol version article, displayed as Protocol version)"
},
{
"field": "3940",
"label": "(link to Data version article, displayed as Data version)"
},
{
"field": "33",
"label": "<span style=\"white-space: normal;\">(link to Pack format#List of pack formats article, displayed as Resource pack format)</span>"
},
{
"field": "42",
"label": "<span style=\"white-space: normal;\">(link to Pack format#List of pack formats article, displayed as Data pack format)</span>"
},
{
"field": "<span class=\"plainlinks\">[https://en.wikipedia.org/wiki/Java_version_history#Java_SE_21_.28LTS.29 Java SE 21]</span>",
"label": "<span style=\"white-space: normal;\">Minimum Java version</span>"
}
],
"invimages": [],
"footer": "<table style=\"margin: auto; word-break: break-word;\">\n<tr style=\"background: inherit;\">\n<td style=\"padding: 0.4em\" rowspan=\"2\">[[Java Edition 1.20.6|<span style=\"margin-right:-0.35em\">β</span>β 1.20.6]]</td>\n<td style=\"padding: 0.4em\">'''[[Java Edition 1.21|1.21]]'''</td>\n<td style=\"padding: 0.4em\" >[[Java Edition 1.21.1| 1.21.1 <span style=\"margin-right:-0.35em\">βΊ</span>βΊ]]</td>\n</tr>\n<tr style=\"background: inherit;\">\n\n<td style=\"padding: 0.4em\">''' 24w18a'''</td>\n<td style=\"padding: 0.4em\">\n[[Java Edition 24w19a| 24w19a βΊ]]\n</td>\n</tr>\n</table>"
}
24w18a is the first snapshot for Java Edition 1.21, released on May 3, 2024,[1] which makes Tricky Trials features available in normal gameplay, adds 20 new paintings, 3 new music discs, and 9 new background music tracks, introduces custom enchantments, and fixes bugs.
| Picture | Name | Size | Artist |
|---|---|---|---|
| π Image |
Meditative | 1x1 | Sarah Boeving |
| π Image |
Prairie Ride | 1x2 | Sarah Boeving |
| π Image |
Baroque | 2x2 | Sarah Boeving |
| π Image |
Humble | 2x2 | Sarah Boeving |
| π Image |
Unpacked | 4x4 | Sarah Boeving |
| π Image |
Bouquet | 3x3 | Kristoffer Zetterstrand |
| π Image |
Cavebird | 3x3 | Kristoffer Zetterstrand |
| π Image |
CotΓ‘n | 3x3 | Kristoffer Zetterstrand |
| π Image |
Endboss | 3x3 | Kristoffer Zetterstrand |
| π Image |
Fern | 3x3 | Kristoffer Zetterstrand |
| π Image |
Owlemons | 3x3 | Kristoffer Zetterstrand |
| π Image |
Sunflowers | 3x3 | Kristoffer Zetterstrand |
| π Image |
Tides | 3x3 | Kristoffer Zetterstrand |
| π Image |
Backyard | 3x4 | Kristoffer Zetterstrand |
| π Image |
Pond | 3x4 | Kristoffer Zetterstrand |
| π Image |
Changing | 4x2 | Kristoffer Zetterstrand |
| π Image |
Finding | 4x2 | Kristoffer Zetterstrand |
| π Image |
Lowmist | 4x2 | Kristoffer Zetterstrand |
| π Image |
Passage | 4x2 | Kristoffer Zetterstrand |
| π Image |
Orb | 4x4 | Kristoffer Zetterstrand |
Every other biome means all of these biomes:
Copper door and copper trapdoor
wind_charge instead of mob_projectile.is the damage done by the mace when falling from a height of blocks
Here is a graph of what that formula means:
42./give, /item, and /loot commands now supports removal of default components with ! prefix.
/give @s diamond_pickaxe[!tool] gives a diamond pickaxe without the tool component.Enchantments
description: the name of the enchantment when displayed in text represented as a text component.exclusive_set: the enchantment(s) this enchantment is exclusive with.
#.supported_items: the item types that can have this enchantment.
#.primary_items: the item types for which this enchantment shows up in enchanting tables and on traded equipment.
#.supported_items.weight: how commonly the enchantment appears, compared to the total combined weight of all available enchantments.
max_level: the maximum level of the enchantment.
min_cost, max_cost: describe the range of costs for this enchantment in the enchanting table (and how much it returns when disenchanted).
base: base cost at level 1.per_level_above_first: added for each level over 1.anvil_cost: fee taken for the enchantment in the anvil.
slots: a list of slot groups this enchantment works in.
any, hand, mainhand, offhand, armor, feet, legs, chest, head and body.effects: a map of effect components, as described below in the effect components section.Level-Based Values
linear
base: the base value added to all levels.per_level_above_first: amount added for each level above the first one.linear level-based value results in .clamped
value: a level-based value used as the input.min: a floating point value specifying the minimum value of the output.max: a floating point value specifying the maximum value of the output.fraction
numerator: a level-based value used as the numerator.denominator: a level-based value used as the denominator.levels_squared
added: a floating-point value added to the result of the squared levels.Value effect types
add
value: a level-based value determining how much to add.all_of
effects: a list of the value effects to run.multiply
factor: a level-based value determining the factor to multiply in.remove_binomial
chance: a level-based value representing the chance that an input value is dropped.set
value: the level-based value to use as the result.Attribute effects
name: the name of the attribute modifier to add.attribute: the ID of the attribute to modify.operation: the operation of the attribute modifier.
add_value, add_multiplied_base and add_multiplied_totalamount: a level-based value describing the amount.uuid: a string containing a UUID for the attribute modifier to use.
Entity effect types
all_of
effects: list of entity effects to run.apply_mob_effect
to_apply: options for the effect to apply.
min_duration, max_duration: level-based values representing the minimum and maximum duration of the effect in seconds.min_amplifier, max_amplifier: level-based values representing the minimum and maximum amplifier.damage_entity
damage_type: the ID of the damage type to use.min_damage, max_damage: level-based values representing the minimum and maximum amount of damage.damage_item
amount: a level-based value determining the amount of damage to apply.explode
attribute_to_user: a boolean deciding whether the explosion should be attributed to the user of the enchanted tool.damage_type: optional damage type of the explosion - if omitted, no damage is dealt by the explosion.immune_blocks: optional block, list of blocks or hash-prefixed block tag specifying which blocks fully block the explosion.knockback_multiplier: a level-based value deciding the knockback multiplier caused by the explosion - if omitted, the default explosion knockback is applied.offset: a position offset for where the explosion is spawned.
radius: a level-based value representing the radius of the explosion.create_fire: a boolean for whether the explosion causes fire to be placed or not.block_interaction: How the explosion interacts with blocks. One of:
none: no effect.block: act as if a block caused the explosion - the blockExplosionDropDecay game rule applies to drops.mob: act as if a mob caused the explosion - the mobExplosionDropDecay game rule applies to drops.tnt: act as if TNT caused the explosion - the tntExplosionDropDecay game rule applies to drops.trigger: trigger redstone-activated blocks.small_particle: the small particle emitted by the explosion.large_particle: the large particle emitted by the explosion.sound: the sound event caused by the explosion.ignite
duration: a level-based value specifying the number of seconds the fire should last.play_sound
sound: a sound event ID for the sound to play.volume: a float provider between 0.00001 and 10.0 specifying the volume of the sound.pitch: a float provider between 0.00001 and 2.0 specifying the pitch of the sound.replace_block
block_state: a block state provider giving the block state to set.offset: a positional offset from the position of the event to where to place the block.
predicate: a world-generation style block predicate to used to determine if the block should be replaced.
replace_disc
block_state: a block state provider giving the block state to set.radius: a level-based value describing the radius of the cylinder.height: a level-based value describing the height of the cylinder.offset: a positional offset from the position of the event to the center of the cylinder.
predicate: a world-generation style block predicate to used to determine if the block should be replaced.
run_function
function: namespaced ID of the command function to run.set_block_properties
properties: map of property key to property value (same format as a minecraft:block_state item component)offset: a positional offset from the position of the event to the center of the cylinder.
spawn_particles
particle: a particle type definition.horizontal_position, vertical_position: decides where the particle spawns horizontally and vertically. Objects with fields:
type: specifies the position selection type. One of:
entity_position: spawn particles based on the entity position.in_bounding_box: spawn particles based on randomized positions inside the bounding box of the entity.offset: a floating point value specifying an offset to the position source.
scale: a floating point value specifying a scaling factor.
in_bounding_boxhorizontal_velocity, vertical_velocity: decides the initial velocity of the spawned particle. Object with fields:
base: a float provider giving the base speed along the given axis.
movement_scale: a floating point scale factor applied to the entity speed along the given axis.
summon_entity
entity: the options for the entity type to summon.
join_team: boolean that specifies whether the summoned entity should join the team of the owner of the enchanted item.Location-based effect types
attribute can be used to specify an Attribute effect as a location-based effect.Effect conditions
this, attacker, direct_attackerthisthisEffect components
effects field in an enchantment is a map of effect component type the effect list data. Most effect components are lists, so any number of effects can be added of any component type. The data for each effect generally involves having a specified condition context and effect type, but some effects also deviate from this format.effect with the effect of the type used by the list. Entries can also optionally include a field named requirements specifying the condition parameters, which are then evaluated with the documented context.
minecraft:armor_effectiveness: effects for changing the armor effectiveness of the target of an attack.
minecraft:attributes: unfiltered list of attribute effects.minecraft:ammo_use: effects for ammunition being used when drawing a projectile weapon (firing a bow or loading a crossbow)
minecraft:block_experience: effects for the amount of experience that drops when mining a block with the enchanted item.
minecraft:crossbow_charge_sounds: effect for changing the charging sounds of a crossbow.
start: optional sound event id for the start of charging.mid: optional sound event id for the middle of charging.end: optional sound event id for the end of charging.minecraft:crossbow_charge_time: effects for the charging time of a crossbow.
minecraft:damage: effects for the amount of damage caused by an attack.
minecraft:damage_immunity: effects for complete damage immunity.
minecraft:damage_protection: effects for damage protection.
minecraft:equipment_drops: effects for the chance of equipment dropping when a target is killed by the owner of the enchanted item.
enchanted: a specifier for who needs to be enchanted for the effect to apply.minecraft:fishing_luck_bonus: effects for the amount of luck given to a player fishing.
minecraft:fishing_time_reduction: effects for reducing the time until a fish bites when fishing.
minecraft:hit_block: effects applying after a weapon or tool hits a block.
minecraft:knockback: effects for the amount of knockback caused by an attack.
minecraft:item_damage: effects for the amount of durability lost when an item is damaged.
minecraft:location_changed: effects that take effect when an entity crosses into a new block position.
minecraft:mob_experience: effects for the amount of experience that drops when killing a mob with the enchanted item.
minecraft:post_attack: effects applying after an attack damages a target.
enchanted: a specifier for who needs to be enchanted for the effect to apply.affected: a specifier for whom the effect is applied to.attacker, damaging_entity and victimminecraft:prevent_armor_change: effect for preventing the enchanted item from being unequipped from an armor slot.
minecraft:prevent_equipment_drop: effect for preventing the enchanted item from being dropped on owner death.
minecraft:projectile_count: effects for the amount of projectiles drawn when using a projectile weapon.
minecraft:projectile_piercing: effects for the piercing count of projectiles fired from a projectile weapon, i.e. the number of targets it can hit.
minecraft:projectile_spread: effects for the spread of arrows from a projectile weapon firing multiple projectiles.
minecraft:projectile_spawned: effects applying after a projectile entity has been spawned when firing a projectile weapon.
minecraft:repair_with_xp: effect for repairing the item with XP when picked up by the player - any effect present triggers the function.
minecraft:smash_damage_per_block_fallen: effects for the amount of damage caused by a mace's smash attack.
minecraft:tick: Effects that apply every tick for correctly equipped enchanted items.
minecraft:trident_return_acceleration: effects for the special acceleration value of a trident that returns it to its owner.
minecraft:trident_spin_attack_strength: effects for the strength of a trident used as a spin attack.
minecraft:trident_sound: effect for changing the charging sounds of a trident attack.
Enchantment providers
mob_spawn_equipment: enchantment provider for mobs that spawn with randomly enchanted equipment.pillager_spawn_crossbow: enchantment provider for pillagers that spawn with enchanted crossbows.raid/pillager_post_wave_3: enchantment provider applied as a buff on the crossbow of pillagers spawning as waves 4 and 5.raid/pillager_post_wave_5: enchantment provider applied as a buff on the crossbow of pillagers spawning as waves above 5.raid/vindicator: enchantment provider applied as a buff on the axe of a vindicator spawning as wave 1-5.raid/vindicator_post_wave_5: enchantment provider applied as a buff on the axe of a vindicator spawning as waves above 5.enderman_loot_drop: an enchantment provider used for the "fake tool" applied to the carried block of a killed enderman.trades/<biome>_<profession>_<equipment>_<level>Enchantment provider types
single_enchantment
enchantment: namespaced ID of the enchantmentlevel: int provider representing the level of the enchantmentenchantments_by_cost
enchantments: the set of enchantments as either a single enchantment, a list of enchantments or hash-prefixed enchantment tag.cost: int provider representing the cost to use for the enchanting process.enchantments_by_cost_with_difficulty
enchantments: the set of enchantments as either a single enchantment, a list of enchantments or hash-prefixed enchantment tag.min_cost: positive integer representing the minimum possible cost.max_cost_span: non-negative integer representing the span of the cost randomization when the special factor is at its maximum.Damage types
campfire, split from in_fireTags
curse: enchantments that get listed in red in tooltips and cannot be removed by disenchanting.prevents_bee_spawns_when_mining: enchantments that allow a tool to mine bee nests and hives with the bees still inside.prevents_decorated_pot_shattering: enchantments that make a tool not shatter decorated pots.prevents_ice_melting: enchantments that cause a tool to not break ice into water.prevents_infested_spawns: enchantments that allow a tool to break infested blocks without causing the mob inside to spawn.smelts_loot: enchantments that cause loot drops to be smelted.tradeable: enchantments that show up on books in villager trades.on_traded_equipment: enchantments that show up on enchanted equipment in villager trades.double_trade_price: enchantments that double the emerald cost when traded.in_enchanting_table: enchantments that can show up in the enchanting table.on_mob_spawn_equipment: enchantments that can show up on equipment worn by randomly spawned mobs.on_random_loot: enchantments that can show up on loot in loot chests found in the world.armor: enchantments that cannot co-exist on armor pieces.boots: enchantments that cannot co-exist on boots.bow:: enchantments that cannot co-exist on bows.crossbow: enchantments that cannot co-exist on crossbows.damage: damage-increasing enchantments that cannot co-exist.mining: mining-related enchantments that cannot co-exit.riptide: enchantments that cannot co-exist with Riptide.trades/<biome>_common: contains enchantments traded on the lower profession levels.trades/<biome>_special: contains enchantments traded on the highest profession level.burn_from_stepping: Damage types that represent burning damage from stepping on something - in particular, damage types countered by the frost_walker enchantmentLoot tables
killer is now called attacker.direct_killer is now called direct_attacker.killer_player is now called attacking_player.enchantment_active_check
active: boolean determining whether the check should match for an active (true) or inactive (false).random_chance
random_chance_with_enchanted_bonus
random_chance_with_looting. Field changes:
looting_multiplier: field has been removed.chance: this is now a level-based value.enchantment: new field containing the namespaced ID of the enchantment which grants the bonus chance.Functions
enchanted_count_increase
looting_enchant. Now has a new field:
enchantment: namespaced ID of the enchantment that increases yields.enchant_randomly
options is now specified as one of an enchantment, a list of enchantments or an enchantment tag (prefixed with #)only_compatible: new optional boolean field - if true, only allows enchantments that are compatible with the item.
enchant_with_levels
copy_name
killer renamed to attacking_entity.killer_player renamed to last_damage_player.Number providers
enchantment_level
amount: a level-based value giving a value based on the level of the enchantment.Predicates
enchantment field has been removed.enchantments field, one of an enchantment, a list of enchantments or an enchantment tag (prefixed with #)
enchantments field is specified, any enchantment matching levels succeeds the test.levels nor enchantments fields are defined, the predicate matches an item that has any enchantment.Entity flags predicate
is_on_ground: optional boolean - if provided, matches the "on ground" state of the entity.is_flying: optional boolean - if provided, matches whether the entity is flying, including:
Location predicate
can_see_sky: optional boolean - if provided, matches exactly when the location has the maximum possible level of sky light.Movement predicate
x, y, z: min/max limits for movement speed along a certain axis in blocks / second.speed: min/max limits for overall movement speed in blocks / second.horizontal_speed: min/max limits for the horizontal speed component of the entity's movement in blocks / second.vertical_speed: min/max limits for the vertical speed component of the entity's movement in blocks / second.fall_distance: min/max limits for the fall distance of the entity in blocks.Periodic ticks
Attributes
generic.attack_knockback
generic.burning_time
0 removes the entire burn time, a factor of 1 lets the entity burn the default fire time - larger values increase the amount of time the entity remains on fire.
101024generic.explosion_knockback_resistance
1 removes the entire knockback, a factor of 0 means no knockback reduction.
001player.mining_efficiency
001024generic.movement_efficiency
1 removes all movement penalty, a factor of 0 applies full movement penalty.
001generic.oxygen_bonus
0 has no effect, values over 0 are used in the following formula to determine the chance of using up air:
001024player.sneaking_speed
1 means sneaking is as fast as walking, a factor of 0 means unable to move while sneaking.
0.301player.submerged_mining_speed
1 means mining as fast submerged as on land, a factor of 0 means unable to mine while submerged. Note that this represents only the submersion factor itself, and other factors(such as not touching the ground) also apply.
0.2020player.sweeping_damage_ratio
1. A value of 0 means none of the base attack damage is transferred (sweep damage is 1). A value of 1 means all of the base attack damage is transferred (sweep damage is )
001generic.water_movement_efficiency
001Block predicates (world generation style)
unobstructed
offset: List of 3 int offset coordinates, specifying the offset from the origin position to test.
Entity data
ShotFromCrossbowPainting variants
width - width of painting in blocks, between 1 and 16.height - height of painting in blocks, between 1 and 16.asset_id - id of sprite in paintings atlas.33.
The features that were previously under the "Update 1.21" experimental toggle have been de-experimentified. This means they can be accessed by simply playing the game normally. This change was made because this snapshot is the first snapshot for 1.21, which makes the features for 1.21 available in normal gameplay.
update_1_21 feature flag and built-in data pack.
update_1_21 have been "de-experimentified" and are now available during normal gameplay.From released versions before 1.21
randomTickSpeed gamerule.minecraft:ui.button.click" sound isn't played when adjusting sliders if the mouse cursor is released while not being held over them.minecraft:particle.soul_escape" sound is very rarely heard by other players when using boots enchanted with Soul Speed.Enchantment::doPostHurt and Enchantment::doPostAttack are called twice for players./damage command at position applies knockback in random direction.minecraft:entity.ender_eye.launch sound event twice.generic.step_height attribute is set to more than two, attempting to step atop of more than two blocks may fail if there are blocks higher up.modify_contents item modifier can create overstacked items.mobGriefing is false.minecraft:trial_chambers/chamber/addon/c6.mobGriefing is disabled.sweeping" enchantment without namespace.