Add TeleportPlayer_WithDismount packet variant
This commit is contained in:
parent
4e5cb66046
commit
ca139d53fd
|
@ -1589,6 +1589,16 @@ state_packets!(
|
|||
/// TeleportPlayer is sent to change the player's position. The client is expected
|
||||
/// to reply to the server with the same positions as contained in this packet
|
||||
/// otherwise will reject future packets.
|
||||
packet TeleportPlayer_WithDismount {
|
||||
field x: f64 =,
|
||||
field y: f64 =,
|
||||
field z: f64 =,
|
||||
field yaw: f32 =,
|
||||
field pitch: f32 =,
|
||||
field flags: u8 =,
|
||||
field teleport_id: VarInt =,
|
||||
field dismount: bool =,
|
||||
}
|
||||
packet TeleportPlayer_WithConfirm {
|
||||
field x: f64 =,
|
||||
field y: f64 =,
|
||||
|
|
|
@ -113,7 +113,7 @@ protocol_packet_ids!(
|
|||
0x35 => CombatEventDeath
|
||||
0x36 => PlayerInfo
|
||||
0x37 => FacePlayer
|
||||
0x38 => TeleportPlayer_WithConfirm
|
||||
0x38 => TeleportPlayer_WithDismount
|
||||
0x39 => UnlockRecipes_WithBlastSmoker
|
||||
0x3a => EntityDestroy
|
||||
0x3b => EntityRemoveEffect
|
||||
|
|
Loading…
Reference in New Issue