Trait valence::protocol::Packet

pub trait Packet: Debug {
    const ID: i32;
    const NAME: &'static str;
    const SIDE: PacketSide;
    const STATE: PacketState;

    // Provided method
    fn encode_with_id(&self, w: impl Write) -> Result<(), Error>
       where Self: Encode { ... }
}
Expand description

Types considered to be Minecraft packets.

In serialized form, a packet begins with a VarInt packet ID followed by the body of the packet. If present, the implementations of Encode and Decode on Self are expected to only encode/decode the body of this packet without the leading ID.

Required Associated Constants§

const ID: i32

The leading VarInt ID of this packet.

const NAME: &'static str

The name of this packet for debugging purposes.

const SIDE: PacketSide

The side this packet is intended for.

const STATE: PacketState

The state in which this packet is used.

Provided Methods§

fn encode_with_id(&self, w: impl Write) -> Result<(), Error>
where Self: Encode,

Encodes this packet’s VarInt ID first, followed by the packet’s body.

Object Safety§

This trait is not object safe.

Implementors§

§

impl Packet for ClientStatusC2s

§

const ID: i32 = 7i32

§

const NAME: &'static str = "ClientStatusC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ResourcePackStatusC2s

§

const ID: i32 = 36i32

§

const NAME: &'static str = "ResourcePackStatusC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UpdatePlayerAbilitiesC2s

§

const ID: i32 = 28i32

§

const NAME: &'static str = "UpdatePlayerAbilitiesC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for LoginCompressionS2c

§

const ID: i32 = 3i32

§

const NAME: &'static str = "LoginCompressionS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Login

§

impl Packet for BlockBreakingProgressS2c

§

const ID: i32 = 7i32

§

const NAME: &'static str = "BlockBreakingProgressS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for BlockEventS2c

§

const ID: i32 = 9i32

§

const NAME: &'static str = "BlockEventS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for BlockUpdateS2c

§

const ID: i32 = 10i32

§

const NAME: &'static str = "BlockUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for BoatPaddleStateC2s

§

const ID: i32 = 25i32

§

const NAME: &'static str = "BoatPaddleStateC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for BundleSplitterS2c

§

const ID: i32 = 0i32

§

const NAME: &'static str = "BundleSplitterS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ButtonClickC2s

§

const ID: i32 = 10i32

§

const NAME: &'static str = "ButtonClickC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ChunkLoadDistanceS2c

§

const ID: i32 = 79i32

§

const NAME: &'static str = "ChunkLoadDistanceS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ChunkRenderDistanceCenterS2c

§

const ID: i32 = 78i32

§

const NAME: &'static str = "ChunkRenderDistanceCenterS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ClearTitleS2c

§

const ID: i32 = 14i32

§

const NAME: &'static str = "ClearTitleS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ClientCommandC2s

§

const ID: i32 = 30i32

§

const NAME: &'static str = "ClientCommandC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for CloseHandledScreenC2s

§

const ID: i32 = 12i32

§

const NAME: &'static str = "CloseHandledScreenC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for CloseScreenS2c

§

const ID: i32 = 17i32

§

const NAME: &'static str = "CloseScreenS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for CommandTreeS2c

§

const ID: i32 = 16i32

§

const NAME: &'static str = "CommandTreeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for CooldownUpdateS2c

§

const ID: i32 = 21i32

§

const NAME: &'static str = "CooldownUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for CreativeInventoryActionC2s

§

const ID: i32 = 43i32

§

const NAME: &'static str = "CreativeInventoryActionC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for DamageTiltS2c

§

const ID: i32 = 33i32

§

const NAME: &'static str = "DamageTiltS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for DifficultyS2c

§

const ID: i32 = 12i32

§

const NAME: &'static str = "DifficultyS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EndCombatS2c

§

const ID: i32 = 54i32

§

const NAME: &'static str = "EndCombatS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EnterCombatS2c

§

const ID: i32 = 55i32

§

const NAME: &'static str = "EnterCombatS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityAnimationS2c

§

const ID: i32 = 4i32

§

