mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-19 22:52:32 +00:00
23w13a
This commit is contained in:
parent
ac680d39f2
commit
659c5fea14
9 changed files with 6041 additions and 5852 deletions
|
@ -9,7 +9,7 @@ A collection of Rust crates for making Minecraft bots, clients, and tools.
|
|||
</p>
|
||||
|
||||
<!-- The line below is automatically read and updated by the migrate script, so don't change it manually. -->
|
||||
*Currently supported Minecraft version: `1.19.4`.*
|
||||
*Currently supported Minecraft version: `23w13a`.*
|
||||
|
||||
## ⚠️ Azalea is still very unfinished, though most crates are in a somewhat useable state
|
||||
|
||||
|
|
|
@ -88,6 +88,12 @@ make_block_states! {
|
|||
_2,
|
||||
_3,
|
||||
},
|
||||
"dusted" => SuspiciousGravelDusted {
|
||||
_0,
|
||||
_1,
|
||||
_2,
|
||||
_3,
|
||||
},
|
||||
"axis" => Axis {
|
||||
X,
|
||||
Y,
|
||||
|
@ -1437,7 +1443,17 @@ make_block_states! {
|
|||
"age" => TorchflowerCropAge {
|
||||
_0,
|
||||
_1,
|
||||
},
|
||||
"age" => _0_1_2_3_4 {
|
||||
_0,
|
||||
_1,
|
||||
_2,
|
||||
_3,
|
||||
_4,
|
||||
},
|
||||
"half" => UpperLower {
|
||||
Upper,
|
||||
Lower,
|
||||
},
|
||||
"age" => BeetrootsAge {
|
||||
_0,
|
||||
|
@ -1490,6 +1506,11 @@ make_block_states! {
|
|||
_1,
|
||||
_2,
|
||||
},
|
||||
"age" => SnifferEggAge {
|
||||
_0,
|
||||
_1,
|
||||
_2,
|
||||
},
|
||||
"pickles" => SeaPicklePickles {
|
||||
_1,
|
||||
_2,
|
||||
|
@ -1824,6 +1845,24 @@ make_block_states! {
|
|||
Active,
|
||||
Cooldown,
|
||||
},
|
||||
"power" => CalibratedSculkSensorPower {
|
||||
_0,
|
||||
_1,
|
||||
_2,
|
||||
_3,
|
||||
_4,
|
||||
_5,
|
||||
_6,
|
||||
_7,
|
||||
_8,
|
||||
_9,
|
||||
_10,
|
||||
_11,
|
||||
_12,
|
||||
_13,
|
||||
_14,
|
||||
_15,
|
||||
},
|
||||
"south" => bool,
|
||||
"west" => bool,
|
||||
"bloom" => bool,
|
||||
|
@ -1886,6 +1925,7 @@ make_block_states! {
|
|||
Y,
|
||||
Z,
|
||||
},
|
||||
"cracked" => bool,
|
||||
},
|
||||
Blocks => {
|
||||
air => BlockBehavior::default(), {},
|
||||
|
@ -1955,6 +1995,9 @@ make_block_states! {
|
|||
},
|
||||
red_sand => BlockBehavior::default(), {},
|
||||
gravel => BlockBehavior::default(), {},
|
||||
suspicious_gravel => BlockBehavior::default(), {
|
||||
dusted: SuspiciousGravelDusted::_0,
|
||||
},
|
||||
gold_ore => BlockBehavior::default(), {},
|
||||
deepslate_gold_ore => BlockBehavior::default(), {},
|
||||
iron_ore => BlockBehavior::default(), {},
|
||||
|
@ -3777,6 +3820,13 @@ make_block_states! {
|
|||
torchflower_crop => BlockBehavior::default(), {
|
||||
age: TorchflowerCropAge::_0,
|
||||
},
|
||||
pitcher_crop => BlockBehavior::default(), {
|
||||
age: _0_1_2_3_4::_0,
|
||||
half: UpperLower::Lower,
|
||||
},
|
||||
pitcher_plant => BlockBehavior::default(), {
|
||||
half: Half::Lower,
|
||||
},
|
||||
beetroots => BlockBehavior::default(), {
|
||||
age: BeetrootsAge::_0,
|
||||
},
|
||||
|
@ -3944,6 +3994,9 @@ make_block_states! {
|
|||
eggs: TurtleEggEggs::_1,
|
||||
hatch: TurtleEggHatch::_0,
|
||||
},
|
||||
sniffer_egg => BlockBehavior::default(), {
|
||||
age: SnifferEggAge::_0,
|
||||
},
|
||||
dead_tube_coral_block => BlockBehavior::default(), {},
|
||||
dead_brain_coral_block => BlockBehavior::default(), {},
|
||||
dead_bubble_coral_block => BlockBehavior::default(), {},
|
||||
|
@ -4793,6 +4846,12 @@ make_block_states! {
|
|||
sculk_sensor_phase: Phase::Inactive,
|
||||
waterlogged: false,
|
||||
},
|
||||
calibrated_sculk_sensor => BlockBehavior::default(), {
|
||||
facing: FacingCardinal::North,
|
||||
power: CalibratedSculkSensorPower::_0,
|
||||
sculk_sensor_phase: Phase::Inactive,
|
||||
waterlogged: false,
|
||||
},
|
||||
sculk => BlockBehavior::default(), {},
|
||||
sculk_vein => BlockBehavior::default(), {
|
||||
down: false,
|
||||
|
@ -5058,6 +5117,7 @@ make_block_states! {
|
|||
frogspawn => BlockBehavior::default(), {},
|
||||
reinforced_deepslate => BlockBehavior::default(), {},
|
||||
decorated_pot => BlockBehavior::default(), {
|
||||
cracked: false,
|
||||
facing: FacingCardinal::North,
|
||||
waterlogged: false,
|
||||
},
|
||||
|
|
|
@ -1256,6 +1256,7 @@
|
|||
"block.minecraft.cactus": "Cactus",
|
||||
"block.minecraft.cake": "Cake",
|
||||
"block.minecraft.calcite": "Calcite",
|
||||
"block.minecraft.calibrated_sculk_sensor": "Calibrated Sculk Sensor",
|
||||
"block.minecraft.campfire": "Campfire",
|
||||
"block.minecraft.candle": "Candle",
|
||||
"block.minecraft.candle_cake": "Cake with Candle",
|
||||
|
@ -1925,6 +1926,7 @@
|
|||
"block.minecraft.smooth_sandstone_stairs": "Smooth Sandstone Stairs",
|
||||
"block.minecraft.smooth_stone": "Smooth Stone",
|
||||
"block.minecraft.smooth_stone_slab": "Smooth Stone Slab",
|
||||
"block.minecraft.sniffer_egg": "Sniffer Egg",
|
||||
"block.minecraft.snow": "Snow",
|
||||
"block.minecraft.snow_block": "Snow Block",
|
||||
"block.minecraft.soul_campfire": "Soul Campfire",
|
||||
|
@ -1993,6 +1995,7 @@
|
|||
"block.minecraft.structure_void": "Structure Void",
|
||||
"block.minecraft.sugar_cane": "Sugar Cane",
|
||||
"block.minecraft.sunflower": "Sunflower",
|
||||
"block.minecraft.suspicious_gravel": "Suspicious Gravel",
|
||||
"block.minecraft.suspicious_sand": "Suspicious Sand",
|
||||
"block.minecraft.sweet_berry_bush": "Sweet Berry Bush",
|
||||
"block.minecraft.tall_grass": "Tall Grass",
|
||||
|
@ -2004,6 +2007,8 @@
|
|||
"block.minecraft.torch": "Torch",
|
||||
"block.minecraft.torchflower": "Torchflower",
|
||||
"block.minecraft.torchflower_crop": "Torchflower Crop",
|
||||
"block.minecraft.pitcher_plant": "Pitcher Plant",
|
||||
"block.minecraft.pitcher_crop": "Pitcher Crop",
|
||||
"block.minecraft.trapped_chest": "Trapped Chest",
|
||||
"block.minecraft.tripwire": "Tripwire",
|
||||
"block.minecraft.tripwire_hook": "Tripwire Hook",
|
||||
|
@ -2660,8 +2665,8 @@
|
|||
"container.spectatorCantOpen": "Unable to open. Loot not generated yet.",
|
||||
"container.stonecutter": "Stonecutter",
|
||||
"container.upgrade": "Upgrade Gear",
|
||||
"container.upgrade.error_tooltip": "Your item cannot be upgraded in this way",
|
||||
"container.upgrade.missing_template_tooltip": "Put a Smithing Template here",
|
||||
"container.upgrade.error_tooltip": "Item can't be upgraded this way",
|
||||
"container.upgrade.missing_template_tooltip": "Add Smithing Template",
|
||||
"controls.keybinds": "Key Binds...",
|
||||
"controls.keybinds.duplicateKeybinds": "This key is also used for:\n%s",
|
||||
"controls.keybinds.title": "Key Binds",
|
||||
|
@ -3850,10 +3855,26 @@
|
|||
"item.minecraft.potion.effect.water": "Water Bottle",
|
||||
"item.minecraft.potion.effect.water_breathing": "Potion of Water Breathing",
|
||||
"item.minecraft.potion.effect.weakness": "Potion of Weakness",
|
||||
"item.minecraft.pottery_shard_archer": "Archer Pottery Shard",
|
||||
"item.minecraft.pottery_shard_arms_up": "Arms Up Pottery Shard",
|
||||
"item.minecraft.pottery_shard_prize": "Prize Pottery Shard",
|
||||
"item.minecraft.pottery_shard_skull": "Skull Pottery Shard",
|
||||
"item.minecraft.angler_pottery_shard": "Angler Pottery Shard",
|
||||
"item.minecraft.archer_pottery_shard": "Archer Pottery Shard",
|
||||
"item.minecraft.arms_up_pottery_shard": "Arms Up Pottery Shard",
|
||||
"item.minecraft.blade_pottery_shard": "Blade Pottery Shard",
|
||||
"item.minecraft.brewer_pottery_shard": "Brewer Pottery Shard",
|
||||
"item.minecraft.burn_pottery_shard": "Burn Pottery Shard",
|
||||
"item.minecraft.danger_pottery_shard": "Danger Pottery Shard",
|
||||
"item.minecraft.explorer_pottery_shard": "Explorer Pottery Shard",
|
||||
"item.minecraft.friend_pottery_shard": "Friend Pottery Shard",
|
||||
"item.minecraft.heart_pottery_shard": "Heart Pottery Shard",
|
||||
"item.minecraft.heartbreak_pottery_shard": "Heartbreak Pottery Shard",
|
||||
"item.minecraft.howl_pottery_shard": "Howl Pottery Shard",
|
||||
"item.minecraft.miner_pottery_shard": "Miner Pottery Shard",
|
||||
"item.minecraft.mourner_pottery_shard": "Mourner Pottery Shard",
|
||||
"item.minecraft.plenty_pottery_shard": "Plenty Pottery Shard",
|
||||
"item.minecraft.prize_pottery_shard": "Prize Pottery Shard",
|
||||
"item.minecraft.sheaf_pottery_shard": "Sheaf Pottery Shard",
|
||||
"item.minecraft.shelter_pottery_shard": "Shelter Pottery Shard",
|
||||
"item.minecraft.skull_pottery_shard": "Skull Pottery Shard",
|
||||
"item.minecraft.snort_pottery_shard": "Snort Pottery Shard",
|
||||
"item.minecraft.powder_snow_bucket": "Powder Snow Bucket",
|
||||
"item.minecraft.prismarine_crystals": "Prismarine Crystals",
|
||||
"item.minecraft.prismarine_shard": "Prismarine Shard",
|
||||
|
@ -3913,14 +3934,14 @@
|
|||
"item.minecraft.slime_spawn_egg": "Slime Spawn Egg",
|
||||
"item.minecraft.smithing_template": "Smithing Template",
|
||||
"item.minecraft.smithing_template.applies_to": "Applies to:",
|
||||
"item.minecraft.smithing_template.armor_trim.additions_slot_description": "Put an ingot or crystal here",
|
||||
"item.minecraft.smithing_template.armor_trim.additions_slot_description": "Add ingot or crystal",
|
||||
"item.minecraft.smithing_template.armor_trim.applies_to": "Armor",
|
||||
"item.minecraft.smithing_template.armor_trim.base_slot_description": "Put a piece of armor here",
|
||||
"item.minecraft.smithing_template.armor_trim.base_slot_description": "Add a piece of armor",
|
||||
"item.minecraft.smithing_template.armor_trim.ingredients": "Ingots & Crystals",
|
||||
"item.minecraft.smithing_template.ingredients": "Ingredients:",
|
||||
"item.minecraft.smithing_template.netherite_upgrade.additions_slot_description": "Put a Netherite Ingot here",
|
||||
"item.minecraft.smithing_template.netherite_upgrade.additions_slot_description": "Add Netherite Ingot",
|
||||
"item.minecraft.smithing_template.netherite_upgrade.applies_to": "Diamond Equipment",
|
||||
"item.minecraft.smithing_template.netherite_upgrade.base_slot_description": "Put a piece of Diamond armor, weapon or tool here",
|
||||
"item.minecraft.smithing_template.netherite_upgrade.base_slot_description": "Add diamond armor, weapon, or tool",
|
||||
"item.minecraft.smithing_template.netherite_upgrade.ingredients": "Netherite Ingot",
|
||||
"item.minecraft.smithing_template.upgrade": "Upgrade: ",
|
||||
"item.minecraft.sniffer_spawn_egg": "Sniffer Spawn Egg",
|
||||
|
@ -3995,6 +4016,8 @@
|
|||
"item.minecraft.tipped_arrow.effect.weakness": "Arrow of Weakness",
|
||||
"item.minecraft.tnt_minecart": "Minecart with TNT",
|
||||
"item.minecraft.torchflower_seeds": "Torchflower Seeds",
|
||||
"item.minecraft.pitcher_plant": "Pitcher Plant",
|
||||
"item.minecraft.pitcher_pod": "Pitcher Pod",
|
||||
"item.minecraft.totem_of_undying": "Totem of Undying",
|
||||
"item.minecraft.trader_llama_spawn_egg": "Trader Llama Spawn Egg",
|
||||
"item.minecraft.trident": "Trident",
|
||||
|
@ -5231,6 +5254,7 @@
|
|||
"structure_block.structure_name": "Structure Name",
|
||||
"subtitles.ambient.cave": "Eerie noise",
|
||||
"subtitles.block.amethyst_block.chime": "Amethyst chimes",
|
||||
"subtitles.block.amethyst_block.resonate": "Amethyst resonates",
|
||||
"subtitles.block.anvil.destroy": "Anvil destroyed",
|
||||
"subtitles.block.anvil.land": "Anvil landed",
|
||||
"subtitles.block.anvil.use": "Anvil used",
|
||||
|
@ -5755,6 +5779,8 @@
|
|||
"subtitles.entity.sniffer.searching": "Sniffer searches",
|
||||
"subtitles.entity.sniffer.sniffing": "Sniffer sniffs",
|
||||
"subtitles.entity.sniffer.step": "Sniffer steps",
|
||||
"subtitles.entity.sniffer.egg_crack": "Sniffer Egg cracks",
|
||||
"subtitles.entity.sniffer.egg_hatch": "Sniffer Egg hatches",
|
||||
"subtitles.entity.snow_golem.death": "Snow Golem dies",
|
||||
"subtitles.entity.snow_golem.hurt": "Snow Golem hurts",
|
||||
"subtitles.entity.snowball.throw": "Snowball flies",
|
||||
|
@ -5915,8 +5941,11 @@
|
|||
"subtitles.item.book.put": "Book thumps",
|
||||
"subtitles.item.bottle.empty": "Bottle empties",
|
||||
"subtitles.item.bottle.fill": "Bottle fills",
|
||||
"subtitles.item.brush.brush_sand_completed": "Brushing sand completed",
|
||||
"subtitles.item.brush.brushing": "Brushing",
|
||||
"subtitles.item.brush.brushing.generic": "Brushing",
|
||||
"subtitles.item.brush.brushing.sand": "Brushing Sand",
|
||||
"subtitles.item.brush.brushing.gravel": "Brushing Gravel",
|
||||
"subtitles.item.brush.brushing.sand.complete": "Brushing Sand completed",
|
||||
"subtitles.item.brush.brushing.gravel.complete": "Brushing Gravel completed",
|
||||
"subtitles.item.bucket.empty": "Bucket empties",
|
||||
"subtitles.item.bucket.fill": "Bucket fills",
|
||||
"subtitles.item.bucket.fill_axolotl": "Axolotl scooped",
|
||||
|
@ -6037,14 +6066,19 @@
|
|||
"trim_pattern.minecraft.coast": "Coast Armor Trim",
|
||||
"trim_pattern.minecraft.dune": "Dune Armor Trim",
|
||||
"trim_pattern.minecraft.eye": "Eye Armor Trim",
|
||||
"trim_pattern.minecraft.host": "Host Armor Trim",
|
||||
"trim_pattern.minecraft.raiser": "Raiser Armor Trim",
|
||||
"trim_pattern.minecraft.rib": "Rib Armor Trim",
|
||||
"trim_pattern.minecraft.sentry": "Sentry Armor Trim",
|
||||
"trim_pattern.minecraft.shaper": "Shaper Armor Trim",
|
||||
"trim_pattern.minecraft.silence": "Silence Armor Trim",
|
||||
"trim_pattern.minecraft.snout": "Snout Armor Trim",
|
||||
"trim_pattern.minecraft.spire": "Spire Armor Trim",
|
||||
"trim_pattern.minecraft.tide": "Tide Armor Trim",
|
||||
"trim_pattern.minecraft.vex": "Vex Armor Trim",
|
||||
"trim_pattern.minecraft.ward": "Ward Armor Trim",
|
||||
"trim_pattern.minecraft.wild": "Wild Armor Trim",
|
||||
"trim_pattern.minecraft.wayfinder": "Wayfinder Armor Trim",
|
||||
"tutorial.bundleInsert.description": "Right Click to add items",
|
||||
"tutorial.bundleInsert.title": "Use a Bundle",
|
||||
"tutorial.craft_planks.description": "The recipe book can help",
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,4 +5,5 @@ use azalea_protocol_macros::ClientboundGamePacket;
|
|||
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
|
||||
pub struct ClientboundOpenSignEditorPacket {
|
||||
pub pos: BlockPos,
|
||||
pub is_front_text: bool,
|
||||
}
|
||||
|
|
|
@ -5,5 +5,6 @@ use azalea_protocol_macros::ServerboundGamePacket;
|
|||
#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
|
||||
pub struct ServerboundSignUpdatePacket {
|
||||
pub pos: BlockPos,
|
||||
pub is_front_text: bool,
|
||||
pub lines: [String; 4],
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ use std::io::{Cursor, Write};
|
|||
// TODO: rename the packet files to just like clientbound_add_entity instead of
|
||||
// clientbound_add_entity_packet
|
||||
|
||||
pub const PROTOCOL_VERSION: u32 = 762;
|
||||
pub const PROTOCOL_VERSION: u32 = 1073741952;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum ConnectionProtocol {
|
||||
|
|
|
@ -184,6 +184,7 @@ enum Block {
|
|||
SuspiciousSand => "minecraft:suspicious_sand",
|
||||
RedSand => "minecraft:red_sand",
|
||||
Gravel => "minecraft:gravel",
|
||||
SuspiciousGravel => "minecraft:suspicious_gravel",
|
||||
GoldOre => "minecraft:gold_ore",
|
||||
DeepslateGoldOre => "minecraft:deepslate_gold_ore",
|
||||
IronOre => "minecraft:iron_ore",
|
||||
|
@ -744,6 +745,8 @@ enum Block {
|
|||
PurpurStairs => "minecraft:purpur_stairs",
|
||||
EndStoneBricks => "minecraft:end_stone_bricks",
|
||||
TorchflowerCrop => "minecraft:torchflower_crop",
|
||||
PitcherCrop => "minecraft:pitcher_crop",
|
||||
PitcherPlant => "minecraft:pitcher_plant",
|
||||
Beetroots => "minecraft:beetroots",
|
||||
DirtPath => "minecraft:dirt_path",
|
||||
EndGateway => "minecraft:end_gateway",
|
||||
|
@ -825,6 +828,7 @@ enum Block {
|
|||
KelpPlant => "minecraft:kelp_plant",
|
||||
DriedKelpBlock => "minecraft:dried_kelp_block",
|
||||
TurtleEgg => "minecraft:turtle_egg",
|
||||
SnifferEgg => "minecraft:sniffer_egg",
|
||||
DeadTubeCoralBlock => "minecraft:dead_tube_coral_block",
|
||||
DeadBrainCoralBlock => "minecraft:dead_brain_coral_block",
|
||||
DeadBubbleCoralBlock => "minecraft:dead_bubble_coral_block",
|
||||
|
@ -1056,6 +1060,7 @@ enum Block {
|
|||
TintedGlass => "minecraft:tinted_glass",
|
||||
PowderSnow => "minecraft:powder_snow",
|
||||
SculkSensor => "minecraft:sculk_sensor",
|
||||
CalibratedSculkSensor => "minecraft:calibrated_sculk_sensor",
|
||||
Sculk => "minecraft:sculk",
|
||||
SculkVein => "minecraft:sculk_vein",
|
||||
SculkCatalyst => "minecraft:sculk_catalyst",
|
||||
|
@ -1187,10 +1192,11 @@ enum BlockEntityKind {
|
|||
Campfire => "minecraft:campfire",
|
||||
Beehive => "minecraft:beehive",
|
||||
SculkSensor => "minecraft:sculk_sensor",
|
||||
CalibratedSculkSensor => "minecraft:calibrated_sculk_sensor",
|
||||
SculkCatalyst => "minecraft:sculk_catalyst",
|
||||
SculkShrieker => "minecraft:sculk_shrieker",
|
||||
ChiseledBookshelf => "minecraft:chiseled_bookshelf",
|
||||
SuspiciousSand => "minecraft:suspicious_sand",
|
||||
BrushableBlock => "minecraft:brushable_block",
|
||||
DecoratedPot => "minecraft:decorated_pot",
|
||||
}
|
||||
}
|
||||
|
@ -1594,7 +1600,6 @@ enum GameEvent {
|
|||
BlockPlace => "minecraft:block_place",
|
||||
ContainerClose => "minecraft:container_close",
|
||||
ContainerOpen => "minecraft:container_open",
|
||||
DispenseFail => "minecraft:dispense_fail",
|
||||
Drink => "minecraft:drink",
|
||||
Eat => "minecraft:eat",
|
||||
ElytraGlide => "minecraft:elytra_glide",
|
||||
|
@ -1619,8 +1624,6 @@ enum GameEvent {
|
|||
JukeboxStopPlay => "minecraft:jukebox_stop_play",
|
||||
LightningStrike => "minecraft:lightning_strike",
|
||||
NoteBlockPlay => "minecraft:note_block_play",
|
||||
PistonContract => "minecraft:piston_contract",
|
||||
PistonExtend => "minecraft:piston_extend",
|
||||
PrimeFuse => "minecraft:prime_fuse",
|
||||
ProjectileLand => "minecraft:projectile_land",
|
||||
ProjectileShoot => "minecraft:projectile_shoot",
|
||||
|
@ -1631,6 +1634,21 @@ enum GameEvent {
|
|||
Step => "minecraft:step",
|
||||
Swim => "minecraft:swim",
|
||||
Teleport => "minecraft:teleport",
|
||||
Resonate1 => "minecraft:resonate_1",
|
||||
Resonate2 => "minecraft:resonate_2",
|
||||
Resonate3 => "minecraft:resonate_3",
|
||||
Resonate4 => "minecraft:resonate_4",
|
||||
Resonate5 => "minecraft:resonate_5",
|
||||
Resonate6 => "minecraft:resonate_6",
|
||||
Resonate7 => "minecraft:resonate_7",
|
||||
Resonate8 => "minecraft:resonate_8",
|
||||
Resonate9 => "minecraft:resonate_9",
|
||||
Resonate10 => "minecraft:resonate_10",
|
||||
Resonate11 => "minecraft:resonate_11",
|
||||
Resonate12 => "minecraft:resonate_12",
|
||||
Resonate13 => "minecraft:resonate_13",
|
||||
Resonate14 => "minecraft:resonate_14",
|
||||
Resonate15 => "minecraft:resonate_15",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1717,6 +1735,7 @@ enum Item {
|
|||
Bedrock => "minecraft:bedrock",
|
||||
Sand => "minecraft:sand",
|
||||
SuspiciousSand => "minecraft:suspicious_sand",
|
||||
SuspiciousGravel => "minecraft:suspicious_gravel",
|
||||
RedSand => "minecraft:red_sand",
|
||||
Gravel => "minecraft:gravel",
|
||||
CoalOre => "minecraft:coal_ore",
|
||||
|
@ -1880,6 +1899,7 @@ enum Item {
|
|||
LilyOfTheValley => "minecraft:lily_of_the_valley",
|
||||
WitherRose => "minecraft:wither_rose",
|
||||
Torchflower => "minecraft:torchflower",
|
||||
PitcherPlant => "minecraft:pitcher_plant",
|
||||
SporeBlossom => "minecraft:spore_blossom",
|
||||
BrownMushroom => "minecraft:brown_mushroom",
|
||||
RedMushroom => "minecraft:red_mushroom",
|
||||
|
@ -2235,6 +2255,7 @@ enum Item {
|
|||
RedConcretePowder => "minecraft:red_concrete_powder",
|
||||
BlackConcretePowder => "minecraft:black_concrete_powder",
|
||||
TurtleEgg => "minecraft:turtle_egg",
|
||||
SnifferEgg => "minecraft:sniffer_egg",
|
||||
DeadTubeCoralBlock => "minecraft:dead_tube_coral_block",
|
||||
DeadBrainCoralBlock => "minecraft:dead_brain_coral_block",
|
||||
DeadBubbleCoralBlock => "minecraft:dead_bubble_coral_block",
|
||||
|
@ -2322,6 +2343,7 @@ enum Item {
|
|||
LightningRod => "minecraft:lightning_rod",
|
||||
DaylightDetector => "minecraft:daylight_detector",
|
||||
SculkSensor => "minecraft:sculk_sensor",
|
||||
CalibratedSculkSensor => "minecraft:calibrated_sculk_sensor",
|
||||
TripwireHook => "minecraft:tripwire_hook",
|
||||
TrappedChest => "minecraft:trapped_chest",
|
||||
Tnt => "minecraft:tnt",
|
||||
|
@ -2774,6 +2796,7 @@ enum Item {
|
|||
ChorusFruit => "minecraft:chorus_fruit",
|
||||
PoppedChorusFruit => "minecraft:popped_chorus_fruit",
|
||||
TorchflowerSeeds => "minecraft:torchflower_seeds",
|
||||
PitcherPod => "minecraft:pitcher_pod",
|
||||
Beetroot => "minecraft:beetroot",
|
||||
BeetrootSeeds => "minecraft:beetroot_seeds",
|
||||
BeetrootSoup => "minecraft:beetroot_soup",
|
||||
|
@ -2895,10 +2918,31 @@ enum Item {
|
|||
SnoutArmorTrimSmithingTemplate => "minecraft:snout_armor_trim_smithing_template",
|
||||
RibArmorTrimSmithingTemplate => "minecraft:rib_armor_trim_smithing_template",
|
||||
SpireArmorTrimSmithingTemplate => "minecraft:spire_armor_trim_smithing_template",
|
||||
PotteryShardArcher => "minecraft:pottery_shard_archer",
|
||||
PotteryShardPrize => "minecraft:pottery_shard_prize",
|
||||
PotteryShardArmsUp => "minecraft:pottery_shard_arms_up",
|
||||
PotteryShardSkull => "minecraft:pottery_shard_skull",
|
||||
WayfinderArmorTrimSmithingTemplate => "minecraft:wayfinder_armor_trim_smithing_template",
|
||||
ShaperArmorTrimSmithingTemplate => "minecraft:shaper_armor_trim_smithing_template",
|
||||
SilenceArmorTrimSmithingTemplate => "minecraft:silence_armor_trim_smithing_template",
|
||||
RaiserArmorTrimSmithingTemplate => "minecraft:raiser_armor_trim_smithing_template",
|
||||
HostArmorTrimSmithingTemplate => "minecraft:host_armor_trim_smithing_template",
|
||||
AnglerPotteryShard => "minecraft:angler_pottery_shard",
|
||||
ArcherPotteryShard => "minecraft:archer_pottery_shard",
|
||||
ArmsUpPotteryShard => "minecraft:arms_up_pottery_shard",
|
||||
BladePotteryShard => "minecraft:blade_pottery_shard",
|
||||
BrewerPotteryShard => "minecraft:brewer_pottery_shard",
|
||||
BurnPotteryShard => "minecraft:burn_pottery_shard",
|
||||
DangerPotteryShard => "minecraft:danger_pottery_shard",
|
||||
ExplorerPotteryShard => "minecraft:explorer_pottery_shard",
|
||||
FriendPotteryShard => "minecraft:friend_pottery_shard",
|
||||
HeartPotteryShard => "minecraft:heart_pottery_shard",
|
||||
HeartbreakPotteryShard => "minecraft:heartbreak_pottery_shard",
|
||||
HowlPotteryShard => "minecraft:howl_pottery_shard",
|
||||
MinerPotteryShard => "minecraft:miner_pottery_shard",
|
||||
MournerPotteryShard => "minecraft:mourner_pottery_shard",
|
||||
PlentyPotteryShard => "minecraft:plenty_pottery_shard",
|
||||
PrizePotteryShard => "minecraft:prize_pottery_shard",
|
||||
SheafPotteryShard => "minecraft:sheaf_pottery_shard",
|
||||
ShelterPotteryShard => "minecraft:shelter_pottery_shard",
|
||||
SkullPotteryShard => "minecraft:skull_pottery_shard",
|
||||
SnortPotteryShard => "minecraft:snort_pottery_shard",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3114,7 +3158,6 @@ enum Menu {
|
|||
Loom => "minecraft:loom",
|
||||
Merchant => "minecraft:merchant",
|
||||
ShulkerBox => "minecraft:shulker_box",
|
||||
LegacySmithing => "minecraft:legacy_smithing",
|
||||
Smithing => "minecraft:smithing",
|
||||
Smoker => "minecraft:smoker",
|
||||
CartographyTable => "minecraft:cartography_table",
|
||||
|
@ -3226,9 +3269,7 @@ enum ParticleKind {
|
|||
Firework => "minecraft:firework",
|
||||
Fishing => "minecraft:fishing",
|
||||
Flame => "minecraft:flame",
|
||||
DrippingCherryLeaves => "minecraft:dripping_cherry_leaves",
|
||||
FallingCherryLeaves => "minecraft:falling_cherry_leaves",
|
||||
LandingCherryLeaves => "minecraft:landing_cherry_leaves",
|
||||
CherryLeaves => "minecraft:cherry_leaves",
|
||||
SculkSoul => "minecraft:sculk_soul",
|
||||
SculkCharge => "minecraft:sculk_charge",
|
||||
SculkChargePop => "minecraft:sculk_charge_pop",
|
||||
|
@ -3293,6 +3334,7 @@ enum ParticleKind {
|
|||
ElectricSpark => "minecraft:electric_spark",
|
||||
Scrape => "minecraft:scrape",
|
||||
Shriek => "minecraft:shriek",
|
||||
EggCrack => "minecraft:egg_crack",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3406,7 +3448,6 @@ enum RecipeSerializer {
|
|||
Smoking => "minecraft:smoking",
|
||||
CampfireCooking => "minecraft:campfire_cooking",
|
||||
Stonecutting => "minecraft:stonecutting",
|
||||
Smithing => "minecraft:smithing",
|
||||
SmithingTransform => "minecraft:smithing_transform",
|
||||
SmithingTrim => "minecraft:smithing_trim",
|
||||
CraftingDecoratedPot => "minecraft:crafting_decorated_pot",
|
||||
|
@ -3508,6 +3549,7 @@ enum SoundEvent {
|
|||
BlockAmethystBlockFall => "minecraft:block.amethyst_block.fall",
|
||||
BlockAmethystBlockHit => "minecraft:block.amethyst_block.hit",
|
||||
BlockAmethystBlockPlace => "minecraft:block.amethyst_block.place",
|
||||
BlockAmethystBlockResonate => "minecraft:block.amethyst_block.resonate",
|
||||
BlockAmethystBlockStep => "minecraft:block.amethyst_block.step",
|
||||
BlockAmethystClusterBreak => "minecraft:block.amethyst_cluster.break",
|
||||
BlockAmethystClusterFall => "minecraft:block.amethyst_cluster.fall",
|
||||
|
@ -3640,8 +3682,11 @@ enum SoundEvent {
|
|||
ItemBottleFill => "minecraft:item.bottle.fill",
|
||||
ItemBottleFillDragonbreath => "minecraft:item.bottle.fill_dragonbreath",
|
||||
BlockBrewingStandBrew => "minecraft:block.brewing_stand.brew",
|
||||
ItemBrushBrushing => "minecraft:item.brush.brushing",
|
||||
ItemBrushBrushSandCompleted => "minecraft:item.brush.brush_sand_completed",
|
||||
ItemBrushBrushingGeneric => "minecraft:item.brush.brushing.generic",
|
||||
ItemBrushBrushingSand => "minecraft:item.brush.brushing.sand",
|
||||
ItemBrushBrushingGravel => "minecraft:item.brush.brushing.gravel",
|
||||
ItemBrushBrushingSandComplete => "minecraft:item.brush.brushing.sand.complete",
|
||||
ItemBrushBrushingGravelComplete => "minecraft:item.brush.brushing.gravel.complete",
|
||||
BlockBubbleColumnBubblePop => "minecraft:block.bubble_column.bubble_pop",
|
||||
BlockBubbleColumnUpwardsAmbient => "minecraft:block.bubble_column.upwards_ambient",
|
||||
BlockBubbleColumnUpwardsInside => "minecraft:block.bubble_column.upwards_inside",
|
||||
|
@ -3952,6 +3997,11 @@ enum SoundEvent {
|
|||
BlockSuspiciousSandPlace => "minecraft:block.suspicious_sand.place",
|
||||
BlockSuspiciousSandHit => "minecraft:block.suspicious_sand.hit",
|
||||
BlockSuspiciousSandFall => "minecraft:block.suspicious_sand.fall",
|
||||
BlockSuspiciousGravelBreak => "minecraft:block.suspicious_gravel.break",
|
||||
BlockSuspiciousGravelStep => "minecraft:block.suspicious_gravel.step",
|
||||
BlockSuspiciousGravelPlace => "minecraft:block.suspicious_gravel.place",
|
||||
BlockSuspiciousGravelHit => "minecraft:block.suspicious_gravel.hit",
|
||||
BlockSuspiciousGravelFall => "minecraft:block.suspicious_gravel.fall",
|
||||
BlockFroglightBreak => "minecraft:block.froglight.break",
|
||||
BlockFroglightFall => "minecraft:block.froglight.fall",
|
||||
BlockFroglightHit => "minecraft:block.froglight.hit",
|
||||
|
@ -4696,6 +4746,8 @@ enum SoundEvent {
|
|||
EntitySnifferDigging => "minecraft:entity.sniffer.digging",
|
||||
EntitySnifferDiggingStop => "minecraft:entity.sniffer.digging_stop",
|
||||
EntitySnifferHappy => "minecraft:entity.sniffer.happy",
|
||||
EntitySnifferEggCrack => "minecraft:entity.sniffer.egg_crack",
|
||||
EntitySnifferEggHatch => "minecraft:entity.sniffer.egg_hatch",
|
||||
EntitySnowballThrow => "minecraft:entity.snowball.throw",
|
||||
BlockSnowBreak => "minecraft:block.snow.break",
|
||||
BlockSnowFall => "minecraft:block.snow.fall",
|
||||
|
@ -4848,6 +4900,7 @@ enum SoundEvent {
|
|||
EntityWardenSonicCharge => "minecraft:entity.warden.sonic_charge",
|
||||
EntityWardenStep => "minecraft:entity.warden.step",
|
||||
EntityWardenTendrilClicks => "minecraft:entity.warden.tendril_clicks",
|
||||
BlockSignWaxedInteractFail => "minecraft:block.sign.waxed_interact_fail",
|
||||
BlockWaterAmbient => "minecraft:block.water.ambient",
|
||||
WeatherRain => "minecraft:weather.rain",
|
||||
WeatherRainAbove => "minecraft:weather.rain.above",
|
||||
|
@ -5281,6 +5334,7 @@ enum WorldgenStructureProcessor {
|
|||
BlackstoneReplace => "minecraft:blackstone_replace",
|
||||
LavaSubmergedBlock => "minecraft:lava_submerged_block",
|
||||
ProtectedBlocks => "minecraft:protected_blocks",
|
||||
Capped => "minecraft:capped",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5332,11 +5386,36 @@ enum WorldgenTrunkPlacerKind {
|
|||
|
||||
registry! {
|
||||
enum DecoratedPotPatterns {
|
||||
PotteryPatternArcher => "minecraft:pottery_pattern_archer",
|
||||
PotteryPatternPrize => "minecraft:pottery_pattern_prize",
|
||||
PotteryPatternArmsUp => "minecraft:pottery_pattern_arms_up",
|
||||
PotteryPatternSkull => "minecraft:pottery_pattern_skull",
|
||||
DecoratedPotSide => "minecraft:decorated_pot_side",
|
||||
AnglerPotteryPattern => "minecraft:angler_pottery_pattern",
|
||||
ArcherPotteryPattern => "minecraft:archer_pottery_pattern",
|
||||
ArmsUpPotteryPattern => "minecraft:arms_up_pottery_pattern",
|
||||
BladePotteryPattern => "minecraft:blade_pottery_pattern",
|
||||
BrewerPotteryPattern => "minecraft:brewer_pottery_pattern",
|
||||
BurnPotteryPattern => "minecraft:burn_pottery_pattern",
|
||||
DangerPotteryPattern => "minecraft:danger_pottery_pattern",
|
||||
ExplorerPotteryPattern => "minecraft:explorer_pottery_pattern",
|
||||
FriendPotteryPattern => "minecraft:friend_pottery_pattern",
|
||||
HeartPotteryPattern => "minecraft:heart_pottery_pattern",
|
||||
HeartbreakPotteryPattern => "minecraft:heartbreak_pottery_pattern",
|
||||
HowlPotteryPattern => "minecraft:howl_pottery_pattern",
|
||||
MinerPotteryPattern => "minecraft:miner_pottery_pattern",
|
||||
MournerPotteryPattern => "minecraft:mourner_pottery_pattern",
|
||||
PlentyPotteryPattern => "minecraft:plenty_pottery_pattern",
|
||||
PrizePotteryPattern => "minecraft:prize_pottery_pattern",
|
||||
SheafPotteryPattern => "minecraft:sheaf_pottery_pattern",
|
||||
ShelterPotteryPattern => "minecraft:shelter_pottery_pattern",
|
||||
SkullPotteryPattern => "minecraft:skull_pottery_pattern",
|
||||
SnortPotteryPattern => "minecraft:snort_pottery_pattern",
|
||||
DecoratedPotBase => "minecraft:decorated_pot_base",
|
||||
}
|
||||
}
|
||||
|
||||
registry! {
|
||||
enum RuleBlockEntityModifier {
|
||||
Clear => "minecraft:clear",
|
||||
Passthrough => "minecraft:passthrough",
|
||||
AppendStatic => "minecraft:append_static",
|
||||
AppendLoot => "minecraft:append_loot",
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ from ..mappings import Mappings
|
|||
from typing import Optional
|
||||
import re
|
||||
|
||||
BLOCKS_RS_DIR = get_dir_location('../azalea-block/src/blocks.rs')
|
||||
BLOCKS_RS_DIR = get_dir_location('../azalea-block/src/generated.rs')
|
||||
|
||||
# Terminology:
|
||||
# - Property: A property of a block, like "direction"
|
||||
|
|
Loading…
Reference in a new issue