diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2023-12-05 10:59:05 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-05 10:59:05 -0600 |
| commit | 7857a014b92e64361ee237ceae7ef1acc185ac46 (patch) | |
| tree | 5d70ea6b41943493873810e6a03c3483ff90a235 /azalea-registry/src | |
| parent | ea3e8600126a58f5666d50fbf70dff8209d8979f (diff) | |
| download | azalea-drasl-7857a014b92e64361ee237ceae7ef1acc185ac46.tar.xz | |
1.20.3 (#110)
* 23w40a
* 23w41a
* 23w42a
* 23w43a
* 23w44a
* serialize FormattedText as nbt in network
* use azalea-nbt/serde in azalea-chat
* 23w45a
* fix 23w45a to compile
* handle Object in codegen
* 1.20.3-pre2
* remove unused clientbound_resource_pack_packet.rs
* merge main and make azalea-chat use simdnbt
* 1.20.3-rc1
* fix tests
* use simdnbt 0.3
* fix ServerboundSetJigsawBlockPacket
* 1.20.3
Diffstat (limited to 'azalea-registry/src')
| -rwxr-xr-x | azalea-registry/src/lib.rs | 531 | ||||
| -rw-r--r-- | azalea-registry/src/tags/blocks.rs | 10 |
2 files changed, 522 insertions, 19 deletions
diff --git a/azalea-registry/src/lib.rs b/azalea-registry/src/lib.rs index c6c67367..448dd334 100755 --- a/azalea-registry/src/lib.rs +++ b/azalea-registry/src/lib.rs @@ -111,20 +111,20 @@ enum Activity { registry! { enum Attribute { - GenericMaxHealth => "minecraft:generic.max_health", - GenericFollowRange => "minecraft:generic.follow_range", - GenericKnockbackResistance => "minecraft:generic.knockback_resistance", - GenericMovementSpeed => "minecraft:generic.movement_speed", - GenericFlyingSpeed => "minecraft:generic.flying_speed", + GenericArmor => "minecraft:generic.armor", + GenericArmorToughness => "minecraft:generic.armor_toughness", GenericAttackDamage => "minecraft:generic.attack_damage", GenericAttackKnockback => "minecraft:generic.attack_knockback", GenericAttackSpeed => "minecraft:generic.attack_speed", - GenericArmor => "minecraft:generic.armor", - GenericArmorToughness => "minecraft:generic.armor_toughness", + GenericFlyingSpeed => "minecraft:generic.flying_speed", + GenericFollowRange => "minecraft:generic.follow_range", + HorseJumpStrength => "minecraft:horse.jump_strength", + GenericKnockbackResistance => "minecraft:generic.knockback_resistance", GenericLuck => "minecraft:generic.luck", GenericMaxAbsorption => "minecraft:generic.max_absorption", + GenericMaxHealth => "minecraft:generic.max_health", + GenericMovementSpeed => "minecraft:generic.movement_speed", ZombieSpawnReinforcements => "minecraft:zombie.spawn_reinforcements", - HorseJumpStrength => "minecraft:horse.jump_strength", } } @@ -304,7 +304,7 @@ enum Block { DetectorRail => "minecraft:detector_rail", StickyPiston => "minecraft:sticky_piston", Cobweb => "minecraft:cobweb", - Grass => "minecraft:grass", + ShortGrass => "minecraft:short_grass", Fern => "minecraft:fern", DeadBush => "minecraft:dead_bush", Seagrass => "minecraft:seagrass", @@ -436,7 +436,6 @@ enum Block { SugarCane => "minecraft:sugar_cane", Jukebox => "minecraft:jukebox", OakFence => "minecraft:oak_fence", - Pumpkin => "minecraft:pumpkin", Netherrack => "minecraft:netherrack", SoulSand => "minecraft:soul_sand", SoulSoil => "minecraft:soul_soil", @@ -493,6 +492,7 @@ enum Block { IronBars => "minecraft:iron_bars", Chain => "minecraft:chain", GlassPane => "minecraft:glass_pane", + Pumpkin => "minecraft:pumpkin", Melon => "minecraft:melon", AttachedPumpkinStem => "minecraft:attached_pumpkin_stem", AttachedMelonStem => "minecraft:attached_melon_stem", @@ -1091,6 +1091,19 @@ enum Block { MediumAmethystBud => "minecraft:medium_amethyst_bud", SmallAmethystBud => "minecraft:small_amethyst_bud", Tuff => "minecraft:tuff", + TuffSlab => "minecraft:tuff_slab", + TuffStairs => "minecraft:tuff_stairs", + TuffWall => "minecraft:tuff_wall", + PolishedTuff => "minecraft:polished_tuff", + PolishedTuffSlab => "minecraft:polished_tuff_slab", + PolishedTuffStairs => "minecraft:polished_tuff_stairs", + PolishedTuffWall => "minecraft:polished_tuff_wall", + ChiseledTuff => "minecraft:chiseled_tuff", + TuffBricks => "minecraft:tuff_bricks", + TuffBrickSlab => "minecraft:tuff_brick_slab", + TuffBrickStairs => "minecraft:tuff_brick_stairs", + TuffBrickWall => "minecraft:tuff_brick_wall", + ChiseledTuffBricks => "minecraft:chiseled_tuff_bricks", Calcite => "minecraft:calcite", TintedGlass => "minecraft:tinted_glass", PowderSnow => "minecraft:powder_snow", @@ -1100,16 +1113,24 @@ enum Block { SculkVein => "minecraft:sculk_vein", SculkCatalyst => "minecraft:sculk_catalyst", SculkShrieker => "minecraft:sculk_shrieker", - OxidizedCopper => "minecraft:oxidized_copper", - WeatheredCopper => "minecraft:weathered_copper", - ExposedCopper => "minecraft:exposed_copper", CopperBlock => "minecraft:copper_block", + ExposedCopper => "minecraft:exposed_copper", + WeatheredCopper => "minecraft:weathered_copper", + OxidizedCopper => "minecraft:oxidized_copper", CopperOre => "minecraft:copper_ore", DeepslateCopperOre => "minecraft:deepslate_copper_ore", OxidizedCutCopper => "minecraft:oxidized_cut_copper", WeatheredCutCopper => "minecraft:weathered_cut_copper", ExposedCutCopper => "minecraft:exposed_cut_copper", CutCopper => "minecraft:cut_copper", + OxidizedChiseledCopper => "minecraft:oxidized_chiseled_copper", + WeatheredChiseledCopper => "minecraft:weathered_chiseled_copper", + ExposedChiseledCopper => "minecraft:exposed_chiseled_copper", + ChiseledCopper => "minecraft:chiseled_copper", + WaxedOxidizedChiseledCopper => "minecraft:waxed_oxidized_chiseled_copper", + WaxedWeatheredChiseledCopper => "minecraft:waxed_weathered_chiseled_copper", + WaxedExposedChiseledCopper => "minecraft:waxed_exposed_chiseled_copper", + WaxedChiseledCopper => "minecraft:waxed_chiseled_copper", OxidizedCutCopperStairs => "minecraft:oxidized_cut_copper_stairs", WeatheredCutCopperStairs => "minecraft:weathered_cut_copper_stairs", ExposedCutCopperStairs => "minecraft:exposed_cut_copper_stairs", @@ -1134,6 +1155,38 @@ enum Block { WaxedWeatheredCutCopperSlab => "minecraft:waxed_weathered_cut_copper_slab", WaxedExposedCutCopperSlab => "minecraft:waxed_exposed_cut_copper_slab", WaxedCutCopperSlab => "minecraft:waxed_cut_copper_slab", + CopperDoor => "minecraft:copper_door", + ExposedCopperDoor => "minecraft:exposed_copper_door", + OxidizedCopperDoor => "minecraft:oxidized_copper_door", + WeatheredCopperDoor => "minecraft:weathered_copper_door", + WaxedCopperDoor => "minecraft:waxed_copper_door", + WaxedExposedCopperDoor => "minecraft:waxed_exposed_copper_door", + WaxedOxidizedCopperDoor => "minecraft:waxed_oxidized_copper_door", + WaxedWeatheredCopperDoor => "minecraft:waxed_weathered_copper_door", + CopperTrapdoor => "minecraft:copper_trapdoor", + ExposedCopperTrapdoor => "minecraft:exposed_copper_trapdoor", + OxidizedCopperTrapdoor => "minecraft:oxidized_copper_trapdoor", + WeatheredCopperTrapdoor => "minecraft:weathered_copper_trapdoor", + WaxedCopperTrapdoor => "minecraft:waxed_copper_trapdoor", + WaxedExposedCopperTrapdoor => "minecraft:waxed_exposed_copper_trapdoor", + WaxedOxidizedCopperTrapdoor => "minecraft:waxed_oxidized_copper_trapdoor", + WaxedWeatheredCopperTrapdoor => "minecraft:waxed_weathered_copper_trapdoor", + CopperGrate => "minecraft:copper_grate", + ExposedCopperGrate => "minecraft:exposed_copper_grate", + WeatheredCopperGrate => "minecraft:weathered_copper_grate", + OxidizedCopperGrate => "minecraft:oxidized_copper_grate", + WaxedCopperGrate => "minecraft:waxed_copper_grate", + WaxedExposedCopperGrate => "minecraft:waxed_exposed_copper_grate", + WaxedWeatheredCopperGrate => "minecraft:waxed_weathered_copper_grate", + WaxedOxidizedCopperGrate => "minecraft:waxed_oxidized_copper_grate", + CopperBulb => "minecraft:copper_bulb", + ExposedCopperBulb => "minecraft:exposed_copper_bulb", + WeatheredCopperBulb => "minecraft:weathered_copper_bulb", + OxidizedCopperBulb => "minecraft:oxidized_copper_bulb", + WaxedCopperBulb => "minecraft:waxed_copper_bulb", + WaxedExposedCopperBulb => "minecraft:waxed_exposed_copper_bulb", + WaxedWeatheredCopperBulb => "minecraft:waxed_weathered_copper_bulb", + WaxedOxidizedCopperBulb => "minecraft:waxed_oxidized_copper_bulb", LightningRod => "minecraft:lightning_rod", PointedDripstone => "minecraft:pointed_dripstone", DripstoneBlock => "minecraft:dripstone_block", @@ -1184,6 +1237,8 @@ enum Block { Frogspawn => "minecraft:frogspawn", ReinforcedDeepslate => "minecraft:reinforced_deepslate", DecoratedPot => "minecraft:decorated_pot", + Crafter => "minecraft:crafter", + TrialSpawner => "minecraft:trial_spawner", } } @@ -1233,6 +1288,8 @@ enum BlockEntityKind { ChiseledBookshelf => "minecraft:chiseled_bookshelf", BrushableBlock => "minecraft:brushable_block", DecoratedPot => "minecraft:decorated_pot", + Crafter => "minecraft:crafter", + TrialSpawner => "minecraft:trial_spawner", } } @@ -1306,6 +1363,7 @@ enum CommandArgumentKind { ItemPredicate => "minecraft:item_predicate", Color => "minecraft:color", Component => "minecraft:component", + Style => "minecraft:style", Message => "minecraft:message", NbtCompoundTag => "minecraft:nbt_compound_tag", NbtTag => "minecraft:nbt_tag", @@ -1477,6 +1535,7 @@ enum EntityKind { Blaze => "minecraft:blaze", BlockDisplay => "minecraft:block_display", Boat => "minecraft:boat", + Breeze => "minecraft:breeze", Camel => "minecraft:camel", Cat => "minecraft:cat", CaveSpider => "minecraft:cave_spider", @@ -1579,6 +1638,7 @@ enum EntityKind { Vindicator => "minecraft:vindicator", WanderingTrader => "minecraft:wandering_trader", Warden => "minecraft:warden", + WindCharge => "minecraft:wind_charge", Witch => "minecraft:witch", Wither => "minecraft:wither", WitherSkeleton => "minecraft:wither_skeleton", @@ -1736,6 +1796,19 @@ enum Item { PolishedDeepslate => "minecraft:polished_deepslate", Calcite => "minecraft:calcite", Tuff => "minecraft:tuff", + TuffSlab => "minecraft:tuff_slab", + TuffStairs => "minecraft:tuff_stairs", + TuffWall => "minecraft:tuff_wall", + ChiseledTuff => "minecraft:chiseled_tuff", + PolishedTuff => "minecraft:polished_tuff", + PolishedTuffSlab => "minecraft:polished_tuff_slab", + PolishedTuffStairs => "minecraft:polished_tuff_stairs", + PolishedTuffWall => "minecraft:polished_tuff_wall", + TuffBricks => "minecraft:tuff_bricks", + TuffBrickSlab => "minecraft:tuff_brick_slab", + TuffBrickStairs => "minecraft:tuff_brick_stairs", + TuffBrickWall => "minecraft:tuff_brick_wall", + ChiseledTuffBricks => "minecraft:chiseled_tuff_bricks", DripstoneBlock => "minecraft:dripstone_block", GrassBlock => "minecraft:grass_block", Dirt => "minecraft:dirt", @@ -1805,6 +1878,10 @@ enum Item { ExposedCopper => "minecraft:exposed_copper", WeatheredCopper => "minecraft:weathered_copper", OxidizedCopper => "minecraft:oxidized_copper", + ChiseledCopper => "minecraft:chiseled_copper", + ExposedChiseledCopper => "minecraft:exposed_chiseled_copper", + WeatheredChiseledCopper => "minecraft:weathered_chiseled_copper", + OxidizedChiseledCopper => "minecraft:oxidized_chiseled_copper", CutCopper => "minecraft:cut_copper", ExposedCutCopper => "minecraft:exposed_cut_copper", WeatheredCutCopper => "minecraft:weathered_cut_copper", @@ -1821,6 +1898,10 @@ enum Item { WaxedExposedCopper => "minecraft:waxed_exposed_copper", WaxedWeatheredCopper => "minecraft:waxed_weathered_copper", WaxedOxidizedCopper => "minecraft:waxed_oxidized_copper", + WaxedChiseledCopper => "minecraft:waxed_chiseled_copper", + WaxedExposedChiseledCopper => "minecraft:waxed_exposed_chiseled_copper", + WaxedWeatheredChiseledCopper => "minecraft:waxed_weathered_chiseled_copper", + WaxedOxidizedChiseledCopper => "minecraft:waxed_oxidized_chiseled_copper", WaxedCutCopper => "minecraft:waxed_cut_copper", WaxedExposedCutCopper => "minecraft:waxed_exposed_cut_copper", WaxedWeatheredCutCopper => "minecraft:waxed_weathered_cut_copper", @@ -1896,7 +1977,7 @@ enum Item { ChiseledSandstone => "minecraft:chiseled_sandstone", CutSandstone => "minecraft:cut_sandstone", Cobweb => "minecraft:cobweb", - Grass => "minecraft:grass", + ShortGrass => "minecraft:short_grass", Fern => "minecraft:fern", Azalea => "minecraft:azalea", FloweringAzalea => "minecraft:flowering_azalea", @@ -2423,6 +2504,14 @@ enum Item { BambooDoor => "minecraft:bamboo_door", CrimsonDoor => "minecraft:crimson_door", WarpedDoor => "minecraft:warped_door", + CopperDoor => "minecraft:copper_door", + ExposedCopperDoor => "minecraft:exposed_copper_door", + WeatheredCopperDoor => "minecraft:weathered_copper_door", + OxidizedCopperDoor => "minecraft:oxidized_copper_door", + WaxedCopperDoor => "minecraft:waxed_copper_door", + WaxedExposedCopperDoor => "minecraft:waxed_exposed_copper_door", + WaxedWeatheredCopperDoor => "minecraft:waxed_weathered_copper_door", + WaxedOxidizedCopperDoor => "minecraft:waxed_oxidized_copper_door", IronTrapdoor => "minecraft:iron_trapdoor", OakTrapdoor => "minecraft:oak_trapdoor", SpruceTrapdoor => "minecraft:spruce_trapdoor", @@ -2435,6 +2524,14 @@ enum Item { BambooTrapdoor => "minecraft:bamboo_trapdoor", CrimsonTrapdoor => "minecraft:crimson_trapdoor", WarpedTrapdoor => "minecraft:warped_trapdoor", + CopperTrapdoor => "minecraft:copper_trapdoor", + ExposedCopperTrapdoor => "minecraft:exposed_copper_trapdoor", + WeatheredCopperTrapdoor => "minecraft:weathered_copper_trapdoor", + OxidizedCopperTrapdoor => "minecraft:oxidized_copper_trapdoor", + WaxedCopperTrapdoor => "minecraft:waxed_copper_trapdoor", + WaxedExposedCopperTrapdoor => "minecraft:waxed_exposed_copper_trapdoor", + WaxedWeatheredCopperTrapdoor => "minecraft:waxed_weathered_copper_trapdoor", + WaxedOxidizedCopperTrapdoor => "minecraft:waxed_oxidized_copper_trapdoor", OakFenceGate => "minecraft:oak_fence_gate", SpruceFenceGate => "minecraft:spruce_fence_gate", BirchFenceGate => "minecraft:birch_fence_gate", @@ -2664,6 +2761,7 @@ enum Item { RedBed => "minecraft:red_bed", BlackBed => "minecraft:black_bed", Cookie => "minecraft:cookie", + Crafter => "minecraft:crafter", FilledMap => "minecraft:filled_map", Shears => "minecraft:shears", MelonSlice => "minecraft:melon_slice", @@ -2695,6 +2793,7 @@ enum Item { BatSpawnEgg => "minecraft:bat_spawn_egg", BeeSpawnEgg => "minecraft:bee_spawn_egg", BlazeSpawnEgg => "minecraft:blaze_spawn_egg", + BreezeSpawnEgg => "minecraft:breeze_spawn_egg", CatSpawnEgg => "minecraft:cat_spawn_egg", CamelSpawnEgg => "minecraft:camel_spawn_egg", CaveSpiderSpawnEgg => "minecraft:cave_spider_spawn_egg", @@ -2978,6 +3077,24 @@ enum Item { ShelterPotterySherd => "minecraft:shelter_pottery_sherd", SkullPotterySherd => "minecraft:skull_pottery_sherd", SnortPotterySherd => "minecraft:snort_pottery_sherd", + CopperGrate => "minecraft:copper_grate", + ExposedCopperGrate => "minecraft:exposed_copper_grate", + WeatheredCopperGrate => "minecraft:weathered_copper_grate", + OxidizedCopperGrate => "minecraft:oxidized_copper_grate", + WaxedCopperGrate => "minecraft:waxed_copper_grate", + WaxedExposedCopperGrate => "minecraft:waxed_exposed_copper_grate", + WaxedWeatheredCopperGrate => "minecraft:waxed_weathered_copper_grate", + WaxedOxidizedCopperGrate => "minecraft:waxed_oxidized_copper_grate", + CopperBulb => "minecraft:copper_bulb", + ExposedCopperBulb => "minecraft:exposed_copper_bulb", + WeatheredCopperBulb => "minecraft:weathered_copper_bulb", + OxidizedCopperBulb => "minecraft:oxidized_copper_bulb", + WaxedCopperBulb => "minecraft:waxed_copper_bulb", + WaxedExposedCopperBulb => "minecraft:waxed_exposed_copper_bulb", + WaxedWeatheredCopperBulb => "minecraft:waxed_weathered_copper_bulb", + WaxedOxidizedCopperBulb => "minecraft:waxed_oxidized_copper_bulb", + TrialSpawner => "minecraft:trial_spawner", + TrialKey => "minecraft:trial_key", } } @@ -3171,6 +3288,13 @@ enum MemoryModuleKind { SnifferSniffingTarget => "minecraft:sniffer_sniffing_target", SnifferDigging => "minecraft:sniffer_digging", SnifferHappy => "minecraft:sniffer_happy", + BreezeJumpCooldown => "minecraft:breeze_jump_cooldown", + BreezeShoot => "minecraft:breeze_shoot", + BreezeShootCharging => "minecraft:breeze_shoot_charging", + BreezeShootRecover => "minecraft:breeze_shoot_recover", + BreezeShootCooldown => "minecraft:breeze_shoot_cooldown", + BreezeJumpInhaling => "minecraft:breeze_jump_inhaling", + BreezeJumpTarget => "minecraft:breeze_jump_target", } } @@ -3302,6 +3426,8 @@ enum ParticleKind { EntityEffect => "minecraft:entity_effect", ExplosionEmitter => "minecraft:explosion_emitter", Explosion => "minecraft:explosion", + Gust => "minecraft:gust", + GustEmitter => "minecraft:gust_emitter", SonicBoom => "minecraft:sonic_boom", FallingDust => "minecraft:falling_dust", Firework => "minecraft:firework", @@ -3330,6 +3456,7 @@ enum ParticleKind { Portal => "minecraft:portal", Rain => "minecraft:rain", Smoke => "minecraft:smoke", + WhiteSmoke => "minecraft:white_smoke", Sneeze => "minecraft:sneeze", Spit => "minecraft:spit", SquidInk => "minecraft:squid_ink", @@ -3373,6 +3500,9 @@ enum ParticleKind { Scrape => "minecraft:scrape", Shriek => "minecraft:shriek", EggCrack => "minecraft:egg_crack", + DustPlume => "minecraft:dust_plume", + GustDust => "minecraft:gust_dust", + TrialSpawnerDetection => "minecraft:trial_spawner_detection", } } @@ -3549,6 +3679,7 @@ enum SensorKind { IsInWater => "minecraft:is_in_water", WardenEntitySensor => "minecraft:warden_entity_sensor", SnifferTemptations => "minecraft:sniffer_temptations", + BreezeAttackEntitySensor => "minecraft:breeze_attack_entity_sensor", } } @@ -3720,6 +3851,15 @@ enum SoundEvent { ItemBottleEmpty => "minecraft:item.bottle.empty", ItemBottleFill => "minecraft:item.bottle.fill", ItemBottleFillDragonbreath => "minecraft:item.bottle.fill_dragonbreath", + EntityBreezeInhale => "minecraft:entity.breeze.inhale", + EntityBreezeIdleGround => "minecraft:entity.breeze.idle_ground", + EntityBreezeIdleAir => "minecraft:entity.breeze.idle_air", + EntityBreezeShoot => "minecraft:entity.breeze.shoot", + EntityBreezeJump => "minecraft:entity.breeze.jump", + EntityBreezeLand => "minecraft:entity.breeze.land", + EntityBreezeSlide => "minecraft:entity.breeze.slide", + EntityBreezeDeath => "minecraft:entity.breeze.death", + EntityBreezeHurt => "minecraft:entity.breeze.hurt", BlockBrewingStandBrew => "minecraft:block.brewing_stand.brew", ItemBrushBrushingGeneric => "minecraft:item.brush.brushing.generic", ItemBrushBrushingSand => "minecraft:item.brush.brushing.sand", @@ -3855,11 +3995,27 @@ enum SoundEvent { BlockConduitAmbientShort => "minecraft:block.conduit.ambient.short", BlockConduitAttackTarget => "minecraft:block.conduit.attack.target", BlockConduitDeactivate => "minecraft:block.conduit.deactivate", + BlockCopperBulbBreak => "minecraft:block.copper_bulb.break", + BlockCopperBulbStep => "minecraft:block.copper_bulb.step", + BlockCopperBulbPlace => "minecraft:block.copper_bulb.place", + BlockCopperBulbHit => "minecraft:block.copper_bulb.hit", + BlockCopperBulbFall => "minecraft:block.copper_bulb.fall", + BlockCopperBulbTurnOn => "minecraft:block.copper_bulb.turn_on", + BlockCopperBulbTurnOff => "minecraft:block.copper_bulb.turn_off", BlockCopperBreak => "minecraft:block.copper.break", BlockCopperStep => "minecraft:block.copper.step", BlockCopperPlace => "minecraft:block.copper.place", BlockCopperHit => "minecraft:block.copper.hit", BlockCopperFall => "minecraft:block.copper.fall", + BlockCopperDoorClose => "minecraft:block.copper_door.close", + BlockCopperDoorOpen => "minecraft:block.copper_door.open", + BlockCopperGrateBreak => "minecraft:block.copper_grate.break", + BlockCopperGrateStep => "minecraft:block.copper_grate.step", + BlockCopperGratePlace => "minecraft:block.copper_grate.place", + BlockCopperGrateHit => "minecraft:block.copper_grate.hit", + BlockCopperGrateFall => "minecraft:block.copper_grate.fall", + BlockCopperTrapdoorClose => "minecraft:block.copper_trapdoor.close", + BlockCopperTrapdoorOpen => "minecraft:block.copper_trapdoor.open", BlockCoralBlockBreak => "minecraft:block.coral_block.break", BlockCoralBlockFall => "minecraft:block.coral_block.fall", BlockCoralBlockHit => "minecraft:block.coral_block.hit", @@ -3870,6 +4026,8 @@ enum SoundEvent { EntityCowHurt => "minecraft:entity.cow.hurt", EntityCowMilk => "minecraft:entity.cow.milk", EntityCowStep => "minecraft:entity.cow.step", + BlockCrafterCraft => "minecraft:block.crafter.craft", + BlockCrafterFail => "minecraft:block.crafter.fail", EntityCreeperDeath => "minecraft:entity.creeper.death", EntityCreeperHurt => "minecraft:entity.creeper.hurt", EntityCreeperPrimed => "minecraft:entity.creeper.primed", @@ -3886,6 +4044,8 @@ enum SoundEvent { BlockDecoratedPotBreak => "minecraft:block.decorated_pot.break", BlockDecoratedPotFall => "minecraft:block.decorated_pot.fall", BlockDecoratedPotHit => "minecraft:block.decorated_pot.hit", + BlockDecoratedPotInsert => "minecraft:block.decorated_pot.insert", + BlockDecoratedPotInsertFail => "minecraft:block.decorated_pot.insert_fail", BlockDecoratedPotStep => "minecraft:block.decorated_pot.step", BlockDecoratedPotPlace => "minecraft:block.decorated_pot.place", BlockDecoratedPotShatter => "minecraft:block.decorated_pot.shatter", @@ -4163,6 +4323,17 @@ enum SoundEvent { BlockBambooWoodHangingSignFall => "minecraft:block.bamboo_wood_hanging_sign.fall", BlockBambooWoodHangingSignHit => "minecraft:block.bamboo_wood_hanging_sign.hit", BlockBambooWoodHangingSignPlace => "minecraft:block.bamboo_wood_hanging_sign.place", + BlockTrialSpawnerBreak => "minecraft:block.trial_spawner.break", + BlockTrialSpawnerStep => "minecraft:block.trial_spawner.step", + BlockTrialSpawnerPlace => "minecraft:block.trial_spawner.place", + BlockTrialSpawnerHit => "minecraft:block.trial_spawner.hit", + BlockTrialSpawnerFall => "minecraft:block.trial_spawner.fall", + BlockTrialSpawnerSpawnMob => "minecraft:block.trial_spawner.spawn_mob", + BlockTrialSpawnerDetectPlayer => "minecraft:block.trial_spawner.detect_player", + BlockTrialSpawnerAmbient => "minecraft:block.trial_spawner.ambient", + BlockTrialSpawnerOpenShutter => "minecraft:block.trial_spawner.open_shutter", + BlockTrialSpawnerCloseShutter => "minecraft:block.trial_spawner.close_shutter", + BlockTrialSpawnerEjectItem => "minecraft:block.trial_spawner.eject_item", ItemHoeTill => "minecraft:item.hoe.till", EntityHoglinAmbient => "minecraft:entity.hoglin.ambient", EntityHoglinAngry => "minecraft:entity.hoglin.angry", @@ -4497,6 +4668,7 @@ enum SoundEvent { EntityParrotFly => "minecraft:entity.parrot.fly", EntityParrotHurt => "minecraft:entity.parrot.hurt", EntityParrotImitateBlaze => "minecraft:entity.parrot.imitate.blaze", + EntityParrotImitateBreeze => "minecraft:entity.parrot.imitate.breeze", EntityParrotImitateCreeper => "minecraft:entity.parrot.imitate.creeper", EntityParrotImitateDrowned => "minecraft:entity.parrot.imitate.drowned", EntityParrotImitateElderGuardian => "minecraft:entity.parrot.imitate.elder_guardian", @@ -4583,6 +4755,7 @@ enum SoundEvent { EntityPlayerSplash => "minecraft:entity.player.splash", EntityPlayerSplashHighSpeed => "minecraft:entity.player.splash.high_speed", EntityPlayerSwim => "minecraft:entity.player.swim", + EntityPlayerTeleport => "minecraft:entity.player.teleport", EntityPolarBearAmbient => "minecraft:entity.polar_bear.ambient", EntityPolarBearAmbientBaby => "minecraft:entity.polar_bear.ambient_baby", EntityPolarBearDeath => "minecraft:entity.polar_bear.death", @@ -4868,6 +5041,16 @@ enum SoundEvent { BlockTuffPlace => "minecraft:block.tuff.place", BlockTuffHit => "minecraft:block.tuff.hit", BlockTuffFall => "minecraft:block.tuff.fall", + BlockTuffBricksBreak => "minecraft:block.tuff_bricks.break", + BlockTuffBricksFall => "minecraft:block.tuff_bricks.fall", + BlockTuffBricksHit => "minecraft:block.tuff_bricks.hit", + BlockTuffBricksPlace => "minecraft:block.tuff_bricks.place", + BlockTuffBricksStep => "minecraft:block.tuff_bricks.step", + BlockPolishedTuffBreak => "minecraft:block.polished_tuff.break", + BlockPolishedTuffFall => "minecraft:block.polished_tuff.fall", + BlockPolishedTuffHit => "minecraft:block.polished_tuff.hit", + BlockPolishedTuffPlace => "minecraft:block.polished_tuff.place", + BlockPolishedTuffStep => "minecraft:block.polished_tuff.step", EntityTurtleAmbientLand => "minecraft:entity.turtle.ambient_land", EntityTurtleDeath => "minecraft:entity.turtle.death", EntityTurtleDeathBaby => "minecraft:entity.turtle.death_baby", @@ -4953,6 +5136,7 @@ enum SoundEvent { EntityWardenSonicCharge => "minecraft:entity.warden.sonic_charge", EntityWardenStep => "minecraft:entity.warden.step", EntityWardenTendrilClicks => "minecraft:entity.warden.tendril_clicks", + BlockHangingSignWaxedInteractFail => "minecraft:block.hanging_sign.waxed_interact_fail", BlockSignWaxedInteractFail => "minecraft:block.sign.waxed_interact_fail", BlockWaterAmbient => "minecraft:block.water.ambient", WeatherRain => "minecraft:weather.rain", @@ -4967,6 +5151,7 @@ enum SoundEvent { BlockWetSpongeHit => "minecraft:block.wet_sponge.hit", BlockWetSpongePlace => "minecraft:block.wet_sponge.place", BlockWetSpongeStep => "minecraft:block.wet_sponge.step", + EntityGenericWindBurst => "minecraft:entity.generic.wind_burst", EntityWitchAmbient => "minecraft:entity.witch.ambient", EntityWitchCelebrate => "minecraft:entity.witch.celebrate", EntityWitchDeath => "minecraft:entity.witch.death", @@ -5506,6 +5691,7 @@ enum MenuKind { Generic9x5 => "minecraft:generic_9x5", Generic9x6 => "minecraft:generic_9x6", Generic3x3 => "minecraft:generic_3x3", + Crafter3x3 => "minecraft:crafter_3x3", Anvil => "minecraft:anvil", Beacon => "minecraft:beacon", BlastFurnace => "minecraft:blast_furnace", @@ -5525,3 +5711,320 @@ enum MenuKind { Stonecutter => "minecraft:stonecutter", } } + +registry! { +enum BlockKind { + Block => "minecraft:block", + Air => "minecraft:air", + Amethyst => "minecraft:amethyst", + AmethystCluster => "minecraft:amethyst_cluster", + Anvil => "minecraft:anvil", + AttachedStem => "minecraft:attached_stem", + Azalea => "minecraft:azalea", + BambooSapling => "minecraft:bamboo_sapling", + BambooStalk => "minecraft:bamboo_stalk", + Banner => "minecraft:banner", + Barrel => "minecraft:barrel", + Barrier => "minecraft:barrier", + BaseCoralFan => "minecraft:base_coral_fan", + BaseCoralPlant => "minecraft:base_coral_plant", + BaseCoralWallFan => "minecraft:base_coral_wall_fan", + Beacon => "minecraft:beacon", + Bed => "minecraft:bed", + Beehive => "minecraft:beehive", + Beetroot => "minecraft:beetroot", + Bell => "minecraft:bell", + BigDripleaf => "minecraft:big_dripleaf", + BigDripleafStem => "minecraft:big_dripleaf_stem", + BlastFurnace => "minecraft:blast_furnace", + BrewingStand => "minecraft:brewing_stand", + Brushable => "minecraft:brushable", + BubbleColumn => "minecraft:bubble_column", + BuddingAmethyst => "minecraft:budding_amethyst", + Button => "minecraft:button", + Cactus => "minecraft:cactus", + Cake => "minecraft:cake", + CalibratedSculkSensor => "minecraft:calibrated_sculk_sensor", + Campfire => "minecraft:campfire", + CandleCake => "minecraft:candle_cake", + Candle => "minecraft:candle", + 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", + CeilingHangingSign => "minecraft:ceiling_hanging_sign", + Chain => "minecraft:chain", + CherryLeaves => "minecraft:cherry_leaves", + Chest => "minecraft:chest", + ChiseledBookShelf => "minecraft:chiseled_book_shelf", + ChorusFlower => "minecraft:chorus_flower", + ChorusPlant => "minecraft:chorus_plant", + Cocoa => "minecraft:cocoa", + ColoredFalling => "minecraft:colored_falling", + Command => "minecraft:command", + Comparator => "minecraft:comparator", + Composter => "minecraft:composter", + ConcretePowder => "minecraft:concrete_powder", + Conduit => "minecraft:conduit", + CopperBulbBlock => "minecraft:copper_bulb_block", + Coral => "minecraft:coral", + CoralFan => "minecraft:coral_fan", + CoralPlant => "minecraft:coral_plant", + CoralWallFan => "minecraft:coral_wall_fan", + Crafter => "minecraft:crafter", + CraftingTable => "minecraft:crafting_table", + Crop => "minecraft:crop", + CryingObsidian => "minecraft:crying_obsidian", + DaylightDetector => "minecraft:daylight_detector", + DeadBush => "minecraft:dead_bush", + DecoratedPot => "minecraft:decorated_pot", + DetectorRail => "minecraft:detector_rail", + DirtPath => "minecraft:dirt_path", + Dispenser => "minecraft:dispenser", + Door => "minecraft:door", + DoublePlant => "minecraft:double_plant", + DragonEgg => "minecraft:dragon_egg", + DropExperience => "minecraft:drop_experience", + Dropper => "minecraft:dropper", + EnchantmentTable => "minecraft:enchantment_table", + EnderChest => "minecraft:ender_chest", + EndGateway => "minecraft:end_gateway", + EndPortal => "minecraft:end_portal", + EndPortalFrame => "minecraft:end_portal_frame", + EndRod => "minecraft:end_rod", + Farm => "minecraft:farm", + Fence => "minecraft:fence", + FenceGate => "minecraft:fence_gate", + Fire => "minecraft:fire", + FletchingTable => "minecraft:fletching_table", + Flower => "minecraft:flower", + FlowerPot => "minecraft:flower_pot", + Frogspawn => "minecraft:frogspawn", + FrostedIce => "minecraft:frosted_ice", + Fungus => "minecraft:fungus", + Furnace => "minecraft:furnace", + GlazedTerracotta => "minecraft:glazed_terracotta", + GlowLichen => "minecraft:glow_lichen", + Grass => "minecraft:grass", + Grindstone => "minecraft:grindstone", + HalfTransparent => "minecraft:half_transparent", + HangingRoots => "minecraft:hanging_roots", + Hay => "minecraft:hay", + Honey => "minecraft:honey", + Hopper => "minecraft:hopper", + HugeMushroom => "minecraft:huge_mushroom", + Ice => "minecraft:ice", + Infested => "minecraft:infested", + InfestedRotatedPillar => "minecraft:infested_rotated_pillar", + IronBars => "minecraft:iron_bars", + JackOLantern => "minecraft:jack_o_lantern", + Jigsaw => "minecraft:jigsaw", + Jukebox => "minecraft:jukebox", + Kelp => "minecraft:kelp", + KelpPlant => "minecraft:kelp_plant", + Ladder => "minecraft:ladder", + Lantern => "minecraft:lantern", + LavaCauldron => "minecraft:lava_cauldron", + LayeredCauldron => "minecraft:layered_cauldron", + Leaves => "minecraft:leaves", + Lectern => "minecraft:lectern", + Lever => "minecraft:lever", + Light => "minecraft:light", + LightningRod => "minecraft:lightning_rod", + Liquid => "minecraft:liquid", + Loom => "minecraft:loom", + Magma => "minecraft:magma", + MangroveLeaves => "minecraft:mangrove_leaves", + MangrovePropagule => "minecraft:mangrove_propagule", + MangroveRoots => "minecraft:mangrove_roots", + Moss => "minecraft:moss", + MovingPiston => "minecraft:moving_piston", + Mud => "minecraft:mud", + Mushroom => "minecraft:mushroom", + Mycelium => "minecraft:mycelium", + NetherPortal => "minecraft:nether_portal", + Netherrack => "minecraft:netherrack", + NetherSprouts => "minecraft:nether_sprouts", + NetherWart => "minecraft:nether_wart", + Note => "minecraft:note", + Nylium => "minecraft:nylium", + Observer => "minecraft:observer", + Piglinwallskull => "minecraft:piglinwallskull", + PinkPetals => "minecraft:pink_petals", + PistonBase => "minecraft:piston_base", + PistonHead => "minecraft:piston_head", + PitcherCrop => "minecraft:pitcher_crop", + PlayerHead => "minecraft:player_head", + PlayerWallHead => "minecraft:player_wall_head", + PointedDripstone => "minecraft:pointed_dripstone", + Potato => "minecraft:potato", + PowderSnow => "minecraft:powder_snow", + Powered => "minecraft:powered", + PoweredRail => "minecraft:powered_rail", + PressurePlate => "minecraft:pressure_plate", + Pumpkin => "minecraft:pumpkin", + Rail => "minecraft:rail", + RedstoneLamp => "minecraft:redstone_lamp", + RedstoneOre => "minecraft:redstone_ore", + RedstoneTorch => "minecraft:redstone_torch", + RedstoneWallTorch => "minecraft:redstone_wall_torch", + RedstoneWire => "minecraft:redstone_wire", + Repeater => "minecraft:repeater", + RespawnAnchor => "minecraft:respawn_anchor", + RootedDirt => "minecraft:rooted_dirt", + Roots => "minecraft:roots", + RotatedPillar => "minecraft:rotated_pillar", + Sapling => "minecraft:sapling", + Scaffolding => "minecraft:scaffolding", + SculkCatalyst => "minecraft:sculk_catalyst", + Sculk => "minecraft:sculk", + SculkSensor => "minecraft:sculk_sensor", + SculkShrieker => "minecraft:sculk_shrieker", + SculkVein => "minecraft:sculk_vein", + Seagrass => "minecraft:seagrass", + SeaPickle => "minecraft:sea_pickle", + ShulkerBox => "minecraft:shulker_box", + Skull => "minecraft:skull", + Slab => "minecraft:slab", + Slime => "minecraft:slime", + SmallDripleaf => "minecraft:small_dripleaf", + SmithingTable => "minecraft:smithing_table", + Smoker => "minecraft:smoker", + SnifferEgg => "minecraft:sniffer_egg", + SnowLayer => "minecraft:snow_layer", + SnowyDirt => "minecraft:snowy_dirt", + SoulFire => "minecraft:soul_fire", + SoulSand => "minecraft:soul_sand", + Spawner => "minecraft:spawner", + Sponge => "minecraft:sponge", + SporeBlossom => "minecraft:spore_blossom", + StainedGlassPane => "minecraft:stained_glass_pane", + StainedGlass => "minecraft:stained_glass", + Stair => "minecraft:stair", + StandingSign => "minecraft:standing_sign", + Stem => "minecraft:stem", + Stonecutter => "minecraft:stonecutter", + Structure => "minecraft:structure", + StructureVoid => "minecraft:structure_void", + SugarCane => "minecraft:sugar_cane", + SweetBerryBush => "minecraft:sweet_berry_bush", + TallFlower => "minecraft:tall_flower", + TallGrass => "minecraft:tall_grass", + TallSeagrass => "minecraft:tall_seagrass", + Target => "minecraft:target", + TintedGlass => "minecraft:tinted_glass", + Tnt => "minecraft:tnt", + TorchflowerCrop => "minecraft:torchflower_crop", + Torch => "minecraft:torch", + Transparent => "minecraft:transparent", + Trapdoor => "minecraft:trapdoor", + TrappedChest => "minecraft:trapped_chest", + TrialSpawner => "minecraft:trial_spawner", + TripWireHook => "minecraft:trip_wire_hook", + Tripwire => "minecraft:tripwire", + TurtleEgg => "minecraft:turtle_egg", + TwistingVinesPlant => "minecraft:twisting_vines_plant", + TwistingVines => "minecraft:twisting_vines", + Vine => "minecraft:vine", + WallBanner => "minecraft:wall_banner", + WallHangingSign => "minecraft:wall_hanging_sign", + WallSign => "minecraft:wall_sign", + WallSkull => "minecraft:wall_skull", + WallTorch => "minecraft:wall_torch", + Wall => "minecraft:wall", + Waterlily => "minecraft:waterlily", + WaterloggedTransparent => "minecraft:waterlogged_transparent", + WeatheringCopperBulb => "minecraft:weathering_copper_bulb", + WeatheringCopperDoor => "minecraft:weathering_copper_door", + WeatheringCopperFull => "minecraft:weathering_copper_full", + WeatheringCopperGrate => "minecraft:weathering_copper_grate", + WeatheringCopperSlab => "minecraft:weathering_copper_slab", + WeatheringCopperStair => "minecraft:weathering_copper_stair", + WeatheringCopperTrapDoor => "minecraft:weathering_copper_trap_door", + Web => "minecraft:web", + WeepingVinesPlant => "minecraft:weeping_vines_plant", + WeepingVines => "minecraft:weeping_vines", + WeightedPressurePlate => "minecraft:weighted_pressure_plate", + WetSponge => "minecraft:wet_sponge", + WitherRose => "minecraft:wither_rose", + WitherSkull => "minecraft:wither_skull", + WitherWallSkull => "minecraft:wither_wall_skull", + WoolCarpet => "minecraft:wool_carpet", +} +} + +registry! { +enum WorldgenPoolAliasBinding { + Random => "minecraft:random", + RandomGroup => "minecraft:random_group", + Direct => "minecraft:direct", +} +} + +registry! { +enum TriggerKind { + Impossible => "minecraft:impossible", + PlayerKilledEntity => "minecraft:player_killed_entity", + EntityKilledPlayer => "minecraft:entity_killed_player", + EnterBlock => "minecraft:enter_block", + InventoryChanged => "minecraft:inventory_changed", + RecipeUnlocked => "minecraft:recipe_unlocked", + PlayerHurtEntity => "minecraft:player_hurt_entity", + EntityHurtPlayer => "minecraft:entity_hurt_player", + EnchantedItem => "minecraft:enchanted_item", + FilledBucket => "minecraft:filled_bucket", + BrewedPotion => "minecraft:brewed_potion", + ConstructBeacon => "minecraft:construct_beacon", + UsedEnderEye => "minecraft:used_ender_eye", + SummonedEntity => "minecraft:summoned_entity", + BredAnimals => "minecraft:bred_animals", + Location => "minecraft:location", + SleptInBed => "minecraft:slept_in_bed", + CuredZombieVillager => "minecraft:cured_zombie_villager", + VillagerTrade => "minecraft:villager_trade", + ItemDurabilityChanged => "minecraft:item_durability_changed", + Levitation => "minecraft:levitation", + ChangedDimension => "minecraft:changed_dimension", + Tick => "minecraft:tick", + TameAnimal => "minecraft:tame_animal", + PlacedBlock => "minecraft:placed_block", + ConsumeItem => "minecraft:consume_item", + EffectsChanged => "minecraft:effects_changed", + UsedTotem => "minecraft:used_totem", + NetherTravel => "minecraft:nether_travel", + FishingRodHooked => "minecraft:fishing_rod_hooked", + ChanneledLightning => "minecraft:channeled_lightning", + ShotCrossbow => "minecraft:shot_crossbow", + KilledByCrossbow => "minecraft:killed_by_crossbow", + HeroOfTheVillage => "minecraft:hero_of_the_village", + VoluntaryExile => "minecraft:voluntary_exile", + SlideDownBlock => "minecraft:slide_down_block", + BeeNestDestroyed => "minecraft:bee_nest_destroyed", + TargetHit => "minecraft:target_hit", + ItemUsedOnBlock => "minecraft:item_used_on_block", + PlayerGeneratesContainerLoot => "minecraft:player_generates_container_loot", + ThrownItemPickedUpByEntity => "minecraft:thrown_item_picked_up_by_entity", + ThrownItemPickedUpByPlayer => "minecraft:thrown_item_picked_up_by_player", + PlayerInteractedWithEntity => "minecraft:player_interacted_with_entity", + StartedRiding => "minecraft:started_riding", + LightningStrike => "minecraft:lightning_strike", + UsingItem => "minecraft:using_item", + FallFromHeight => "minecraft:fall_from_height", + RideEntityInLava => "minecraft:ride_entity_in_lava", + KillMobNearSculkCatalyst => "minecraft:kill_mob_near_sculk_catalyst", + AllayDropItemOnBlock => "minecraft:allay_drop_item_on_block", + AvoidVibration => "minecraft:avoid_vibration", + RecipeCrafted => "minecraft:recipe_crafted", +} +} + +registry! { +enum NumberFormatKind { + Blank => "minecraft:blank", + Styled => "minecraft:styled", + Fixed => "minecraft:fixed", +} +} diff --git a/azalea-registry/src/tags/blocks.rs b/azalea-registry/src/tags/blocks.rs index f21a8012..0396eb87 100644 --- a/azalea-registry/src/tags/blocks.rs +++ b/azalea-registry/src/tags/blocks.rs @@ -80,7 +80,7 @@ pub static MINEABLE_AXE: Lazy<HashSet<Block>> = Lazy::new(|| { Block::Fern, Block::FletchingTable, Block::GlowLichen, - Block::Grass, + Block::ShortGrass, Block::HangingRoots, Block::JackOLantern, Block::Jukebox, @@ -845,7 +845,7 @@ pub static BAMBOO_PLANTABLE_ON: Lazy<HashSet<Block>> = Lazy::new(|| { }); pub static SWORD_EFFICIENT: Lazy<HashSet<Block>> = Lazy::new(|| { HashSet::from_iter(vec![ - Block::Grass, + Block::ShortGrass, Block::Fern, Block::DeadBush, Block::Vine, @@ -1534,7 +1534,7 @@ pub static DRAGON_TRANSPARENT: Lazy<HashSet<Block>> = Lazy::new(|| HashSet::from_iter(vec![Block::Light, Block::Fire, Block::SoulFire])); pub static REPLACEABLE_BY_TREES: Lazy<HashSet<Block>> = Lazy::new(|| { HashSet::from_iter(vec