const NAME: &'static str = "EntityAnimationS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityAttachS2c

§

const ID: i32 = 83i32

§

const NAME: &'static str = "EntityAttachS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityDamageS2c

§

const ID: i32 = 24i32

§

const NAME: &'static str = "EntityDamageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityEquipmentUpdateS2c

§

const ID: i32 = 85i32

§

const NAME: &'static str = "EntityEquipmentUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityPositionS2c

§

const ID: i32 = 104i32

§

const NAME: &'static str = "EntityPositionS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntitySetHeadYawS2c

§

const ID: i32 = 66i32

§

const NAME: &'static str = "EntitySetHeadYawS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntitySpawnS2c

§

const ID: i32 = 1i32

§

const NAME: &'static str = "EntitySpawnS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityStatusEffectS2c

§

const ID: i32 = 108i32

§

const NAME: &'static str = "EntityStatusEffectS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityStatusS2c

§

const ID: i32 = 28i32

§

const NAME: &'static str = "EntityStatusS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for EntityVelocityUpdateS2c

§

const ID: i32 = 84i32

§

const NAME: &'static str = "EntityVelocityUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ExperienceBarUpdateS2c

§

const ID: i32 = 86i32

§

const NAME: &'static str = "ExperienceBarUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ExperienceOrbSpawnS2c

§

const ID: i32 = 2i32

§

const NAME: &'static str = "ExperienceOrbSpawnS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for FullC2s

§

const ID: i32 = 21i32

§

const NAME: &'static str = "FullC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for GameStateChangeS2c

§

const ID: i32 = 31i32

§

const NAME: &'static str = "GameStateChangeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for HandSwingC2s

§

const ID: i32 = 47i32

§

const NAME: &'static str = "HandSwingC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for HealthUpdateS2c

§

const ID: i32 = 87i32

§

const NAME: &'static str = "HealthUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ItemPickupAnimationS2c

§

const ID: i32 = 103i32

§

const NAME: &'static str = "ItemPickupAnimationS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for JigsawGeneratingC2s

§

const ID: i32 = 17i32

§

const NAME: &'static str = "JigsawGeneratingC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for KeepAliveC2s

§

const ID: i32 = 18i32

§

const NAME: &'static str = "KeepAliveC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for KeepAliveS2c

§

const ID: i32 = 35i32

§

const NAME: &'static str = "KeepAliveS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for LookAndOnGroundC2s

§

const ID: i32 = 22i32

§

const NAME: &'static str = "LookAndOnGroundC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for LookAtS2c

§

const ID: i32 = 59i32

§

const NAME: &'static str = "LookAtS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for MessageAcknowledgmentC2s

§

const ID: i32 = 3i32

§

const NAME: &'static str = "MessageAcknowledgmentC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for MoveRelativeS2c

§

const ID: i32 = 43i32

§

const NAME: &'static str = "MoveRelativeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for NbtQueryResponseS2c

§

const ID: i32 = 102i32

§

const NAME: &'static str = "NbtQueryResponseS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for OnGroundOnlyC2s

§

const ID: i32 = 23i32

§

const NAME: &'static str = "OnGroundOnlyC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for OpenHorseScreenS2c

§

const ID: i32 = 32i32

§

const NAME: &'static str = "OpenHorseScreenS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for OpenWrittenBookS2c

§

const ID: i32 = 47i32

§

const NAME: &'static str = "OpenWrittenBookS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PickFromInventoryC2s

§

const ID: i32 = 26i32

§

const NAME: &'static str = "PickFromInventoryC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayPingS2c

§

const ID: i32 = 50i32

§

const NAME: &'static str = "PlayPingS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayPongC2s

§

const ID: i32 = 32i32

§

const NAME: &'static str = "PlayPongC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlaySoundFromEntityS2c

§

const ID: i32 = 97i32

§

const NAME: &'static str = "PlaySoundFromEntityS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerAbilitiesS2c

§

const ID: i32 = 52i32

§

const NAME: &'static str = "PlayerAbilitiesS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerActionC2s

§

const ID: i32 = 29i32

§

