diff --git a/protocol/src/protocol/packet.rs b/protocol/src/protocol/packet.rs index 3477a0e..805f51d 100644 --- a/protocol/src/protocol/packet.rs +++ b/protocol/src/protocol/packet.rs @@ -399,7 +399,15 @@ state_packets!( field slot: i16 =, field clicked_item: Option =, } - 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 =, diff --git a/protocol/src/protocol/versions/v1_14.rs b/protocol/src/protocol/versions/v1_14.rs index 23291c6..c0a5ebe 100644 --- a/protocol/src/protocol/versions/v1_14.rs +++ b/protocol/src/protocol/versions/v1_14.rs @@ -47,7 +47,7 @@ protocol_packet_ids!( 0x24 => UpdateCommandBlock 0x25 => UpdateCommandBlockMinecart 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock + 0x27 => UpdateJigsawBlock_Type 0x28 => UpdateStructureBlock 0x29 => SetSign 0x2a => ArmSwing diff --git a/protocol/src/protocol/versions/v1_14_1.rs b/protocol/src/protocol/versions/v1_14_1.rs index 23291c6..c0a5ebe 100644 --- a/protocol/src/protocol/versions/v1_14_1.rs +++ b/protocol/src/protocol/versions/v1_14_1.rs @@ -47,7 +47,7 @@ protocol_packet_ids!( 0x24 => UpdateCommandBlock 0x25 => UpdateCommandBlockMinecart 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock + 0x27 => UpdateJigsawBlock_Type 0x28 => UpdateStructureBlock 0x29 => SetSign 0x2a => ArmSwing diff --git a/protocol/src/protocol/versions/v1_14_2.rs b/protocol/src/protocol/versions/v1_14_2.rs index 23291c6..c0a5ebe 100644 --- a/protocol/src/protocol/versions/v1_14_2.rs +++ b/protocol/src/protocol/versions/v1_14_2.rs @@ -47,7 +47,7 @@ protocol_packet_ids!( 0x24 => UpdateCommandBlock 0x25 => UpdateCommandBlockMinecart 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock + 0x27 => UpdateJigsawBlock_Type 0x28 => UpdateStructureBlock 0x29 => SetSign 0x2a => ArmSwing diff --git a/protocol/src/protocol/versions/v1_14_3.rs b/protocol/src/protocol/versions/v1_14_3.rs index b3da2f5..b23ab79 100644 --- a/protocol/src/protocol/versions/v1_14_3.rs +++ b/protocol/src/protocol/versions/v1_14_3.rs @@ -47,7 +47,7 @@ protocol_packet_ids!( 0x24 => UpdateCommandBlock 0x25 => UpdateCommandBlockMinecart 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock + 0x27 => UpdateJigsawBlock_Type 0x28 => UpdateStructureBlock 0x29 => SetSign 0x2a => ArmSwing diff --git a/protocol/src/protocol/versions/v1_14_4.rs b/protocol/src/protocol/versions/v1_14_4.rs index e153dc7..f7dd411 100644 --- a/protocol/src/protocol/versions/v1_14_4.rs +++ b/protocol/src/protocol/versions/v1_14_4.rs @@ -47,7 +47,7 @@ protocol_packet_ids!( 0x24 => UpdateCommandBlock 0x25 => UpdateCommandBlockMinecart 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock + 0x27 => UpdateJigsawBlock_Type 0x28 => UpdateStructureBlock 0x29 => SetSign 0x2a => ArmSwing diff --git a/protocol/src/protocol/versions/v1_15.rs b/protocol/src/protocol/versions/v1_15.rs index bd28b32..1f90e84 100644 --- a/protocol/src/protocol/versions/v1_15.rs +++ b/protocol/src/protocol/versions/v1_15.rs @@ -47,7 +47,7 @@ protocol_packet_ids!( 0x24 => UpdateCommandBlock 0x25 => UpdateCommandBlockMinecart 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock + 0x27 => UpdateJigsawBlock_Type 0x28 => UpdateStructureBlock 0x29 => SetSign 0x2a => ArmSwing diff --git a/protocol/src/protocol/versions/v1_16_1.rs b/protocol/src/protocol/versions/v1_16_1.rs index 40b6be8..7d02852 100644 --- a/protocol/src/protocol/versions/v1_16_1.rs +++ b/protocol/src/protocol/versions/v1_16_1.rs @@ -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