Split UpdateJigsawBlock

This commit is contained in:
ice_iix 2020-06-27 17:47:34 -07:00
parent 4d12c78f89
commit 4b3ac6fb11
8 changed files with 16 additions and 8 deletions

View File

@ -399,7 +399,15 @@ state_packets!(
field slot: i16 =,
field clicked_item: Option<item::Stack> =,
}
packet UpdateJigsawBlock {
packet UpdateJigsawBlock_Joint {
field location: Position =,
field name: String =,
field target: String =,
field pool: String =,
field final_state: String =,
field joint_type: String =,
}
packet UpdateJigsawBlock_Type {
field location: Position =,
field attachment_type: String =,
field target_pool: String =,

View File

@ -47,7 +47,7 @@ protocol_packet_ids!(
0x24 => UpdateCommandBlock
0x25 => UpdateCommandBlockMinecart
0x26 => CreativeInventoryAction
0x27 => UpdateJigsawBlock
0x27 => UpdateJigsawBlock_Type
0x28 => UpdateStructureBlock
0x29 => SetSign
0x2a => ArmSwing

View File

@ -47,7 +47,7 @@ protocol_packet_ids!(
0x24 => UpdateCommandBlock
0x25 => UpdateCommandBlockMinecart
0x26 => CreativeInventoryAction
0x27 => UpdateJigsawBlock
0x27 => UpdateJigsawBlock_Type
0x28 => UpdateStructureBlock
0x29 => SetSign
0x2a => ArmSwing

View File

@ -47,7 +47,7 @@ protocol_packet_ids!(
0x24 => UpdateCommandBlock
0x25 => UpdateCommandBlockMinecart
0x26 => CreativeInventoryAction
0x27 => UpdateJigsawBlock
0x27 => UpdateJigsawBlock_Type
0x28 => UpdateStructureBlock
0x29 => SetSign
0x2a => ArmSwing

View File

@ -47,7 +47,7 @@ protocol_packet_ids!(
0x24 => UpdateCommandBlock
0x25 => UpdateCommandBlockMinecart
0x26 => CreativeInventoryAction
0x27 => UpdateJigsawBlock
0x27 => UpdateJigsawBlock_Type
0x28 => UpdateStructureBlock
0x29 => SetSign
0x2a => ArmSwing

View File

@ -47,7 +47,7 @@ protocol_packet_ids!(
0x24 => UpdateCommandBlock
0x25 => UpdateCommandBlockMinecart
0x26 => CreativeInventoryAction
0x27 => UpdateJigsawBlock
0x27 => UpdateJigsawBlock_Type
0x28 => UpdateStructureBlock
0x29 => SetSign
0x2a => ArmSwing

View File

@ -47,7 +47,7 @@ protocol_packet_ids!(
0x24 => UpdateCommandBlock
0x25 => UpdateCommandBlockMinecart
0x26 => CreativeInventoryAction
0x27 => UpdateJigsawBlock
0x27 => UpdateJigsawBlock_Type
0x28 => UpdateStructureBlock
0x29 => SetSign
0x2a => ArmSwing

View File

@ -48,7 +48,7 @@ protocol_packet_ids!(
0x25 => UpdateCommandBlock
0x26 => UpdateCommandBlockMinecart
0x27 => CreativeInventoryAction
0x28 => UpdateJigsawBlock // TODO
0x28 => UpdateJigsawBlock_Joint
0x29 => UpdateStructureBlock
0x2a => SetSign
0x2b => ArmSwing