const NAME: &'static str = "PlayerActionC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerActionResponseS2c

§

const ID: i32 = 6i32

§

const NAME: &'static str = "PlayerActionResponseS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerInputC2s

§

const ID: i32 = 31i32

§

const NAME: &'static str = "PlayerInputC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerInteractBlockC2s

§

const ID: i32 = 49i32

§

const NAME: &'static str = "PlayerInteractBlockC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerInteractEntityC2s

§

const ID: i32 = 16i32

§

const NAME: &'static str = "PlayerInteractEntityC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerInteractItemC2s

§

const ID: i32 = 50i32

§

const NAME: &'static str = "PlayerInteractItemC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerPositionLookS2c

§

const ID: i32 = 60i32

§

const NAME: &'static str = "PlayerPositionLookS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerSpawnPositionS2c

§

const ID: i32 = 80i32

§

const NAME: &'static str = "PlayerSpawnPositionS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PlayerSpawnS2c

§

const ID: i32 = 3i32

§

const NAME: &'static str = "PlayerSpawnS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for PositionAndOnGroundC2s

§

const ID: i32 = 20i32

§

const NAME: &'static str = "PositionAndOnGroundC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for QueryBlockNbtC2s

§

const ID: i32 = 1i32

§

const NAME: &'static str = "QueryBlockNbtC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for QueryEntityNbtC2s

§

const ID: i32 = 15i32

§

const NAME: &'static str = "QueryEntityNbtC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for RecipeCategoryOptionsC2s

§

const ID: i32 = 33i32

§

const NAME: &'static str = "RecipeCategoryOptionsC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for RemoveEntityStatusEffectS2c

§

const ID: i32 = 63i32

§

const NAME: &'static str = "RemoveEntityStatusEffectS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for RotateAndMoveRelativeS2c

§

const ID: i32 = 44i32

§

const NAME: &'static str = "RotateAndMoveRelativeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for RotateS2c

§

const ID: i32 = 45i32

§

const NAME: &'static str = "RotateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for ScreenHandlerPropertyUpdateS2c

§

const ID: i32 = 19i32

§

const NAME: &'static str = "ScreenHandlerPropertyUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for SelectMerchantTradeC2s

§

const ID: i32 = 38i32

§

const NAME: &'static str = "SelectMerchantTradeC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for SetCameraEntityS2c

§

const ID: i32 = 76i32

§

const NAME: &'static str = "SetCameraEntityS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for SetTradeOffersS2c

§

const ID: i32 = 42i32

§

const NAME: &'static str = "SetTradeOffersS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for SignEditorOpenS2c

§

const ID: i32 = 49i32

§

const NAME: &'static str = "SignEditorOpenS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for SimulationDistanceS2c

§

const ID: i32 = 92i32

§

const NAME: &'static str = "SimulationDistanceS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for SpectatorTeleportC2s

§

const ID: i32 = 48i32

§

const NAME: &'static str = "SpectatorTeleportC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for StatisticsS2c

§

const ID: i32 = 5i32

§

const NAME: &'static str = "StatisticsS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for TeleportConfirmC2s

§

const ID: i32 = 0i32

§

const NAME: &'static str = "TeleportConfirmC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for TitleFadeS2c

§

const ID: i32 = 96i32

§

const NAME: &'static str = "TitleFadeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UnloadChunkS2c

§

const ID: i32 = 30i32

§

const NAME: &'static str = "UnloadChunkS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UpdateBeaconC2s

§

const ID: i32 = 39i32

§

const NAME: &'static str = "UpdateBeaconC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UpdateDifficultyC2s

§

const ID: i32 = 2i32

§

const NAME: &'static str = "UpdateDifficultyC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UpdateDifficultyLockC2s

§

const ID: i32 = 19i32

§

const NAME: &'static str = "UpdateDifficultyLockC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UpdateSelectedSlotC2s

§

const ID: i32 = 40i32

§

const NAME: &'static str = "UpdateSelectedSlotC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for UpdateSelectedSlotS2c

§

const ID: i32 = 77i32

§

