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-block/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-block/src')
| -rwxr-xr-x | azalea-block/src/generated.rs | 273 |
1 files changed, 260 insertions, 13 deletions
diff --git a/azalea-block/src/generated.rs b/azalea-block/src/generated.rs index e3f8fb9e..5a700d78 100755 --- a/azalea-block/src/generated.rs +++ b/azalea-block/src/generated.rs @@ -282,11 +282,6 @@ make_block_states! { }, "short" => bool, "unstable" => bool, - "slot_0_occupied" => bool, - "slot_1_occupied" => bool, - "slot_2_occupied" => bool, - "slot_3_occupied" => bool, - "slot_4_occupied" => bool, "slot_5_occupied" => bool, "age" => FireAge { _0, @@ -1863,7 +1858,8 @@ make_block_states! { _14, _15, }, - "south" => bool, + "east" => bool, + "up" => bool, "west" => bool, "bloom" => bool, "can_summon" => bool, @@ -1920,12 +1916,21 @@ make_block_states! { Partial, Full, }, - "axis" => CacheSize { + "axis" => Falling { X, Y, Z, }, "cracked" => bool, + "crafting" => bool, + "trial_spawner_state" => State { + Inactive, + WaitingForPlayers, + Active, + WaitingForRewardEjection, + EjectingReward, + Cooldown, + }, }, Blocks => { air => BlockBehavior::new(), {}, @@ -2276,7 +2281,7 @@ make_block_states! { facing: FacingCubic::North, }, cobweb => BlockBehavior::new().requires_correct_tool_for_drops().strength(4.0, 4.0), {}, - grass => BlockBehavior::new(), {}, + short_grass => BlockBehavior::new(), {}, fern => BlockBehavior::new(), {}, dead_bush => BlockBehavior::new(), {}, seagrass => BlockBehavior::new(), {}, @@ -2666,7 +2671,6 @@ make_block_states! { waterlogged: false, west: false, }, - pumpkin => BlockBehavior::new().strength(1.0, 1.0), {}, netherrack => BlockBehavior::new().requires_correct_tool_for_drops().strength(0.4, 0.4), {}, soul_sand => BlockBehavior::new().strength(0.5, 0.5), {}, soul_soil => BlockBehavior::new().strength(0.5, 0.5), {}, @@ -2832,6 +2836,7 @@ make_block_states! { waterlogged: false, west: false, }, + pumpkin => BlockBehavior::new().strength(1.0, 1.0), {}, melon => BlockBehavior::new().strength(1.0, 1.0), {}, attached_pumpkin_stem => BlockBehavior::new(), { facing: FacingCardinal::North, @@ -4854,6 +4859,64 @@ make_block_states! { waterlogged: false, }, tuff => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), {}, + tuff_slab => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + kind: Type::Bottom, + waterlogged: false, + }, + tuff_stairs => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + shape: StairShape::Straight, + waterlogged: false, + }, + tuff_wall => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + east: EastWall::None, + north: NorthWall::None, + south: SouthWall::None, + up: true, + waterlogged: false, + west: WestWall::None, + }, + polished_tuff => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), {}, + polished_tuff_slab => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + kind: Type::Bottom, + waterlogged: false, + }, + polished_tuff_stairs => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + shape: StairShape::Straight, + waterlogged: false, + }, + polished_tuff_wall => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + east: EastWall::None, + north: NorthWall::None, + south: SouthWall::None, + up: true, + waterlogged: false, + west: WestWall::None, + }, + chiseled_tuff => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), {}, + tuff_bricks => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), {}, + tuff_brick_slab => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + kind: Type::Bottom, + waterlogged: false, + }, + tuff_brick_stairs => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + shape: StairShape::Straight, + waterlogged: false, + }, + tuff_brick_wall => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), { + east: EastWall::None, + north: NorthWall::None, + south: SouthWall::None, + up: true, + waterlogged: false, + west: WestWall::None, + }, + chiseled_tuff_bricks => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.5, 6.0), {}, calcite => BlockBehavior::new().requires_correct_tool_for_drops().strength(0.75, 0.75), {}, tinted_glass => BlockBehavior::new().strength(0.3, 0.3), {}, powder_snow => BlockBehavior::new().strength(0.25, 0.25), {}, @@ -4886,16 +4949,24 @@ make_block_states! { shrieking: false, waterlogged: false, }, - oxidized_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, - weathered_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, - exposed_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, copper_block => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + exposed_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + weathered_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + oxidized_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, copper_ore => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), {}, deepslate_copper_ore => BlockBehavior::new().requires_correct_tool_for_drops().strength(4.5, 3.0), {}, oxidized_cut_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, weathered_cut_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, exposed_cut_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, cut_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + oxidized_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + weathered_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + exposed_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + waxed_oxidized_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + waxed_weathered_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + waxed_exposed_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, + waxed_chiseled_copper => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), {}, oxidized_cut_copper_stairs => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { facing: FacingCardinal::North, half: TopBottom::Bottom, @@ -4984,6 +5055,174 @@ make_block_states! { kind: Type::Bottom, waterlogged: false, }, + copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + exposed_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + oxidized_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + weathered_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + waxed_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + waxed_exposed_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + waxed_oxidized_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + waxed_weathered_copper_door => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: Half::Lower, + hinge: Hinge::Left, + open: false, + powered: false, + }, + copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + exposed_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + oxidized_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + weathered_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + waxed_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + waxed_exposed_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + waxed_oxidized_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + waxed_weathered_copper_trapdoor => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 3.0), { + facing: FacingCardinal::North, + half: TopBottom::Bottom, + open: false, + powered: false, + waterlogged: false, + }, + copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + exposed_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + weathered_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + oxidized_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + waxed_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + waxed_exposed_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + waxed_weathered_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + waxed_oxidized_copper_grate => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + waterlogged: false, + }, + copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + exposed_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + weathered_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + oxidized_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + waxed_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + waxed_exposed_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + waxed_weathered_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, + waxed_oxidized_copper_bulb => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { + lit: false, + powered: false, + }, lightning_rod => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.0, 6.0), { facing: FacingCubic::Up, powered: false, @@ -5113,7 +5352,7 @@ make_block_states! { cracked_deepslate_bricks => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.5, 6.0), {}, cracked_deepslate_tiles => BlockBehavior::new().requires_correct_tool_for_drops().strength(3.5, 6.0), {}, infested_deepslate => BlockBehavior::new().strength(1.5, 0.75), { - axis: CacheSize::Y, + axis: Falling::Y, }, smooth_basalt => BlockBehavior::new().requires_correct_tool_for_drops().strength(1.25, 4.2), {}, raw_iron_block => BlockBehavior::new().requires_correct_tool_for_drops().strength(5.0, 6.0), {}, @@ -5137,5 +5376,13 @@ make_block_states! { facing: FacingCardinal::North, waterlogged: false, }, + crafter => BlockBehavior::new().strength(1.5, 3.5), { + crafting: false, + orientation: Orientation::NorthUp, + triggered: false, + }, + trial_spawner => BlockBehavior::new().requires_correct_tool_for_drops().strength(50.0, 50.0), { + trial_spawner_state: State::Inactive, + }, } } |
