ice_iix 2021-09-04 17:42:42 -07:00
parent 1982431991
commit b871f0c07c
2 changed files with 11 additions and 0 deletions

View File

@ -947,6 +947,16 @@ state_packets!(
field number_of_slots: VarInt =,
field entity_id: i32 =,
}
packet WorldBorderInit {
field x: f64 =,
field z: f64 =,
field old_diameter: f64 =,
field new_diameter: f64 =,
field speed: VarLong =,
field portal_teleport_boundary: VarInt =,
field warning_blocks: VarInt =,
field warning_time: VarInt =,
}
packet WindowOpen_u8 {
field id: u8 =,
field ty: u8 =,

View File

@ -90,6 +90,7 @@ protocol_packet_ids!(
0x1d => ChunkUnload
0x1e => ChangeGameState
0x1f => WindowOpenHorse
0x20 => WorldBorderInit
0x21 => KeepAliveClientbound_i64
0x22 => ChunkData_Biomes3D_Bitmasks
0x23 => Effect