const NAME: &'static str = "UpdateSelectedSlotS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for VehicleMoveC2s

§

const ID: i32 = 24i32

§

const NAME: &'static str = "VehicleMoveC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for VehicleMoveS2c

§

const ID: i32 = 46i32

§

const NAME: &'static str = "VehicleMoveS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldBorderCenterChangedS2c

§

const ID: i32 = 71i32

§

const NAME: &'static str = "WorldBorderCenterChangedS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldBorderInitializeS2c

§

const ID: i32 = 34i32

§

const NAME: &'static str = "WorldBorderInitializeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldBorderInterpolateSizeS2c

§

const ID: i32 = 72i32

§

const NAME: &'static str = "WorldBorderInterpolateSizeS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldBorderSizeChangedS2c

§

const ID: i32 = 73i32

§

const NAME: &'static str = "WorldBorderSizeChangedS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldBorderWarningBlocksChangedS2c

§

const ID: i32 = 75i32

§

const NAME: &'static str = "WorldBorderWarningBlocksChangedS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldBorderWarningTimeChangedS2c

§

const ID: i32 = 74i32

§

const NAME: &'static str = "WorldBorderWarningTimeChangedS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldEventS2c

§

const ID: i32 = 37i32

§

const NAME: &'static str = "WorldEventS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for WorldTimeUpdateS2c

§

const ID: i32 = 94i32

§

const NAME: &'static str = "WorldTimeUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl Packet for QueryPingC2s

§

const ID: i32 = 1i32

§

const NAME: &'static str = "QueryPingC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = PacketState::Status

§

impl Packet for QueryPongS2c

§

const ID: i32 = 1i32

§

const NAME: &'static str = "QueryPongS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Status

§

impl Packet for QueryRequestC2s

§

const ID: i32 = 0i32

§

const NAME: &'static str = "QueryRequestC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = PacketState::Status

§

impl<'a> Packet for AdvancementTabC2s<'a>

§

const ID: i32 = 37i32

§

const NAME: &'static str = "AdvancementTabC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for HandshakeC2s<'a>

§

const ID: i32 = 0i32

§

const NAME: &'static str = "HandshakeC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = PacketState::Handshaking

§

impl<'a> Packet for LoginDisconnectS2c<'a>

§

const ID: i32 = 0i32

§

const NAME: &'static str = "LoginDisconnectS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for LoginHelloC2s<'a>

§

const ID: i32 = 0i32

§

const NAME: &'static str = "LoginHelloC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for LoginHelloS2c<'a>

§

const ID: i32 = 1i32

§

const NAME: &'static str = "LoginHelloS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for LoginKeyC2s<'a>

§

const ID: i32 = 1i32

§

const NAME: &'static str = "LoginKeyC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for LoginQueryRequestS2c<'a>

§

const ID: i32 = 4i32

§

const NAME: &'static str = "LoginQueryRequestS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for LoginQueryResponseC2s<'a>

§

const ID: i32 = 2i32

§

const NAME: &'static str = "LoginQueryResponseC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for LoginSuccessS2c<'a>

§

const ID: i32 = 2i32

§

const NAME: &'static str = "LoginSuccessS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Login

§

impl<'a> Packet for BlockEntityUpdateS2c<'a>

§

const ID: i32 = 8i32

§

const NAME: &'static str = "BlockEntityUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for BookUpdateC2s<'a>

§

const ID: i32 = 14i32

§

const NAME: &'static str = "BookUpdateC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for BossBarS2c<'a>

§

const ID: i32 = 11i32

§

const NAME: &'static str = "BossBarS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ChatMessageC2s<'a>

§

const ID: i32 = 5i32

§

const NAME: &'static str = "ChatMessageC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ChatMessageS2c<'a>

§

const ID: i32 = 53i32

§

const NAME: &'static str = "ChatMessageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ChatSuggestionsS2c<'a>

§

const ID: i32 = 22i32

§

const NAME: &'static str = "ChatSuggestionsS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ChunkBiomeDataS2c<'a>

§

const ID: i32 = 13i32

§

