#[repr(u8)]pub enum PacketId {
Show 28 variants
AddEntity = 0,
AddPlayer = 2,
AnimateEntity = 3,
BlockChangedAck = 5,
BlockDestruction = 6,
BlockUpdate = 9,
Commands = 15,
ContainerSetSlot = 19,
CustomPayload = 22,
GameEvent = 29,
KeepAlive = 32,
LevelChunkWithLight = 33,
LevelEvent = 34,
Login = 37,
MoveEntityPos = 40,
MoveEntityPosRot = 41,
MoveEntityRot = 42,
PlayerAbilities = 49,
PlayerInfo = 55,
PlayerPosition = 57,
RemoveEntities = 59,
RotateHead = 63,
SetChunkCacheCenter = 75,
SetEntityData = 80,
SetEquipment = 83,
SystemChat = 98,
TeleportEntity = 102,
UpdateTags = 107,
}
Variants§
AddEntity = 0
AddPlayer = 2
AnimateEntity = 3
BlockChangedAck = 5
BlockDestruction = 6
BlockUpdate = 9
Commands = 15
ContainerSetSlot = 19
CustomPayload = 22
GameEvent = 29
KeepAlive = 32
LevelChunkWithLight = 33
LevelEvent = 34
Login = 37
MoveEntityPos = 40
MoveEntityPosRot = 41
MoveEntityRot = 42
PlayerAbilities = 49
PlayerInfo = 55
PlayerPosition = 57
RemoveEntities = 59
RotateHead = 63
SetChunkCacheCenter = 75
SetEntityData = 80
SetEquipment = 83
SystemChat = 98
TeleportEntity = 102
UpdateTags = 107
Trait Implementations§
Source§impl IdentifiedPacket<PacketId> for AddEntity
impl IdentifiedPacket<PacketId> for AddEntity
Source§impl IdentifiedPacket<PacketId> for AddPlayer
impl IdentifiedPacket<PacketId> for AddPlayer
Source§impl IdentifiedPacket<PacketId> for AnimateEntity
impl IdentifiedPacket<PacketId> for AnimateEntity
Source§impl IdentifiedPacket<PacketId> for BlockChangedAck
impl IdentifiedPacket<PacketId> for BlockChangedAck
Source§impl IdentifiedPacket<PacketId> for BlockDestruction
impl IdentifiedPacket<PacketId> for BlockDestruction
Source§impl IdentifiedPacket<PacketId> for BlockUpdate
impl IdentifiedPacket<PacketId> for BlockUpdate
Source§impl IdentifiedPacket<PacketId> for Commands
impl IdentifiedPacket<PacketId> for Commands
Source§impl IdentifiedPacket<PacketId> for ContainerSetSlot<'_>
impl IdentifiedPacket<PacketId> for ContainerSetSlot<'_>
Source§impl IdentifiedPacket<PacketId> for CustomPayload<'_>
impl IdentifiedPacket<PacketId> for CustomPayload<'_>
Source§impl IdentifiedPacket<PacketId> for GameEvent
impl IdentifiedPacket<PacketId> for GameEvent
Source§impl IdentifiedPacket<PacketId> for KeepAlive
impl IdentifiedPacket<PacketId> for KeepAlive
Source§impl IdentifiedPacket<PacketId> for LevelChunkWithLight<'_>
impl IdentifiedPacket<PacketId> for LevelChunkWithLight<'_>
Source§impl IdentifiedPacket<PacketId> for LevelEvent
impl IdentifiedPacket<PacketId> for LevelEvent
Source§impl IdentifiedPacket<PacketId> for Login<'_>
impl IdentifiedPacket<PacketId> for Login<'_>
Source§impl IdentifiedPacket<PacketId> for MoveEntityPos
impl IdentifiedPacket<PacketId> for MoveEntityPos
Source§impl IdentifiedPacket<PacketId> for MoveEntityPosRot
impl IdentifiedPacket<PacketId> for MoveEntityPosRot
Source§impl IdentifiedPacket<PacketId> for MoveEntityRot
impl IdentifiedPacket<PacketId> for MoveEntityRot
Source§impl IdentifiedPacket<PacketId> for PlayerAbilities
impl IdentifiedPacket<PacketId> for PlayerAbilities
Source§impl IdentifiedPacket<PacketId> for PlayerInfo<'_>
impl IdentifiedPacket<PacketId> for PlayerInfo<'_>
Source§impl IdentifiedPacket<PacketId> for PlayerPosition
impl IdentifiedPacket<PacketId> for PlayerPosition
Source§impl IdentifiedPacket<PacketId> for RemoveEntities
impl IdentifiedPacket<PacketId> for RemoveEntities
Source§impl IdentifiedPacket<PacketId> for RotateHead
impl IdentifiedPacket<PacketId> for RotateHead
Source§impl IdentifiedPacket<PacketId> for SetEntityData<'_>
impl IdentifiedPacket<PacketId> for SetEntityData<'_>
Source§impl IdentifiedPacket<PacketId> for SetEquipment<'_>
impl IdentifiedPacket<PacketId> for SetEquipment<'_>
Source§impl IdentifiedPacket<PacketId> for SystemChat<'_>
impl IdentifiedPacket<PacketId> for SystemChat<'_>
Source§impl IdentifiedPacket<PacketId> for TeleportEntity
impl IdentifiedPacket<PacketId> for TeleportEntity
Source§impl IdentifiedPacket<PacketId> for UpdateTags<'_>
impl IdentifiedPacket<PacketId> for UpdateTags<'_>
Source§impl TryFromPrimitive for PacketId
impl TryFromPrimitive for PacketId
impl Eq for PacketId
impl StructuralPartialEq for PacketId
Auto Trait Implementations§
impl Freeze for PacketId
impl RefUnwindSafe for PacketId
impl Send for PacketId
impl Sync for PacketId
impl Unpin for PacketId
impl UnwindSafe for PacketId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more