Add WorldBorderInit 0x20 https://wiki.vg/index.php?title=Protocol&oldid=16918#Initialize_World_Border
This commit is contained in:
parent
1982431991
commit
b871f0c07c
|
@ -947,6 +947,16 @@ state_packets!(
|
||||||
field number_of_slots: VarInt =,
|
field number_of_slots: VarInt =,
|
||||||
field entity_id: i32 =,
|
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 {
|
packet WindowOpen_u8 {
|
||||||
field id: u8 =,
|
field id: u8 =,
|
||||||
field ty: u8 =,
|
field ty: u8 =,
|
||||||
|
|
|
@ -90,6 +90,7 @@ protocol_packet_ids!(
|
||||||
0x1d => ChunkUnload
|
0x1d => ChunkUnload
|
||||||
0x1e => ChangeGameState
|
0x1e => ChangeGameState
|
||||||
0x1f => WindowOpenHorse
|
0x1f => WindowOpenHorse
|
||||||
|
0x20 => WorldBorderInit
|
||||||
0x21 => KeepAliveClientbound_i64
|
0x21 => KeepAliveClientbound_i64
|
||||||
0x22 => ChunkData_Biomes3D_Bitmasks
|
0x22 => ChunkData_Biomes3D_Bitmasks
|
||||||
0x23 => Effect
|
0x23 => Effect
|
||||||
|
|
Loading…
Reference in New Issue