const NAME: &'static str = "ChunkBiomeDataS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ChunkDataS2c<'a>

§

const ID: i32 = 36i32

§

const NAME: &'static str = "ChunkDataS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ChunkDeltaUpdateS2c<'a>

§

const ID: i32 = 67i32

§

const NAME: &'static str = "ChunkDeltaUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ClickSlotC2s<'a>

§

const ID: i32 = 11i32

§

const NAME: &'static str = "ClickSlotC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ClientSettingsC2s<'a>

§

const ID: i32 = 8i32

§

const NAME: &'static str = "ClientSettingsC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for CommandExecutionC2s<'a>

§

const ID: i32 = 4i32

§

const NAME: &'static str = "CommandExecutionC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for CommandSuggestionsS2c<'a>

§

const ID: i32 = 15i32

§

const NAME: &'static str = "CommandSuggestionsS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for CraftFailedResponseS2c<'a>

§

const ID: i32 = 51i32

§

const NAME: &'static str = "CraftFailedResponseS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for CraftRequestC2s<'a>

§

const ID: i32 = 27i32

§

const NAME: &'static str = "CraftRequestC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for CustomPayloadC2s<'a>

§

const ID: i32 = 13i32

§

const NAME: &'static str = "CustomPayloadC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for CustomPayloadS2c<'a>

§

const ID: i32 = 23i32

§

const NAME: &'static str = "CustomPayloadS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for DeathMessageS2c<'a>

§

const ID: i32 = 56i32

§

const NAME: &'static str = "DeathMessageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for DisconnectS2c<'a>

§

const ID: i32 = 26i32

§

const NAME: &'static str = "DisconnectS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for EntitiesDestroyS2c<'a>

§

const ID: i32 = 62i32

§

const NAME: &'static str = "EntitiesDestroyS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for EntityAttributesS2c<'a>

§

const ID: i32 = 106i32

§

const NAME: &'static str = "EntityAttributesS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for EntityPassengersSetS2c<'a>

§

const ID: i32 = 89i32

§

const NAME: &'static str = "EntityPassengersSetS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for EntityTrackerUpdateS2c<'a>

§

const ID: i32 = 82i32

§

const NAME: &'static str = "EntityTrackerUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ExplosionS2c<'a>

§

const ID: i32 = 29i32

§

const NAME: &'static str = "ExplosionS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for FeaturesS2c<'a>

§

const ID: i32 = 107i32

§

const NAME: &'static str = "FeaturesS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for GameJoinS2c<'a>

§

const ID: i32 = 40i32

§

const NAME: &'static str = "GameJoinS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for GameMessageS2c<'a>

§

const ID: i32 = 100i32

§

const NAME: &'static str = "GameMessageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for InventoryS2c<'a>

§

const ID: i32 = 18i32

§

const NAME: &'static str = "InventoryS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for LightUpdateS2c<'a>

§

const ID: i32 = 39i32

§

const NAME: &'static str = "LightUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for MapUpdateS2c<'a>

§

const ID: i32 = 41i32

§

const NAME: &'static str = "MapUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for OpenScreenS2c<'a>

§

const ID: i32 = 48i32

§

const NAME: &'static str = "OpenScreenS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for OverlayMessageS2c<'a>

§

const ID: i32 = 70i32

§

const NAME: &'static str = "OverlayMessageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ParticleS2c<'a>

§

const ID: i32 = 38i32

§

const NAME: &'static str = "ParticleS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for PlaySoundS2c<'a>

§

const ID: i32 = 98i32

§

const NAME: &'static str = "PlaySoundS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for PlayerListHeaderS2c<'a>

§

const ID: i32 = 101i32

§

const NAME: &'static str = "PlayerListHeaderS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for PlayerListS2c<'a>

§

const ID: i32 = 58i32

§

const NAME: &'static str = "PlayerListS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for PlayerRemoveS2c<'a>

§

const ID: i32 = 57i32

§

const NAME: &'static str = "PlayerRemoveS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for PlayerRespawnS2c<'a>

§

const ID: i32 = 65i32

§

