diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2024-10-23 00:08:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-23 00:08:13 -0500 |
| commit | 40e4096d2435533eacb817ad5a5e12c7ced8fa5c (patch) | |
| tree | 937c4024bb7f69b19b6d053e02a9e5b3b02d98aa /azalea-registry/src | |
| parent | abc7b43b8c641b6dc4b107bb9624b86235bd36db (diff) | |
| download | azalea-drasl-40e4096d2435533eacb817ad5a5e12c7ced8fa5c.tar.xz | |
1.21.2 (#171)
* partially implement 24w35a
* start updating to 24w39a + itemcomponent codegen
* fix codegen and broken packets to finish updating to 24w39a :D
* update to 1.21.2 except for blocks
* update ServerboundPlayerInputPacket impl
Diffstat (limited to 'azalea-registry/src')
| -rwxr-xr-x | azalea-registry/src/lib.rs | 305 | ||||
| -rw-r--r-- | azalea-registry/src/tags/blocks.rs | 10 | ||||
| -rw-r--r-- | azalea-registry/src/tags/items.rs | 121 |
3 files changed, 380 insertions, 56 deletions
diff --git a/azalea-registry/src/lib.rs b/azalea-registry/src/lib.rs index ce61429d..e66ccabc 100755 --- a/azalea-registry/src/lib.rs +++ b/azalea-registry/src/lib.rs @@ -8,6 +8,7 @@ mod extra; pub mod tags; +use std::fmt::{self, Debug}; use std::io::{Cursor, Write}; use azalea_buf::{BufReadError, McBufReadable, McBufVarReadable, McBufVarWritable, McBufWritable}; @@ -111,7 +112,6 @@ impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufReadable } } } - impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufWritable for HolderSet<D, ResourceLocation> { @@ -131,6 +131,20 @@ impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufWritable Ok(()) } } +impl<D: Registry + Debug, ResourceLocation: McBufReadable + McBufWritable + Debug> Debug + for HolderSet<D, ResourceLocation> +{ + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + Self::Direct { contents } => f.debug_list().entries(contents).finish(), + Self::Named { key, contents } => f + .debug_struct("Named") + .field("key", key) + .field("contents", contents) + .finish(), + } + } +} registry! { /// The AI code that's currently being executed for the entity. @@ -166,37 +180,38 @@ enum Activity { registry! { enum Attribute { - GenericArmor => "minecraft:generic.armor", - GenericArmorToughness => "minecraft:generic.armor_toughness", - GenericAttackDamage => "minecraft:generic.attack_damage", - GenericAttackKnockback => "minecraft:generic.attack_knockback", - GenericAttackSpeed => "minecraft:generic.attack_speed", - PlayerBlockBreakSpeed => "minecraft:player.block_break_speed", - PlayerBlockInteractionRange => "minecraft:player.block_interaction_range", - GenericBurningTime => "minecraft:generic.burning_time", - GenericExplosionKnockbackResistance => "minecraft:generic.explosion_knockback_resistance", - PlayerEntityInteractionRange => "minecraft:player.entity_interaction_range", - GenericFallDamageMultiplier => "minecraft:generic.fall_damage_multiplier", - GenericFlyingSpeed => "minecraft:generic.flying_speed", - GenericFollowRange => "minecraft:generic.follow_range", - GenericGravity => "minecraft:generic.gravity", - GenericJumpStrength => "minecraft:generic.jump_strength", - GenericKnockbackResistance => "minecraft:generic.knockback_resistance", - GenericLuck => "minecraft:generic.luck", - GenericMaxAbsorption => "minecraft:generic.max_absorption", - GenericMaxHealth => "minecraft:generic.max_health", - PlayerMiningEfficiency => "minecraft:player.mining_efficiency", - GenericMovementEfficiency => "minecraft:generic.movement_efficiency", - GenericMovementSpeed => "minecraft:generic.movement_speed", - GenericOxygenBonus => "minecraft:generic.oxygen_bonus", - GenericSafeFallDistance => "minecraft:generic.safe_fall_distance", - GenericScale => "minecraft:generic.scale", - PlayerSneakingSpeed => "minecraft:player.sneaking_speed", - ZombieSpawnReinforcements => "minecraft:zombie.spawn_reinforcements", - GenericStepHeight => "minecraft:generic.step_height", - PlayerSubmergedMiningSpeed => "minecraft:player.submerged_mining_speed", - PlayerSweepingDamageRatio => "minecraft:player.sweeping_damage_ratio", - GenericWaterMovementEfficiency => "minecraft:generic.water_movement_efficiency", + Armor => "minecraft:armor", + ArmorToughness => "minecraft:armor_toughness", + AttackDamage => "minecraft:attack_damage", + AttackKnockback => "minecraft:attack_knockback", + AttackSpeed => "minecraft:attack_speed", + BlockBreakSpeed => "minecraft:block_break_speed", + BlockInteractionRange => "minecraft:block_interaction_range", + BurningTime => "minecraft:burning_time", + ExplosionKnockbackResistance => "minecraft:explosion_knockback_resistance", + EntityInteractionRange => "minecraft:entity_interaction_range", + FallDamageMultiplier => "minecraft:fall_damage_multiplier", + FlyingSpeed => "minecraft:flying_speed", + FollowRange => "minecraft:follow_range", + Gravity => "minecraft:gravity", + JumpStrength => "minecraft:jump_strength", + KnockbackResistance => "minecraft:knockback_resistance", + Luck => "minecraft:luck", + MaxAbsorption => "minecraft:max_absorption", + MaxHealth => "minecraft:max_health", + MiningEfficiency => "minecraft:mining_efficiency", + MovementEfficiency => "minecraft:movement_efficiency", + MovementSpeed => "minecraft:movement_speed", + OxygenBonus => "minecraft:oxygen_bonus", + SafeFallDistance => "minecraft:safe_fall_distance", + Scale => "minecraft:scale", + SneakingSpeed => "minecraft:sneaking_speed", + SpawnReinforcements => "minecraft:spawn_reinforcements", + StepHeight => "minecraft:step_height", + SubmergedMiningSpeed => "minecraft:submerged_mining_speed", + SweepingDamageRatio => "minecraft:sweeping_damage_ratio", + TemptRange => "minecraft:tempt_range", + WaterMovementEfficiency => "minecraft:water_movement_efficiency", } } @@ -273,6 +288,8 @@ enum Block { AcaciaPlanks => "minecraft:acacia_planks", CherryPlanks => "minecraft:cherry_planks", DarkOakPlanks => "minecraft:dark_oak_planks", + PaleOakWood => "minecraft:pale_oak_wood", + PaleOakPlanks => "minecraft:pale_oak_planks", MangrovePlanks => "minecraft:mangrove_planks", BambooPlanks => "minecraft:bamboo_planks", BambooMosaic => "minecraft:bamboo_mosaic", @@ -283,6 +300,7 @@ enum Block { AcaciaSapling => "minecraft:acacia_sapling", CherrySapling => "minecraft:cherry_sapling", DarkOakSapling => "minecraft:dark_oak_sapling", + PaleOakSapling => "minecraft:pale_oak_sapling", MangrovePropagule => "minecraft:mangrove_propagule", Bedrock => "minecraft:bedrock", Water => "minecraft:water", @@ -306,6 +324,7 @@ enum Block { AcaciaLog => "minecraft:acacia_log", CherryLog => "minecraft:cherry_log", DarkOakLog => "minecraft:dark_oak_log", + PaleOakLog => "minecraft:pale_oak_log", MangroveLog => "minecraft:mangrove_log", MangroveRoots => "minecraft:mangrove_roots", MuddyMangroveRoots => "minecraft:muddy_mangrove_roots", @@ -316,6 +335,7 @@ enum Block { StrippedAcaciaLog => "minecraft:stripped_acacia_log", StrippedCherryLog => "minecraft:stripped_cherry_log", StrippedDarkOakLog => "minecraft:stripped_dark_oak_log", + StrippedPaleOakLog => "minecraft:stripped_pale_oak_log", StrippedOakLog => "minecraft:stripped_oak_log", StrippedMangroveLog => "minecraft:stripped_mangrove_log", StrippedBambooBlock => "minecraft:stripped_bamboo_block", @@ -334,6 +354,7 @@ enum Block { StrippedAcaciaWood => "minecraft:stripped_acacia_wood", StrippedCherryWood => "minecraft:stripped_cherry_wood", StrippedDarkOakWood => "minecraft:stripped_dark_oak_wood", + StrippedPaleOakWood => "minecraft:stripped_pale_oak_wood", StrippedMangroveWood => "minecraft:stripped_mangrove_wood", OakLeaves => "minecraft:oak_leaves", SpruceLeaves => "minecraft:spruce_leaves", @@ -342,6 +363,7 @@ enum Block { AcaciaLeaves => "minecraft:acacia_leaves", CherryLeaves => "minecraft:cherry_leaves", DarkOakLeaves => "minecraft:dark_oak_leaves", + PaleOakLeaves => "minecraft:pale_oak_leaves", MangroveLeaves => "minecraft:mangrove_leaves", AzaleaLeaves => "minecraft:azalea_leaves", FloweringAzaleaLeaves => "minecraft:flowering_azalea_leaves", @@ -429,6 +451,7 @@ enum Block { Fire => "minecraft:fire", SoulFire => "minecraft:soul_fire", Spawner => "minecraft:spawner", + CreakingHeart => "minecraft:creaking_heart", OakStairs => "minecraft:oak_stairs", Chest => "minecraft:chest", RedstoneWire => "minecraft:redstone_wire", @@ -446,6 +469,7 @@ enum Block { CherrySign => "minecraft:cherry_sign", JungleSign => "minecraft:jungle_sign", DarkOakSign => "minecraft:dark_oak_sign", + PaleOakSign => "minecraft:pale_oak_sign", MangroveSign => "minecraft:mangrove_sign", BambooSign => "minecraft:bamboo_sign", OakDoor => "minecraft:oak_door", @@ -459,6 +483,7 @@ enum Block { CherryWallSign => "minecraft:cherry_wall_sign", JungleWallSign => "minecraft:jungle_wall_sign", DarkOakWallSign => "minecraft:dark_oak_wall_sign", + PaleOakWallSign => "minecraft:pale_oak_wall_sign", MangroveWallSign => "minecraft:mangrove_wall_sign", BambooWallSign => "minecraft:bamboo_wall_sign", OakHangingSign => "minecraft:oak_hanging_sign", @@ -468,6 +493,7 @@ enum Block { CherryHangingSign => "minecraft:cherry_hanging_sign", JungleHangingSign => "minecraft:jungle_hanging_sign", DarkOakHangingSign => "minecraft:dark_oak_hanging_sign", + PaleOakHangingSign => "minecraft:pale_oak_hanging_sign", CrimsonHangingSign => "minecraft:crimson_hanging_sign", WarpedHangingSign => "minecraft:warped_hanging_sign", MangroveHangingSign => "minecraft:mangrove_hanging_sign", @@ -479,6 +505,7 @@ enum Block { CherryWallHangingSign => "minecraft:cherry_wall_hanging_sign", JungleWallHangingSign => "minecraft:jungle_wall_hanging_sign", DarkOakWallHangingSign => "minecraft:dark_oak_wall_hanging_sign", + PaleOakWallHangingSign => "minecraft:pale_oak_wall_hanging_sign", MangroveWallHangingSign => "minecraft:mangrove_wall_hanging_sign", CrimsonWallHangingSign => "minecraft:crimson_wall_hanging_sign", WarpedWallHangingSign => "minecraft:warped_wall_hanging_sign", @@ -493,6 +520,7 @@ enum Block { AcaciaPressurePlate => "minecraft:acacia_pressure_plate", CherryPressurePlate => "minecraft:cherry_pressure_plate", DarkOakPressurePlate => "minecraft:dark_oak_pressure_plate", + PaleOakPressurePlate => "minecraft:pale_oak_pressure_plate", MangrovePressurePlate => "minecraft:mangrove_pressure_plate", BambooPressurePlate => "minecraft:bamboo_pressure_plate", RedstoneOre => "minecraft:redstone_ore", @@ -544,6 +572,7 @@ enum Block { AcaciaTrapdoor => "minecraft:acacia_trapdoor", CherryTrapdoor => "minecraft:cherry_trapdoor", DarkOakTrapdoor => "minecraft:dark_oak_trapdoor", + PaleOakTrapdoor => "minecraft:pale_oak_trapdoor", MangroveTrapdoor => "minecraft:mangrove_trapdoor", BambooTrapdoor => "minecraft:bamboo_trapdoor", StoneBricks => "minecraft:stone_bricks", @@ -617,6 +646,7 @@ enum Block { PottedAcaciaSapling => "minecraft:potted_acacia_sapling", PottedCherrySapling => "minecraft:potted_cherry_sapling", PottedDarkOakSapling => "minecraft:potted_dark_oak_sapling", + PottedPaleOakSapling => "minecraft:potted_pale_oak_sapling", PottedMangrovePropagule => "minecraft:potted_mangrove_propagule", PottedFern => "minecraft:potted_fern", PottedDandelion => "minecraft:potted_dandelion", @@ -645,6 +675,7 @@ enum Block { AcaciaButton => "minecraft:acacia_button", CherryButton => "minecraft:cherry_button", DarkOakButton => "minecraft:dark_oak_button", + PaleOakButton => "minecraft:pale_oak_button", MangroveButton => "minecraft:mangrove_button", BambooButton => "minecraft:bamboo_button", SkeletonSkull => "minecraft:skeleton_skull", @@ -713,6 +744,7 @@ enum Block { AcaciaStairs => "minecraft:acacia_stairs", CherryStairs => "minecraft:cherry_stairs", DarkOakStairs => "minecraft:dark_oak_stairs", + PaleOakStairs => "minecraft:pale_oak_stairs", MangroveStairs => "minecraft:mangrove_stairs", BambooStairs => "minecraft:bamboo_stairs", BambooMosaicStairs => "minecraft:bamboo_mosaic_stairs", @@ -799,6 +831,7 @@ enum Block { AcaciaSlab => "minecraft:acacia_slab", CherrySlab => "minecraft:cherry_slab", DarkOakSlab => "minecraft:dark_oak_slab", + PaleOakSlab => "minecraft:pale_oak_slab", MangroveSlab => "minecraft:mangrove_slab", BambooSlab => "minecraft:bamboo_slab", BambooMosaicSlab => "minecraft:bamboo_mosaic_slab", @@ -826,6 +859,7 @@ enum Block { AcaciaFenceGate => "minecraft:acacia_fence_gate", CherryFenceGate => "minecraft:cherry_fence_gate", DarkOakFenceGate => "minecraft:dark_oak_fence_gate", + PaleOakFenceGate => "minecraft:pale_oak_fence_gate", MangroveFenceGate => "minecraft:mangrove_fence_gate", BambooFenceGate => "minecraft:bamboo_fence_gate", SpruceFence => "minecraft:spruce_fence", @@ -834,6 +868,7 @@ enum Block { AcaciaFence => "minecraft:acacia_fence", CherryFence => "minecraft:cherry_fence", DarkOakFence => "minecraft:dark_oak_fence", + PaleOakFence => "minecraft:pale_oak_fence", MangroveFence => "minecraft:mangrove_fence", BambooFence => "minecraft:bamboo_fence", SpruceDoor => "minecraft:spruce_door", @@ -842,6 +877,7 @@ enum Block { AcaciaDoor => "minecraft:acacia_door", CherryDoor => "minecraft:cherry_door", DarkOakDoor => "minecraft:dark_oak_door", + PaleOakDoor => "minecraft:pale_oak_door", MangroveDoor => "minecraft:mangrove_door", BambooDoor => "minecraft:bamboo_door", EndRod => "minecraft:end_rod", @@ -1313,6 +1349,9 @@ enum Block { TrialSpawner => "minecraft:trial_spawner", Vault => "minecraft:vault", HeavyCore => "minecraft:heavy_core", + PaleMossBlock => "minecraft:pale_moss_block", + PaleMossCarpet => "minecraft:pale_moss_carpet", + PaleHangingMoss => "minecraft:pale_hanging_moss", } } @@ -1331,6 +1370,7 @@ enum BlockEntityKind { Sign => "minecraft:sign", HangingSign => "minecraft:hanging_sign", MobSpawner => "minecraft:mob_spawner", + CreakingHeart => "minecraft:creaking_heart", Piston => "minecraft:piston", BrewingStand => "minecraft:brewing_stand", EnchantingTable => "minecraft:enchanting_table", @@ -1608,47 +1648,58 @@ enum Enchantment { registry! { /// An enum that contains every type of entity. enum EntityKind { + AcaciaBoat => "minecraft:acacia_boat", + AcaciaChestBoat => "minecraft:acacia_chest_boat", Allay => "minecraft:allay", AreaEffectCloud => "minecraft:area_effect_cloud", Armadillo => "minecraft:armadillo", ArmorStand => "minecraft:armor_stand", Arrow => "minecraft:arrow", Axolotl => "minecraft:axolotl", + BambooChestRaft => "minecraft:bamboo_chest_raft", + BambooRaft => "minecraft:bamboo_raft", Bat => "minecraft:bat", Bee => "minecraft:bee", + BirchBoat => "minecraft:birch_boat", + BirchChestBoat => "minecraft:birch_chest_boat", Blaze => "minecraft:blaze", BlockDisplay => "minecraft:block_display", - Boat => "minecraft:boat", Bogged => "minecraft:bogged", Breeze => "minecraft:breeze", BreezeWindCharge => "minecraft:breeze_wind_charge", Camel => "minecraft:camel", Cat => "minecraft:cat", CaveSpider => "minecraft:cave_spider", - ChestBoat => "minecraft:chest_boat", + CherryBoat => "minecraft:cherry_boat", + CherryChestBoat => "minecraft:cherry_chest_boat", ChestMinecart => "minecraft:chest_minecart", Chicken => "minecraft:chicken", Cod => "minecraft:cod", CommandBlockMinecart => "minecraft:command_block_minecart", Cow => "minecraft:cow", + Creaking => "minecraft:creaking", + CreakingTransient => "minecraft:creaking_transient", Creeper => "minecraft:creeper", + DarkOakBoat => "minecraft:dark_oak_boat", + DarkOakChestBoat => "minecraft:dark_oak_chest_boat", Dolphin => "minecraft:dolphin", Donkey => "minecraft:donkey", DragonFireball => "minecraft:dragon_fireball", Drowned => "minecraft:drowned", Egg => "minecraft:egg", ElderGuardian => "minecraft:elder_guardian", - EndCrystal => "minecraft:end_crystal", - EnderDragon => "minecraft:ender_dragon", - EnderPearl => "minecraft:ender_pearl", Enderman => "minecraft:enderman", Endermite => "minecraft:endermite", + EnderDragon => "minecraft:ender_dragon", + EnderPearl => "minecraft:ender_pearl", + EndCrystal => "minecraft:end_crystal", Evoker => "minecraft:evoker", EvokerFangs => "minecraft:evoker_fangs", ExperienceBottle => "minecraft:experience_bottle", ExperienceOrb => "minecraft:experience_orb", EyeOfEnder => "minecraft:eye_of_ender", FallingBlock => "minecraft:falling_block", + Fireball => "minecraft:fireball", FireworkRocket => "minecraft:firework_rocket", Fox => "minecraft:fox", Frog => "minecraft:frog", @@ -1669,19 +1720,26 @@ enum EntityKind { Item => "minecraft:item", ItemDisplay => "minecraft:item_display", ItemFrame => "minecraft:item_frame", - OminousItemSpawner => "minecraft:ominous_item_spawner", - Fireball => "minecraft:fireball", + JungleBoat => "minecraft:jungle_boat", + JungleChestBoat => "minecraft:jungle_chest_boat", LeashKnot => "minecraft:leash_knot", LightningBolt => "minecraft:lightning_bolt", Llama => "minecraft:llama", LlamaSpit => "minecraft:llama_spit", MagmaCube => "minecraft:magma_cube", + MangroveBoat => "minecraft:mangrove_boat", + MangroveChestBoat => "minecraft:mangrove_chest_boat", Marker => "minecraft:marker", Minecart => "minecraft:minecart", Mooshroom => "minecraft:mooshroom", Mule => "minecraft:mule", + OakBoat => "minecraft:oak_boat", + OakChestBoat => "minecraft:oak_chest_boat", Ocelot => "minecraft:ocelot", + OminousItemSpawner => "minecraft:ominous_item_spawner", Painting => "minecraft:painting", + PaleOakBoat => "minecraft:pale_oak_boat", + PaleOakChestBoat => "minecraft:pale_oak_chest_boat", Panda => "minecraft:panda", Parrot => "minecraft:parrot", Phantom => "minecraft:phantom", @@ -1704,11 +1762,13 @@ enum EntityKind { Slime => "minecraft:slime", SmallFireball => "minecraft:small_fireball", Sniffer => "minecraft:sniffer", - SnowGolem => "minecraft:snow_golem", Snowball => "minecraft:snowball", + SnowGolem => "minecraft:snow_golem", SpawnerMinecart => "minecraft:spawner_minecart", SpectralArrow => "minecraft:spectral_arrow", Spider => "minecraft:spider", + SpruceBoat => "minecraft:spruce_boat", + SpruceChestBoat => "minecraft:spruce_chest_boat", Squid => "minecraft:squid", Stray => "minecraft:stray", Strider => "minecraft:strider", @@ -1913,6 +1973,7 @@ enum Item { AcaciaPlanks => "minecraft:acacia_planks", CherryPlanks => "minecraft:cherry_planks", DarkOakPlanks => "minecraft:dark_oak_planks", + PaleOakPlanks => "minecraft:pale_oak_planks", MangrovePlanks => "minecraft:mangrove_planks", BambooPlanks => "minecraft:bamboo_planks", CrimsonPlanks => "minecraft:crimson_planks", @@ -1925,6 +1986,7 @@ enum Item { AcaciaSapling => "minecraft:acacia_sapling", CherrySapling => "minecraft:cherry_sapling", DarkOakSapling => "minecraft:dark_oak_sapling", + PaleOakSapling => "minecraft:pale_oak_sapling", MangrovePropagule => "minecraft:mangrove_propagule", Bedrock => "minecraft:bedrock", Sand => "minecraft:sand", @@ -2008,6 +2070,7 @@ enum Item { JungleLog => "minecraft:jungle_log", AcaciaLog => "minecraft:acacia_log", CherryLog => "minecraft:cherry_log", + PaleOakLog => "minecraft:pale_oak_log", DarkOakLog => "minecraft:dark_oak_log", MangroveLog => "minecraft:mangrove_log", MangroveRoots => "minecraft:mangrove_roots", @@ -2022,6 +2085,7 @@ enum Item { StrippedAcaciaLog => "minecraft:stripped_acacia_log", StrippedCherryLog => "minecraft:stripped_cherry_log", StrippedDarkOakLog => "minecraft:stripped_dark_oak_log", + StrippedPaleOakLog => "minecraft:stripped_pale_oak_log", StrippedMangroveLog => "minecraft:stripped_mangrove_log", StrippedCrimsonStem => "minecraft:stripped_crimson_stem", StrippedWarpedStem => "minecraft:stripped_warped_stem", @@ -2032,6 +2096,7 @@ enum Item { StrippedAcaciaWood => "minecraft:stripped_acacia_wood", StrippedCherryWood => "minecraft:stripped_cherry_wood", StrippedDarkOakWood => "minecraft:stripped_dark_oak_wood", + StrippedPaleOakWood => "minecraft:stripped_pale_oak_wood", StrippedMangroveWood => "minecraft:stripped_mangrove_wood", StrippedCrimsonHyphae => "minecraft:stripped_crimson_hyphae", StrippedWarpedHyphae => "minecraft:stripped_warped_hyphae", @@ -2042,6 +2107,7 @@ enum Item { JungleWood => "minecraft:jungle_wood", AcaciaWood => "minecraft:acacia_wood", CherryWood => "minecraft:cherry_wood", + PaleOakWood => "minecraft:pale_oak_wood", DarkOakWood => "minecraft:dark_oak_wood", MangroveWood => "minecraft:mangrove_wood", CrimsonHyphae => "minecraft:crimson_hyphae", @@ -2053,6 +2119,7 @@ enum Item { AcaciaLeaves => "minecraft:acacia_leaves", CherryLeaves => "minecraft:cherry_leaves", DarkOakLeaves => "minecraft:dark_oak_leaves", + PaleOakLeaves => "minecraft:pale_oak_leaves", MangroveLeaves => "minecraft:mangrove_leaves", AzaleaLeaves => "minecraft:azalea_leaves", FloweringAzaleaLeaves => "minecraft:flowering_azalea_leaves", @@ -2115,9 +2182,12 @@ enum Item { TwistingVines => "minecraft:twisting_vines", SugarCane => "minecraft:sugar_cane", Kelp => "minecraft:kelp", - MossCarpet => "minecraft:moss_carpet", PinkPetals => "minecraft:pink_petals", + MossCarpet => "minecraft:moss_carpet", MossBlock => "minecraft:moss_block", + PaleMossCarpet => "minecraft:pale_moss_carpet", + PaleHangingMoss => "minecraft:pale_hanging_moss", + PaleMossBlock => "minecraft:pale_moss_block", HangingRoots => "minecraft:hanging_roots", BigDripleaf => "minecraft:big_dripleaf", SmallDripleaf => "minecraft:small_dripleaf", @@ -2129,6 +2199,7 @@ enum Item { AcaciaSlab => "minecraft:acacia_slab", CherrySlab => "minecraft:cherry_slab", DarkOakSlab => "minecraft:dark_oak_slab", + PaleOakSlab => "minecraft:pale_oak_slab", MangroveSlab => "minecraft:mangrove_slab", BambooSlab => "minecraft:bamboo_slab", BambooMosaicSlab => "minecraft:bamboo_mosaic_slab", @@ -2169,6 +2240,7 @@ enum Item { PurpurPillar => "minecraft:purpur_pillar", PurpurStairs => "minecraft:purpur_stairs", Spawner => "minecraft:spawner", + CreakingHeart => "minecraft:creaking_heart", Chest => "minecraft:chest", CraftingTable => "minecraft:crafting_table", Farmland => "minecraft:farmland", @@ -2188,6 +2260,7 @@ enum Item { AcaciaFence => "minecraft:acacia_fence", CherryFence => "minecraft:cherry_fence", DarkOakFence => "minecraft:dark_oak_fence", + PaleOakFence => "minecraft:pale_oak_fence", MangroveFence => "minecraft:mangrove_fence", BambooFence => "minecraft:bamboo_fence", CrimsonFence => "minecraft:crimson_fence", @@ -2260,6 +2333,7 @@ enum Item { AcaciaStairs => "minecraft:acacia_stairs", CherryStairs => "minecraft:cherry_stairs", DarkOakStairs => "minecraft:dark_oak_stairs", + PaleOakStairs => "minecraft:pale_oak_stairs", MangroveStairs => "minecraft:mangrove_stairs", BambooStairs => "minecraft:bamboo_stairs", BambooMosaicStairs => "minecraft:bamboo_mosaic_stairs", @@ -2561,6 +2635,7 @@ enum Item { AcaciaButton => "minecraft:acacia_button", CherryButton => "minecraft:cherry_button", DarkOakButton => "minecraft:dark_oak_button", + PaleOakButton => "minecraft:pale_oak_button", MangroveButton => "minecraft:mangrove_button", BambooButton => "minecraft:bamboo_button", CrimsonButton => "minecraft:crimson_button", @@ -2576,6 +2651,7 @@ enum Item { AcaciaPressurePlate => "minecraft:acacia_pressure_plate", CherryPressurePlate => "minecraft:cherry_pressure_plate", DarkOakPressurePlate => "minecraft:dark_oak_pressure_plate", + PaleOakPressurePlate => "minecraft:pale_oak_pressure_plate", MangrovePressurePlate => "minecraft:mangrove_pressure_plate", BambooPressurePlate => "minecraft:bamboo_pressure_plate", CrimsonPressurePlate => "minecraft:crimson_pressure_plate", @@ -2588,6 +2664,7 @@ enum Item { AcaciaDoor => "minecraft:acacia_door", CherryDoor => "minecraft:cherry_door", DarkOakDoor => "minecraft:dark_oak_door", + PaleOakDoor => "minecraft:pale_oak_door", MangroveDoor => "minecraft:mangrove_door", BambooDoor => "minecraft:bamboo_door", CrimsonDoor => "minecraft:crimson_door", @@ -2608,6 +2685,7 @@ enum Item { AcaciaTrapdoor => "minecraft:acacia_trapdoor", CherryTrapdoor => "minecraft:cherry_trapdoor", DarkOakTrapdoor => "minecraft:dark_oak_trapdoor", + PaleOakTrapdoor => "minecraft:pale_oak_trapdoor", MangroveTrapdoor => "minecraft:mangrove_trapdoor", BambooTrapdoor => "minecraft:bamboo_trapdoor", CrimsonTrapdoor => "minecraft:crimson_trapdoor", @@ -2627,6 +2705,7 @@ enum Item { AcaciaFenceGate => "minecraft:acacia_fence_gate", CherryFenceGate => "minecraft:cherry_fence_gate", DarkOakFenceGate => "minecraft:dark_oak_fence_gate", + PaleOakFenceGate => "minecraft:pale_oak_fence_gate", MangroveFenceGate => "minecraft:mangrove_fence_gate", BambooFenceGate => "minecraft:bamboo_fence_gate", CrimsonFenceGate => "minecraft:crimson_fence_gate", @@ -2643,6 +2722,7 @@ enum Item { HopperMinecart => "minecraft:hopper_minecart", CarrotOnAStick => "minecraft:carrot_on_a_stick", WarpedFungusOnAStick => "minecraft:warped_fungus_on_a_stick", + PhantomMembrane => "minecraft:phantom_membrane", Elytra => "minecraft:elytra", OakBoat => "minecraft:oak_boat", OakChestBoat => "minecraft:oak_chest_boat", @@ -2658,6 +2738,8 @@ enum Item { CherryChestBoat => "minecraft:cherry_chest_boat", DarkOakBoat => "minecraft:dark_oak_boat", DarkOakChestBoat => "minecraft:dark_oak_chest_boat", + PaleOakBoat => "minecraft:pale_oak_boat", + PaleOakChestBoat => "minecraft:pale_oak_chest_boat", MangroveBoat => "minecraft:mangrove_boat", MangroveChestBoat => "minecraft:mangrove_chest_boat", BambooRaft => "minecraft:bamboo_raft", @@ -2763,6 +2845,7 @@ enum Item { AcaciaSign => "minecraft:acacia_sign", CherrySign => "minecraft:cherry_sign", DarkOakSign => "minecraft:dark_oak_sign", + PaleOakSign => "minecraft:pale_oak_sign", MangroveSign => "minecraft:mangrove_sign", BambooSign => "minecraft:bamboo_sign", CrimsonSign => "minecraft:crimson_sign", @@ -2774,6 +2857,7 @@ enum Item { AcaciaHangingSign => "minecraft:acacia_hanging_sign", CherryHangingSign => "minecraft:cherry_hanging_sign", DarkOakHangingSign => "minecraft:dark_oak_hanging_sign", + PaleOakHangingSign => "minecraft:pale_oak_hanging_sign", MangroveHangingSign => "minecraft:mangrove_hanging_sign", BambooHangingSign => "minecraft:bamboo_hanging_sign", CrimsonHangingSign => "minecraft:crimson_hanging_sign", @@ -2801,6 +2885,22 @@ enum Item { Compass => "minecraft:compass", RecoveryCompass => "minecraft:recovery_compass", Bundle => "minecraft:bundle", + WhiteBundle => "minecraft:white_bundle", + OrangeBundle => "minecraft:orange_bundle", + MagentaBundle => "minecraft:magenta_bundle", + LightBlueBundle => "minecraft:light_blue_bundle", + YellowBundle => "minecraft:yellow_bundle", + LimeBundle => "minecraft:lime_bundle", + PinkBundle => "minecraft:pink_bundle", + GrayBundle => "minecraft:gray_bundle", + LightGrayBundle => "minecraft:light_gray_bundle", + CyanBundle => "minecraft:cyan_bundle", + PurpleBundle => "minecraft:purple_bundle", + BlueBundle => "minecraft:blue_bundle", + BrownBundle => "minecraft:brown_bundle", + GreenBundle => "minecraft:green_bundle", + RedBundle => "minecraft:red_bundle", + BlackBundle => "minecraft:black_bundle", FishingRod => "minecraft:fishing_rod", Clock => "minecraft:clock", Spyglass => "minecraft:spyglass", @@ -2868,8 +2968,8 @@ enum Item { GhastTear => "minecraft:ghast_tear", GoldNugget => "minecraft:gold_nugget", NetherWart => "minecraft:nether_wart", - Potion => "minecraft:potion", GlassBottle => "minecraft:glass_bottle", + Potion => "minecraft:potion", SpiderEye => "minecraft:spider_eye", FermentedSpiderEye => "minecraft:fermented_spider_eye", BlazePowder => "minecraft:blaze_powder", @@ -2954,6 +3054,7 @@ enum Item { WitherSkeletonSpawnEgg => "minecraft:wither_skeleton_spawn_egg", WolfSpawnEgg => "minecraft:wolf_spawn_egg", ZoglinSpawnEgg => "minecraft:zoglin_spawn_egg", + CreakingSpawnEgg => "minecraft:creaking_spawn_egg", ZombieSpawnEgg => "minecraft:zombie_spawn_egg", ZombieHorseSpawnEgg => "minecraft:zombie_horse_spawn_egg", ZombieVillagerSpawnEgg => "minecraft:zombie_villager_spawn_egg", @@ -2963,6 +3064,7 @@ enum Item { WindCharge => "minecraft:wind_charge", WritableBook => "minecraft:writable_book", WrittenBook => "minecraft:written_book", + BreezeRod => "minecraft:breeze_rod", Mace => "minecraft:mace", ItemFrame => "minecraft:item_frame", GlowItemFrame => "minecraft:glow_item_frame", @@ -3059,7 +3161,6 @@ enum Item { MusicDiscPrecipice => "minecraft:music_disc_precipice", DiscFragment5 => "minecraft:disc_fragment_5", Trident => "minecraft:trident", - PhantomMembrane => "minecraft:phantom_membrane", NautilusShell => "minecraft:nautilus_shell", HeartOfTheSea => "minecraft:heart_of_the_sea", Crossbow => "minecraft:crossbow", @@ -3073,6 +3174,8 @@ enum Item { PiglinBannerPattern => "minecraft:piglin_banner_pattern", FlowBannerPattern => "minecraft:flow_banner_pattern", GusterBannerPattern => "minecraft:guster_banner_pattern", + FieldMasonedBannerPattern => "minecraft:field_masoned_banner_pattern", + BordureIndentedBannerPattern => "minecraft:bordure_indented_banner_pattern", GoatHorn => "minecraft:goat_horn", Composter => "minecraft:composter", Barrel => "minecraft:barrel", @@ -3202,7 +3305,6 @@ enum Item { OminousTrialKey => "minecraft:ominous_trial_key", Vault => "minecraft:vault", OminousBottle => "minecraft:ominous_bottle", - BreezeRod => "minecraft:breeze_rod", } } @@ -3580,6 +3682,7 @@ enum ParticleKind { InstantEffect => "minecraft:instant_effect", Item => "minecraft:item", Vibration => "minecraft:vibration", + Trail => "minecraft:trail", ItemSlime => "minecraft:item_slime", ItemCobweb => "minecraft:item_cobweb", ItemSnowball => "minecraft:item_snowball", @@ -3643,6 +3746,7 @@ enum ParticleKind { OminousSpawning => "minecraft:ominous_spawning", RaidOmen => "minecraft:raid_omen", TrialOmen => "minecraft:trial_omen", + BlockCrumble => "minecraft:block_crumble", } } @@ -3751,8 +3855,7 @@ enum RecipeSerializer { CraftingSpecialTippedarrow => "minecraft:crafting_special_tippedarrow", CraftingSpecialBannerduplicate => "minecraft:crafting_special_bannerduplicate", CraftingSpecialShielddecoration => "minecraft:crafting_special_shielddecoration", - CraftingSpecialShulkerboxcoloring => "minecraft:crafting_special_shulkerboxcoloring", - CraftingSpecialSuspiciousstew => "minecraft:crafting_special_suspiciousstew", + CraftingTransmute => "minecraft:crafting_transmute", CraftingSpecialRepairitem => "minecraft:crafting_special_repairitem", Smelting => "minecraft:smelting", Blasting => "minecraft:blasting", @@ -4040,6 +4143,7 @@ enum SoundEvent { BlockBubbleColumnUpwardsInside => "minecraft:block.bubble_column.upwards_inside", BlockBubbleColumnWhirlpoolAmbient => "minecraft:block.bubble_column.whirlpool_ambient", BlockBubbleColumnWhirlpoolInside => "minecraft:block.bubble_column.whirlpool_inside", + UiHudBubblePop => "minecraft:ui.hud.bubble_pop", ItemBucketEmpty => "minecraft:item.bucket.empty", ItemBucketEmptyAxolotl => "minecraft:item.bucket.empty_axolotl", ItemBucketEmptyFish => "minecraft:item.bucket.empty_fish", @@ -4054,6 +4158,7 @@ enum SoundEvent { ItemBucketFillTadpole => "minecraft:item.bucket.fill_tadpole", ItemBundleDropContents => "minecraft:item.bundle.drop_contents", ItemBundleInsert => "minecraft:item.bundle.insert", + ItemBundleInsertFail => "minecraft:item.bundle.insert_fail", ItemBundleRemoveOne => "minecraft:item.bundle.remove_one", BlockCakeAddCandle => "minecraft:block.cake.add_candle", BlockCalciteBreak => "minecraft:block.calcite.break", @@ -4202,6 +4307,24 @@ enum SoundEvent { EntityCowStep => "minecraft:entity.cow.step", BlockCrafterCraft => "minecraft:block.crafter.craft", BlockCrafterFail => "minecraft:block.crafter.fail", + EntityCreakingAmbient => "minecraft:entity.creaking.ambient", + EntityCreakingActivate => "minecraft:entity.creaking.activate", + EntityCreakingDeactivate => "minecraft:entity.creaking.deactivate", + EntityCreakingAttack => "minecraft:entity.creaking.attack", + EntityCreakingDeath => "minecraft:entity.creaking.death", + EntityCreakingStep => "minecraft:entity.creaking.step", + EntityCreakingFreeze => "minecraft:entity.creaking.freeze", + EntityCreakingUnfreeze => "minecraft:entity.creaking.unfreeze", + EntityCreakingSpawn => "minecraft:entity.creaking.spawn", + EntityCreakingSway => "minecraft:entity.creaking.sway", + BlockCreakingHeartBreak => "minecraft:block.creaking_heart.break", + BlockCreakingHeartFall => "minecraft:block.creaking_heart.fall", + BlockCreakingHeartHit => "minecraft:block.creaking_heart.hit", + BlockCreakingHeartHurt => "minecraft:block.creaking_heart.hurt", + BlockCreakingHeartPlace => "minecraft:block.creaking_heart.place", + BlockCreakingHeartStep => "minecraft:block.creaking_heart.step", + BlockCreakingHeartIdle => "minecraft:block.creaking_heart.idle", + BlockCreakingHeartSpawn => "minecraft:block.creaking_heart.spawn", EntityCreeperDeath => "minecraft:entity.creeper.death", EntityCreeperHurt => "minecraft:entity.creeper.hurt", EntityCreeperPrimed => "minecraft:entity.creeper.primed", @@ -4447,7 +4570,6 @@ enum SoundEvent { EntityGoatPrepareRam => "minecraft:entity.goat.prepare_ram", EntityGoatRamImpact => "minecraft:entity.goat.ram_impact", EntityGoatHornBreak => "minecraft:entity.goat.horn_break", - ItemGoatHornPlay => "minecraft:item.goat_horn.play", EntityGoatScreamingAmbient => "minecraft:entity.goat.screaming.ambient", EntityGoatScreamingDeath => "minecraft:entity.goat.screaming.death", EntityGoatScreamingEat => "minecraft:entity.goat.screaming.eat", @@ -4456,7 +4578,6 @@ enum SoundEvent { EntityGoatScreamingMilk => "minecraft:entity.goat.screaming.milk", EntityGoatScreamingPrepareRam => "minecraft:entity.goat.screaming.prepare_ram", EntityGoatScreamingRamImpact => "minecraft:entity.goat.screaming.ram_impact", - EntityGoatScreamingHornBreak => "minecraft:entity.goat.screaming.horn_break", EntityGoatStep => "minecraft:entity.goat.step", BlockGrassBreak => "minecraft:block.grass.break", BlockGrassFall => "minecraft:block.grass.fall", @@ -4844,6 +4965,7 @@ enum SoundEvent { ItemOminousBottleDispose => "minecraft:item.ominous_bottle.dispose", EntityPaintingBreak => "minecraft:entity.painting.break", EntityPaintingPlace => "minecraft:entity.painting.place", + BlockPaleHangingMossIdle => "minecraft:block.pale_hanging_moss.idle", EntityPandaPreSneeze => "minecraft:entity.panda.pre_sneeze", EntityPandaSneeze => "minecraft:entity.panda.sneeze", EntityPandaAmbient => "minecraft:entity.panda.ambient", @@ -4863,6 +4985,7 @@ enum SoundEvent { EntityParrotImitateBlaze => "minecraft:entity.parrot.imitate.blaze", EntityParrotImitateBogged => "minecraft:entity.parrot.imitate.bogged", EntityParrotImitateBreeze => "minecraft:entity.parrot.imitate.breeze", + EntityParrotImitateCreaking => "minecraft:entity.parrot.imitate.creaking", EntityParrotImitateCreeper => "minecraft:entity.parrot.imitate.creeper", EntityParrotImitateDrowned => "minecraft:entity.parrot.imitate.drowned", EntityParrotImitateElderGuardian => "minecraft:entity.parrot.imitate.elder_guardian", @@ -5127,6 +5250,11 @@ enum SoundEvent { BlockSoulSoilHit => "minecraft:block.soul_soil.hit", BlockSoulSoilFall => "minecraft:block.soul_soil.fall", ParticleSoulEscape => "minecraft:particle.soul_escape", + BlockSpawnerBreak => "minecraft:block.spawner.break", + BlockSpawnerFall => "minecraft:block.spawner.fall", + BlockSpawnerHit => "minecraft:block.spawner.hit", + BlockSpawnerPlace => "minecraft:block.spawner.place", + BlockSpawnerStep => "minecraft:block.spawner.step", BlockSporeBlossomBreak => "minecraft:block.spore_blossom.break", BlockSporeBlossomFall => "minecraft:block.spore_blossom.fall", BlockSporeBlossomHit => "minecraft:block.spore_blossom.hit", @@ -5695,7 +5823,6 @@ enum WorldgenPlacementModifierKind { HeightRange => "minecraft:height_range", InSquare => "minecraft:in_square", RandomOffset => "minecraft:random_offset", - CarvingMask => "minecraft:carving_mask", FixedPlacement => "minecraft:fixed_placement", } } @@ -5825,6 +5952,8 @@ registry! { enum WorldgenTreeDecoratorKind { TrunkVine => "minecraft:trunk_vine", LeaveVine => "minecraft:leave_vine", + PaleMoss => "minecraft:pale_moss", + CreakingHeart => "minecraft:creaking_heart", Cocoa => "minecraft:cocoa", Beehive => "minecraft:beehive", AlterGround => "minecraft:alter_ground", @@ -5973,7 +6102,6 @@ enum BlockKind { Carpet => "minecraft:carpet", Carrot => "minecraft:carrot", CartographyTable => "minecraft:cartography_table", - CarvedPumpkin => "minecraft:carved_pumpkin", Cauldron => "minecraft:cauldron", CaveVines => "minecraft:cave_vines", CaveVinesPlant => "minecraft:cave_vines_plant", @@ -6018,6 +6146,7 @@ enum BlockKind { EndPortalFrame => "minecraft:end_portal_frame", EndRod => "minecraft:end_rod", Farm => "minecraft:farm", + BonemealableFeaturePlacer => "minecraft:bonemealable_feature_placer", Fence => "minecraft:fence", FenceGate => "minecraft:fence_gate", Fire => "minecraft:fire", @@ -6033,6 +6162,7 @@ enum BlockKind { Grass => "minecraft:grass", Grindstone => "minecraft:grindstone", HalfTransparent => "minecraft:half_transparent", + HangingMoss => "minecraft:hanging_moss", HangingRoots => "minecraft:hanging_roots", Hay => "minecraft:hay", HeavyCore => "minecraft:heavy_core", @@ -6063,7 +6193,7 @@ enum BlockKind { MangroveLeaves => "minecraft:mangrove_leaves", MangrovePropagule => "minecraft:mangrove_propagule", MangroveRoots => "minecraft:mangrove_roots", - Moss => "minecraft:moss", + MossyCarpet => "minecraft:mossy_carpet", MovingPiston => "minecraft:moving_piston", Mud => "minecraft:mud", Mushroom => "minecraft:mushroom", @@ -6122,6 +6252,7 @@ enum BlockKind { SoulFire => "minecraft:soul_fire", SoulSand => "minecraft:soul_sand", Spawner => "minecraft:spawner", + CreakingHeart => "minecraft:creaking_heart", Sponge => "minecraft:sponge", SporeBlossom => "minecraft:spore_blossom", StainedGlassPane => "minecraft:stained_glass_pane", @@ -6222,7 +6353,7 @@ enum TriggerKind { FishingRodHooked => "minecraft:fishing_rod_hooked", ChanneledLightning => "minecraft:channeled_lightning", ShotCrossbow => "minecraft:shot_crossbow", - KilledByCrossbow => "minecraft:killed_by_crossbow", + KilledByArrow => "minecraft:killed_by_arrow", HeroOfTheVillage => "minecraft:hero_of_the_village", VoluntaryExile => "minecraft:voluntary_exile", SlideDownBlock => "minecraft:slide_down_block", @@ -6279,6 +6410,7 @@ enum DataComponentKind { Unbreakable => "minecraft:unbreakable", CustomName => "minecraft:custom_name", ItemName => "minecraft:item_name", + ItemModel => "minecraft:item_model", Lore => "minecraft:lore", Rarity => "minecraft:rarity", Enchantments => "minecraft:enchantments", @@ -6293,8 +6425,17 @@ enum DataComponentKind { EnchantmentGlintOverride => "minecraft:enchantment_glint_override", IntangibleProjectile => "minecraft:intangible_projectile", Food => "minecraft:food", - FireResistant => "minecraft:fire_resistant", + Consumable => "minecraft:consumable", + UseRemainder => "minecraft:use_remainder", + UseCooldown => "minecraft:use_cooldown", + DamageResistant => "minecraft:damage_resistant", Tool => "minecraft:tool", + Enchantable => "minecraft:enchantable", + Equippable => "minecraft:equippable", + Repairable => "minecraft:repairable", + Glider => "minecraft:glider", + TooltipStyle => "minecraft:tooltip_style", + DeathProtection => "minecraft:death_protection", StoredEnchantments => "minecraft:stored_enchantments", DyedColor => "minecraft:dyed_color", MapColor => "minecraft:map_color", @@ -6339,8 +6480,8 @@ enum EntitySubPredicateKind { Player => "minecraft:player", Slime => "minecraft:slime", Raider => "minecraft:raider", + Sheep => "minecraft:sheep", Axolotl => "minecraft:axolotl", - Boat => "minecraft:boat", Fox => "minecraft:fox", Mooshroom => "minecraft:mooshroom", Rabbit => "minecraft:rabbit", @@ -6348,6 +6489,7 @@ enum EntitySubPredicateKind { Llama => "minecraft:llama", Villager => "minecraft:villager", Parrot => "minecraft:parrot", + Salmon => "minecraft:salmon", TropicalFish => "minecraft:tropical_fish", Painting => "minecraft:painting", Cat => "minecraft:cat", @@ -6454,8 +6596,8 @@ registry! { enum EnchantmentEntityEffectKind { AllOf => "minecraft:all_of", ApplyMobEffect => "minecraft:apply_mob_effect", + ChangeItemDamage => "minecraft:change_item_damage", DamageEntity => "minecraft:damage_entity", - DamageItem => "minecraft:damage_item", Explode => "minecraft:explode", Ignite => "minecraft:ignite", PlaySound => "minecraft:play_sound", @@ -6483,8 +6625,8 @@ enum EnchantmentLocationBasedEffectKind { AllOf => "minecraft:all_of", ApplyMobEffect => "minecraft:apply_mob_effect", Attribute => "minecraft:attribute", + ChangeItemDamage => "minecraft:change_item_damage", DamageEntity => "minecraft:damage_entity", - DamageItem => "minecraft:damage_item", Explode => "minecraft:explode", Ignite => "minecraft:ignite", PlaySound => "minecraft:play_sound", @@ -6543,3 +6685,54 @@ enum DecoratedPotPattern { Blank => "minecraft:blank", } } + +registry! { +enum ConsumeEffectKind { + ApplyEffects => "minecraft:apply_effects", + RemoveEffects => "minecraft:remove_effects", + ClearAllEffects => "minecraft:clear_all_effects", + TeleportRandomly => "minecraft:teleport_randomly", + PlaySound => "minecraft:play_sound", +} +} + +registry! { +enum RecipeBookCategory { + CraftingBuildingBlocks => "minecraft:crafting_building_blocks", + CraftingRedstone => "minecraft:crafting_redstone", + CraftingEquipment => "minecraft:crafting_equipment", + CraftingMisc => "minecraft:crafting_misc", + FurnaceFood => "minecraft:furnace_food", + FurnaceBlocks => "minecraft:furnace_blocks", + FurnaceMisc => "minecraft:furnace_misc", + BlastFurnaceBlocks => "minecraft:blast_furnace_blocks", + BlastFurnaceMisc => "minecraft:blast_furnace_misc", + SmokerFood => "minecraft:smoker_food", + Stonecutter => "minecraft:stonecutter", + Smithing => "minecraft:smithing", + Campfire => "minecraft:campfire", +} +} + +registry! { +enum RecipeDisplay { + CraftingShapeless => "minecraft:crafting_shapeless", + CraftingShaped => "minecraft:crafting_shaped", + Furnace => "minecraft:furnace", + Stonecutter => "minecraft:stonecutter", + Smithing => "minecraft:smithing", +} +} + +registry! { +enum SlotDisplay { + Empty => "minecraft:empty", + AnyFuel => "minecraft:any_fuel", + Item => "minecraft:item", + ItemStack => "minecraft:item_stack", + Tag => "minecraft:tag", + SmithingTrim => "minecraft:smithing_trim", + WithRemainder => "minecraft:with_remainder", + Composite => "minecraft:composite", +} +} diff --git a/azalea-registry/src/tags/blocks.rs b/azalea-registry/src/tags/blocks.rs index 039ee0f8..b57ae8c9 100644 --- a/azalea-registry/src/tags/blocks.rs +++ b/azalea-registry/src/tags/blocks.rs @@ -286,6 +286,16 @@ pub static BASE_STONE_OVERWORLD: Lazy<HashSet<Block>> = Lazy::new(|| { Block::Deepslate, ]) }); +pub static BATS_SPAWNABLE_ON: Lazy<HashSet<Block>> = Lazy::new(|| { + HashSet::from_iter(vec![ + Block::Stone, + Block::Granite, + Block::Diorite, + Block::Andesite, + Block::Tuff, + Block::Deepslate, + ]) +}); pub static BEACON_BASE_BLOCKS: Lazy<HashSet<Block>> = Lazy::new(|| { HashSet::from_iter(vec![ Block::NetheriteBlock, diff --git a/azalea-registry/src/tags/items.rs b/azalea-registry/src/tags/items.rs index dcb85967..e8c31ddf 100644 --- a/azalea-registry/src/tags/items.rs +++ b/azalea-registry/src/tags/items.rs @@ -188,6 +188,29 @@ pub static BREAKS_DECORATED_POTS: Lazy<HashSet<Item>> = Lazy::new(|| { Item::IronHoe, ]) }); +pub static BREWING_FUEL: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::BlazePowder])); +pub static BUNDLES: Lazy<HashSet<Item>> = Lazy::new(|| { + HashSet::from_iter(vec![ + Item::Bundle, + Item::BlackBundle, + Item::BlueBundle, + Item::BrownBundle, + Item::CyanBundle, + Item::GrayBundle, + Item::GreenBundle, + Item::LightBlueBundle, + Item::LightGrayBundle, + Item::LimeBundle, + Item::MagentaBundle, + Item::OrangeBundle, + Item::PinkBundle, + Item::PurpleBundle, + Item::RedBundle, + Item::YellowBundle, + Item::WhiteBundle, + ]) +}); pub static BUTTONS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::OakButton, @@ -472,6 +495,8 @@ pub static DECORATED_POT_SHERDS: Lazy<HashSet<Item>> = Lazy::new(|| { }); pub static DIAMOND_ORES: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::DiamondOre, Item::DeepslateDiamondOre])); +pub static DIAMOND_TOOL_MATERIALS: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::Diamond])); pub static DIRT: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::Dirt, @@ -509,6 +534,8 @@ pub static DOORS: Lazy<HashSet<Item>> = Lazy::new(|| { Item::CherryDoor, ]) }); +pub static DUPLICATES_ALLAYS: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::AmethystShard])); pub static DYEABLE: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::LeatherHelmet, @@ -993,6 +1020,10 @@ pub static FREEZE_IMMUNE_WEARABLES: Lazy<HashSet<Item>> = Lazy::new(|| { ]) }); pub static FROG_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::SlimeBall])); +pub static FURNACE_MINECART_FUEL: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::Coal, Item::Charcoal])); +pub static GAZE_DISGUISE_EQUIPMENT: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::CarvedPumpkin])); pub static GOAT_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::Wheat])); pub static GOLD_ORES: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ @@ -1001,6 +1032,8 @@ pub static GOLD_ORES: Lazy<HashSet<Item>> = Lazy::new(|| { Item::DeepslateGoldOre, ]) }); +pub static GOLD_TOOL_MATERIALS: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::GoldIngot])); pub static HANGING_SIGNS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::OakHangingSign, @@ -1061,6 +1094,8 @@ pub static IGNORED_BY_PIGLIN_BABIES: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::Leather])); pub static IRON_ORES: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::IronOre, Item::DeepslateIronOre])); +pub static IRON_TOOL_MATERIALS: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::IronIngot])); pub static JUNGLE_LOGS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::JungleLog, @@ -1189,6 +1224,8 @@ pub static MANGROVE_LOGS: Lazy<HashSet<Item>> = Lazy::new(|| { Item::StrippedMangroveWood, ]) }); +pub static MAP_INVISIBILITY_EQUIPMENT: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::CarvedPumpkin])); pub static MEAT: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::Beef, @@ -1204,6 +1241,8 @@ pub static MEAT: Lazy<HashSet<Item>> = Lazy::new(|| { Item::RottenFlesh, ]) }); +pub static NETHERITE_TOOL_MATERIALS: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::NetheriteIngot])); pub static NON_FLAMMABLE_WOOD: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::WarpedStem, @@ -1259,6 +1298,8 @@ pub static OAK_LOGS: Lazy<HashSet<Item>> = Lazy::new(|| { }); pub static OCELOT_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::Cod, Item::Salmon])); +pub static PANDA_EATS_FROM_GROUND: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::Cake, Item::Bamboo])); pub static PANDA_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::Bamboo])); pub static PARROT_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ @@ -1317,6 +1358,14 @@ pub static PIGLIN_LOVED: Lazy<HashSet<Item>> = Lazy::new(|| { }); pub static PIGLIN_REPELLENTS: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::SoulTorch, Item::SoulLantern, Item::SoulCampfire])); +pub static PIGLIN_SAFE_ARMOR: Lazy<HashSet<Item>> = Lazy::new(|| { + HashSet::from_iter(vec![ + Item::GoldenHelmet, + Item::GoldenChestplate, + Item::GoldenLeggings, + Item::GoldenBoots, + ]) +}); pub static PLANKS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::OakPlanks, @@ -1344,6 +1393,22 @@ pub static RAILS: Lazy<HashSet<Item>> = Lazy::new(|| { }); pub static REDSTONE_ORES: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::RedstoneOre, Item::DeepslateRedstoneOre])); +pub static REPAIRS_CHAIN_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::IronIngot])); +pub static REPAIRS_DIAMOND_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::Diamond])); +pub static REPAIRS_GOLD_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::GoldIngot])); +pub static REPAIRS_IRON_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::IronIngot])); +pub static REPAIRS_LEATHER_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::Leather])); +pub static REPAIRS_NETHERITE_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::NetheriteIngot])); +pub static REPAIRS_TURTLE_HELMET: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::TurtleScute])); +pub static REPAIRS_WOLF_ARMOR: Lazy<HashSet<Item>> = + Lazy::new(|| HashSet::from_iter(vec![Item::ArmadilloScute])); pub static SAND: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::Sand, @@ -1377,6 +1442,27 @@ pub static SHOVELS: Lazy<HashSet<Item>> = Lazy::new(|| { Item::IronShovel, ]) }); +pub static SHULKER_BOXES: Lazy<HashSet<Item>> = Lazy::new(|| { + HashSet::from_iter(vec![ + Item::ShulkerBox, + Item::BlackShulkerBox, + Item::BlueShulkerBox, + Item::BrownShulkerBox, + Item::CyanShulkerBox, + Item::GrayShulkerBox, + Item::GreenShulkerBox, + Item::LightBlueShulkerBox, + Item::LightGrayShulkerBox, + Item::LimeShulkerBox, + Item::MagentaShulkerBox, + Item::OrangeShulkerBox, + Item::PinkShulkerBox, + Item::PurpleShulkerBox, + Item::RedShulkerBox, + Item::WhiteShulkerBox, + Item::YellowShulkerBox, + ]) +}); pub static SIGNS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::OakSign, @@ -1718,6 +1804,19 @@ pub static TRIMMABLE_ARMOR: Lazy<HashSet<Item>> = Lazy::new(|| { }); pub static TURTLE_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::Seagrass])); +pub static VILLAGER_PICKS_UP: Lazy<HashSet<Item>> = Lazy::new(|| { + HashSet::from_iter(vec![ + Item::Bread, + Item::Wheat, + Item::Beetroot, + Item::WheatSeeds, + Item::Potato, + Item::Carrot, + Item::BeetrootSeeds, + Item::TorchflowerSeeds, + Item::PitcherPod, + ]) +}); pub static VILLAGER_PLANTABLE_SEEDS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ Item::WheatSeeds, @@ -1769,6 +1868,13 @@ pub static WART_BLOCKS: Lazy<HashSet<Item>> = Lazy::new(|| HashSet::from_iter(vec![Item::NetherWartBlock, Item::WarpedWartBlock])); pub static WOLF_FOOD: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec![ + Item::Cod, + Item::CookedCod, + Item::Salmon, + Item::CookedSalmon, + Item::TropicalFish, + Item::Pufferfish, + Item::RabbitStew, Item::Beef, Item::Chicken, Item::CookedBeef, @@ -1872,6 +1978,21 @@ pub static WOODEN_STAIRS: Lazy<HashSet<Item>> = Lazy::new(|| { Item::CherryStairs, ]) }); +pub static WOODEN_TOOL_MATERIALS: Lazy<HashSet<Item>> = Lazy::new(|| { + HashSet::from_iter(vec![ + Item::OakPlanks, + Item::SprucePlanks, + Item::BirchPlanks, + Item::JunglePlanks, + Item::AcaciaPlanks, + Item::DarkOakPlanks, + Item::CrimsonPlanks, + Item::WarpedPlanks, + Item::MangrovePlanks, + Item::BambooPlanks, + Item::CherryPlanks, + ]) +}); pub static WOODEN_TRAPDOORS: Lazy<HashSet<Item>> = Lazy::new(|| { HashSet::from_iter(vec