const NAME: &'static str = "PlayerRespawnS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for PlayerSessionC2s<'a>

§

const ID: i32 = 6i32

§

const NAME: &'static str = "PlayerSessionC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ProfilelessChatMessageS2c<'a>

§

const ID: i32 = 27i32

§

const NAME: &'static str = "ProfilelessChatMessageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for RecipeBookDataC2s<'a>

§

const ID: i32 = 34i32

§

const NAME: &'static str = "RecipeBookDataC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for RemoveMessageS2c<'a>

§

const ID: i32 = 25i32

§

const NAME: &'static str = "RemoveMessageS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for RenameItemC2s<'a>

§

const ID: i32 = 35i32

§

const NAME: &'static str = "RenameItemC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for RequestCommandCompletionsC2s<'a>

§

const ID: i32 = 9i32

§

const NAME: &'static str = "RequestCommandCompletionsC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ResourcePackSendS2c<'a>

§

const ID: i32 = 64i32

§

const NAME: &'static str = "ResourcePackSendS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ScoreboardDisplayS2c<'a>

§

const ID: i32 = 81i32

§

const NAME: &'static str = "ScoreboardDisplayS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ScoreboardObjectiveUpdateS2c<'a>

§

const ID: i32 = 88i32

§

const NAME: &'static str = "ScoreboardObjectiveUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ScoreboardPlayerUpdateS2c<'a>

§

const ID: i32 = 91i32

§

const NAME: &'static str = "ScoreboardPlayerUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ScreenHandlerSlotUpdateS2c<'a>

§

const ID: i32 = 20i32

§

const NAME: &'static str = "ScreenHandlerSlotUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for SelectAdvancementTabS2c<'a>

§

const ID: i32 = 68i32

§

const NAME: &'static str = "SelectAdvancementTabS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for ServerMetadataS2c<'a>

§

const ID: i32 = 69i32

§

const NAME: &'static str = "ServerMetadataS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for StopSoundS2c<'a>

§

const ID: i32 = 99i32

§

const NAME: &'static str = "StopSoundS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for SubtitleS2c<'a>

§

const ID: i32 = 93i32

§

const NAME: &'static str = "SubtitleS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for SynchronizeRecipesS2c<'a>

§

const ID: i32 = 109i32

§

const NAME: &'static str = "SynchronizeRecipesS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for SynchronizeTagsS2c<'a>

§

const ID: i32 = 110i32

§

const NAME: &'static str = "SynchronizeTagsS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for TeamS2c<'a>

§

const ID: i32 = 90i32

§

const NAME: &'static str = "TeamS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for TitleS2c<'a>

§

const ID: i32 = 95i32

§

const NAME: &'static str = "TitleS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for UnlockRecipesS2c<'a>

§

const ID: i32 = 61i32

§

const NAME: &'static str = "UnlockRecipesS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for UpdateCommandBlockC2s<'a>

§

const ID: i32 = 41i32

§

const NAME: &'static str = "UpdateCommandBlockC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for UpdateCommandBlockMinecartC2s<'a>

§

const ID: i32 = 42i32

§

const NAME: &'static str = "UpdateCommandBlockMinecartC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for UpdateJigsawC2s<'a>

§

const ID: i32 = 44i32

§

const NAME: &'static str = "UpdateJigsawC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for UpdateSignC2s<'a>

§

const ID: i32 = 46i32

§

const NAME: &'static str = "UpdateSignC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for UpdateStructureBlockC2s<'a>

§

const ID: i32 = 45i32

§

const NAME: &'static str = "UpdateStructureBlockC2s"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Serverbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play

§

impl<'a> Packet for QueryResponseS2c<'a>

§

const ID: i32 = 0i32

§

const NAME: &'static str = "QueryResponseS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = PacketState::Status

§

impl<'a, AM> Packet for GenericAdvancementUpdateS2c<'a, AM>
where AM: 'a + Debug,

§

const ID: i32 = 105i32

§

const NAME: &'static str = "GenericAdvancementUpdateS2c"

§

const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound

§

const STATE: PacketState = ::valence_protocol::PacketState::Play