Skip to main content

Packet

Trait Packet 

Source
pub trait Packet: Encode + Decode {
    const ID: i32;
    const NAME: &'static str;
    const STATE: State;
    const DIRECTION: Direction;
}
Expand description

A typed packet of one version, state and direction.

Required Associated Constants§

Source

const ID: i32

Packet id in its state and direction.

Source

const NAME: &'static str

minecraft-data name (e.g. "map_chunk").

Source

const STATE: State

Connection state the packet belongs to.

Source

const DIRECTION: Direction

Direction of the packet.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Abilities

Source§

const ID: i32 = id::ABILITIES

Source§

const NAME: &'static str = "abilities"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Abilities

Source§

const ID: i32 = id::ABILITIES

Source§

const NAME: &'static str = "abilities"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Abilities

Source§

const ID: i32 = id::ABILITIES

Source§

const NAME: &'static str = "abilities"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Abilities

Source§

const ID: i32 = id::ABILITIES

Source§

const NAME: &'static str = "abilities"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for AcknowledgePlayerDigging

Source§

const ID: i32 = id::ACKNOWLEDGE_PLAYER_DIGGING

Source§

const NAME: &'static str = "acknowledge_player_digging"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for AdvancementTab

Source§

const ID: i32 = id::ADVANCEMENT_TAB

Source§

const NAME: &'static str = "advancement_tab"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for Advancements

Source§

const ID: i32 = id::ADVANCEMENTS

Source§

const NAME: &'static str = "advancements"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Animation

Source§

const ID: i32 = id::ANIMATION

Source§

const NAME: &'static str = "animation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Animation

Source§

const ID: i32 = id::ANIMATION

Source§

const NAME: &'static str = "animation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::ArmAnimation

Source§

const ID: i32 = id::ARM_ANIMATION

Source§

const NAME: &'static str = "arm_animation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::ArmAnimation

Source§

const ID: i32 = id::ARM_ANIMATION

Source§

const NAME: &'static str = "arm_animation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::AttachEntity

Source§

const ID: i32 = id::ATTACH_ENTITY

Source§

const NAME: &'static str = "attach_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::AttachEntity

Source§

const ID: i32 = id::ATTACH_ENTITY

Source§

const NAME: &'static str = "attach_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for Bed

Source§

const ID: i32 = id::BED

Source§

const NAME: &'static str = "bed"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::BlockAction

Source§

const ID: i32 = id::BLOCK_ACTION

Source§

const NAME: &'static str = "block_action"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::BlockAction

Source§

const ID: i32 = id::BLOCK_ACTION

Source§

const NAME: &'static str = "block_action"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::BlockBreakAnimation

Source§

const ID: i32 = id::BLOCK_BREAK_ANIMATION

Source§

const NAME: &'static str = "block_break_animation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::BlockBreakAnimation

Source§

const ID: i32 = id::BLOCK_BREAK_ANIMATION

Source§

const NAME: &'static str = "block_break_animation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::BlockChange

Source§

const ID: i32 = id::BLOCK_CHANGE

Source§

const NAME: &'static str = "block_change"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::BlockChange

Source§

const ID: i32 = id::BLOCK_CHANGE

Source§

const NAME: &'static str = "block_change"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::BlockDig

Source§

const ID: i32 = id::BLOCK_DIG

Source§

const NAME: &'static str = "block_dig"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::BlockDig

Source§

const ID: i32 = id::BLOCK_DIG

Source§

const NAME: &'static str = "block_dig"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::BlockPlace

Source§

const ID: i32 = id::BLOCK_PLACE

Source§

const NAME: &'static str = "block_place"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::BlockPlace

Source§

const ID: i32 = id::BLOCK_PLACE

Source§

const NAME: &'static str = "block_place"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for BossBar

Source§

const ID: i32 = id::BOSS_BAR

Source§

const NAME: &'static str = "boss_bar"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Camera

Source§

const ID: i32 = id::CAMERA

Source§

const NAME: &'static str = "camera"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Camera

Source§

const ID: i32 = id::CAMERA

Source§

const NAME: &'static str = "camera"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Chat

Source§

const ID: i32 = id::CHAT

Source§

const NAME: &'static str = "chat"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Chat

Source§

const ID: i32 = id::CHAT

Source§

const NAME: &'static str = "chat"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Chat

Source§

const ID: i32 = id::CHAT

Source§

const NAME: &'static str = "chat"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Chat

Source§

const ID: i32 = id::CHAT

Source§

const NAME: &'static str = "chat"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::ClientCommand

Source§

const ID: i32 = id::CLIENT_COMMAND

Source§

const NAME: &'static str = "client_command"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::ClientCommand

Source§

const ID: i32 = id::CLIENT_COMMAND

Source§

const NAME: &'static str = "client_command"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::CloseWindow

Source§

const ID: i32 = id::CLOSE_WINDOW

Source§

const NAME: &'static str = "close_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::CloseWindow

Source§

const ID: i32 = id::CLOSE_WINDOW

Source§

const NAME: &'static str = "close_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::CloseWindow

Source§

const ID: i32 = id::CLOSE_WINDOW

Source§

const NAME: &'static str = "close_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::CloseWindow

Source§

const ID: i32 = id::CLOSE_WINDOW

Source§

const NAME: &'static str = "close_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Collect

Source§

const ID: i32 = id::COLLECT

Source§

const NAME: &'static str = "collect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Collect

Source§

const ID: i32 = id::COLLECT

Source§

const NAME: &'static str = "collect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::CombatEvent

Source§

const ID: i32 = id::COMBAT_EVENT

Source§

const NAME: &'static str = "combat_event"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::CombatEvent

Source§

const ID: i32 = id::COMBAT_EVENT

Source§

const NAME: &'static str = "combat_event"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::login::clientbound::Compress

Source§

const ID: i32 = id::COMPRESS

Source§

const NAME: &'static str = "compress"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::login::clientbound::Compress

Source§

const ID: i32 = id::COMPRESS

Source§

const NAME: &'static str = "compress"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::CraftProgressBar

Source§

const ID: i32 = id::CRAFT_PROGRESS_BAR

Source§

const NAME: &'static str = "craft_progress_bar"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::CraftProgressBar

Source§

const ID: i32 = id::CRAFT_PROGRESS_BAR

Source§

const NAME: &'static str = "craft_progress_bar"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for CraftRecipeRequest

Source§

const ID: i32 = id::CRAFT_RECIPE_REQUEST

Source§

const NAME: &'static str = "craft_recipe_request"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for CraftRecipeResponse

Source§

const ID: i32 = id::CRAFT_RECIPE_RESPONSE

Source§

const NAME: &'static str = "craft_recipe_response"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::CustomPayload

Source§

const ID: i32 = id::CUSTOM_PAYLOAD

Source§

const NAME: &'static str = "custom_payload"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::CustomPayload

Source§

const ID: i32 = id::CUSTOM_PAYLOAD

Source§

const NAME: &'static str = "custom_payload"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::CustomPayload

Source§

const ID: i32 = id::CUSTOM_PAYLOAD

Source§

const NAME: &'static str = "custom_payload"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::CustomPayload

Source§

const ID: i32 = id::CUSTOM_PAYLOAD

Source§

const NAME: &'static str = "custom_payload"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for DeclareCommands

Source§

const ID: i32 = id::DECLARE_COMMANDS

Source§

const NAME: &'static str = "declare_commands"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for DeclareRecipes

Source§

const ID: i32 = id::DECLARE_RECIPES

Source§

const NAME: &'static str = "declare_recipes"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Difficulty

Source§

const ID: i32 = id::DIFFICULTY

Source§

const NAME: &'static str = "difficulty"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Difficulty

Source§

const ID: i32 = id::DIFFICULTY

Source§

const NAME: &'static str = "difficulty"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::login::clientbound::Disconnect

Source§

const ID: i32 = id::DISCONNECT

Source§

const NAME: &'static str = "disconnect"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::login::clientbound::Disconnect

Source§

const ID: i32 = id::DISCONNECT

Source§

const NAME: &'static str = "disconnect"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for DisplayedRecipe

Source§

const ID: i32 = id::DISPLAYED_RECIPE

Source§

const NAME: &'static str = "displayed_recipe"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for EditBook

Source§

const ID: i32 = id::EDIT_BOOK

Source§

const NAME: &'static str = "edit_book"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::EnchantItem

Source§

const ID: i32 = id::ENCHANT_ITEM

Source§

const NAME: &'static str = "enchant_item"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::EnchantItem

Source§

const ID: i32 = id::ENCHANT_ITEM

Source§

const NAME: &'static str = "enchant_item"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::login::clientbound::EncryptionBegin

Source§

const ID: i32 = id::ENCRYPTION_BEGIN

Source§

const NAME: &'static str = "encryption_begin"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::login::serverbound::EncryptionBegin

Source§

const ID: i32 = id::ENCRYPTION_BEGIN

Source§

const NAME: &'static str = "encryption_begin"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::login::clientbound::EncryptionBegin

Source§

const ID: i32 = id::ENCRYPTION_BEGIN

Source§

const NAME: &'static str = "encryption_begin"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::login::serverbound::EncryptionBegin

Source§

const ID: i32 = id::ENCRYPTION_BEGIN

Source§

const NAME: &'static str = "encryption_begin"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Entity

Source§

const ID: i32 = id::ENTITY

Source§

const NAME: &'static str = "entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Entity

Source§

const ID: i32 = id::ENTITY

Source§

const NAME: &'static str = "entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::EntityAction

Source§

const ID: i32 = id::ENTITY_ACTION

Source§

const NAME: &'static str = "entity_action"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::EntityAction

Source§

const ID: i32 = id::ENTITY_ACTION

Source§

const NAME: &'static str = "entity_action"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityDestroy

Source§

const ID: i32 = id::ENTITY_DESTROY

Source§

const NAME: &'static str = "entity_destroy"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityDestroy

Source§

const ID: i32 = id::ENTITY_DESTROY

Source§

const NAME: &'static str = "entity_destroy"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityEffect

Source§

const ID: i32 = id::ENTITY_EFFECT

Source§

const NAME: &'static str = "entity_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityEffect

Source§

const ID: i32 = id::ENTITY_EFFECT

Source§

const NAME: &'static str = "entity_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityEquipment

Source§

const ID: i32 = id::ENTITY_EQUIPMENT

Source§

const NAME: &'static str = "entity_equipment"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityEquipment

Source§

const ID: i32 = id::ENTITY_EQUIPMENT

Source§

const NAME: &'static str = "entity_equipment"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityHeadRotation

Source§

const ID: i32 = id::ENTITY_HEAD_ROTATION

Source§

const NAME: &'static str = "entity_head_rotation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityHeadRotation

Source§

const ID: i32 = id::ENTITY_HEAD_ROTATION

Source§

const NAME: &'static str = "entity_head_rotation"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityLook

Source§

const ID: i32 = id::ENTITY_LOOK

Source§

const NAME: &'static str = "entity_look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityLook

Source§

const ID: i32 = id::ENTITY_LOOK

Source§

const NAME: &'static str = "entity_look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityMetadata

Source§

const ID: i32 = id::ENTITY_METADATA

Source§

const NAME: &'static str = "entity_metadata"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityMetadata

Source§

const ID: i32 = id::ENTITY_METADATA

Source§

const NAME: &'static str = "entity_metadata"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityMoveLook

Source§

const ID: i32 = id::ENTITY_MOVE_LOOK

Source§

const NAME: &'static str = "entity_move_look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityMoveLook

Source§

const ID: i32 = id::ENTITY_MOVE_LOOK

Source§

const NAME: &'static str = "entity_move_look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for EntitySoundEffect

Source§

const ID: i32 = id::ENTITY_SOUND_EFFECT

Source§

const NAME: &'static str = "entity_sound_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityStatus

Source§

const ID: i32 = id::ENTITY_STATUS

Source§

const NAME: &'static str = "entity_status"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityStatus

Source§

const ID: i32 = id::ENTITY_STATUS

Source§

const NAME: &'static str = "entity_status"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityTeleport

Source§

const ID: i32 = id::ENTITY_TELEPORT

Source§

const NAME: &'static str = "entity_teleport"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityTeleport

Source§

const ID: i32 = id::ENTITY_TELEPORT

Source§

const NAME: &'static str = "entity_teleport"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for EntityUpdateAttributes

Source§

const ID: i32 = id::ENTITY_UPDATE_ATTRIBUTES

Source§

const NAME: &'static str = "entity_update_attributes"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::EntityVelocity

Source§

const ID: i32 = id::ENTITY_VELOCITY

Source§

const NAME: &'static str = "entity_velocity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::EntityVelocity

Source§

const ID: i32 = id::ENTITY_VELOCITY

Source§

const NAME: &'static str = "entity_velocity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Experience

Source§

const ID: i32 = id::EXPERIENCE

Source§

const NAME: &'static str = "experience"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Experience

Source§

const ID: i32 = id::EXPERIENCE

Source§

const NAME: &'static str = "experience"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Explosion

Source§

const ID: i32 = id::EXPLOSION

Source§

const NAME: &'static str = "explosion"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Explosion

Source§

const ID: i32 = id::EXPLOSION

Source§

const NAME: &'static str = "explosion"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for FacePlayer

Source§

const ID: i32 = id::FACE_PLAYER

Source§

const NAME: &'static str = "face_player"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Flying

Source§

const ID: i32 = id::FLYING

Source§

const NAME: &'static str = "flying"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Flying

Source§

const ID: i32 = id::FLYING

Source§

const NAME: &'static str = "flying"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::GameStateChange

Source§

const ID: i32 = id::GAME_STATE_CHANGE

Source§

const NAME: &'static str = "game_state_change"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::GameStateChange

Source§

const ID: i32 = id::GAME_STATE_CHANGE

Source§

const NAME: &'static str = "game_state_change"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for GenerateStructure

Source§

const ID: i32 = id::GENERATE_STRUCTURE

Source§

const NAME: &'static str = "generate_structure"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::HeldItemSlot

Source§

const ID: i32 = id::HELD_ITEM_SLOT

Source§

const NAME: &'static str = "held_item_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::HeldItemSlot

Source§

const ID: i32 = id::HELD_ITEM_SLOT

Source§

const NAME: &'static str = "held_item_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::HeldItemSlot

Source§

const ID: i32 = id::HELD_ITEM_SLOT

Source§

const NAME: &'static str = "held_item_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::HeldItemSlot

Source§

const ID: i32 = id::HELD_ITEM_SLOT

Source§

const NAME: &'static str = "held_item_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::KeepAlive

Source§

const ID: i32 = id::KEEP_ALIVE

Source§

const NAME: &'static str = "keep_alive"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::KeepAlive

Source§

const ID: i32 = id::KEEP_ALIVE

Source§

const NAME: &'static str = "keep_alive"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::KeepAlive

Source§

const ID: i32 = id::KEEP_ALIVE

Source§

const NAME: &'static str = "keep_alive"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::KeepAlive

Source§

const ID: i32 = id::KEEP_ALIVE

Source§

const NAME: &'static str = "keep_alive"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::KickDisconnect

Source§

const ID: i32 = id::KICK_DISCONNECT

Source§

const NAME: &'static str = "kick_disconnect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::KickDisconnect

Source§

const ID: i32 = id::KICK_DISCONNECT

Source§

const NAME: &'static str = "kick_disconnect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::handshaking::serverbound::LegacyServerListPing

Source§

const ID: i32 = id::LEGACY_SERVER_LIST_PING

Source§

const NAME: &'static str = "legacy_server_list_ping"

Source§

const STATE: State = State::Handshaking

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::handshaking::serverbound::LegacyServerListPing

Source§

const ID: i32 = id::LEGACY_SERVER_LIST_PING

Source§

const NAME: &'static str = "legacy_server_list_ping"

Source§

const STATE: State = State::Handshaking

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for LockDifficulty

Source§

const ID: i32 = id::LOCK_DIFFICULTY

Source§

const NAME: &'static str = "lock_difficulty"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Login

Source§

const ID: i32 = id::LOGIN

Source§

const NAME: &'static str = "login"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Login

Source§

const ID: i32 = id::LOGIN

Source§

const NAME: &'static str = "login"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for LoginPluginRequest

Source§

const ID: i32 = id::LOGIN_PLUGIN_REQUEST

Source§

const NAME: &'static str = "login_plugin_request"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for LoginPluginResponse

Source§

const ID: i32 = id::LOGIN_PLUGIN_RESPONSE

Source§

const NAME: &'static str = "login_plugin_response"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::login::serverbound::LoginStart

Source§

const ID: i32 = id::LOGIN_START

Source§

const NAME: &'static str = "login_start"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::login::serverbound::LoginStart

Source§

const ID: i32 = id::LOGIN_START

Source§

const NAME: &'static str = "login_start"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Look

Source§

const ID: i32 = id::LOOK

Source§

const NAME: &'static str = "look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Look

Source§

const ID: i32 = id::LOOK

Source§

const NAME: &'static str = "look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Map

Source§

const ID: i32 = id::MAP

Source§

const NAME: &'static str = "map"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Map

Source§

const ID: i32 = id::MAP

Source§

const NAME: &'static str = "map"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::MapChunk

Source§

const ID: i32 = id::MAP_CHUNK

Source§

const NAME: &'static str = "map_chunk"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::MapChunk

Source§

const ID: i32 = id::MAP_CHUNK

Source§

const NAME: &'static str = "map_chunk"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for MapChunkBulk

Source§

const ID: i32 = id::MAP_CHUNK_BULK

Source§

const NAME: &'static str = "map_chunk_bulk"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::MultiBlockChange

Source§

const ID: i32 = id::MULTI_BLOCK_CHANGE

Source§

const NAME: &'static str = "multi_block_change"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::MultiBlockChange

Source§

const ID: i32 = id::MULTI_BLOCK_CHANGE

Source§

const NAME: &'static str = "multi_block_change"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for NameItem

Source§

const ID: i32 = id::NAME_ITEM

Source§

const NAME: &'static str = "name_item"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::NamedEntitySpawn

Source§

const ID: i32 = id::NAMED_ENTITY_SPAWN

Source§

const NAME: &'static str = "named_entity_spawn"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::NamedEntitySpawn

Source§

const ID: i32 = id::NAMED_ENTITY_SPAWN

Source§

const NAME: &'static str = "named_entity_spawn"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::NamedSoundEffect

Source§

const ID: i32 = id::NAMED_SOUND_EFFECT

Source§

const NAME: &'static str = "named_sound_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::NamedSoundEffect

Source§

const ID: i32 = id::NAMED_SOUND_EFFECT

Source§

const NAME: &'static str = "named_sound_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for NbtQueryResponse

Source§

const ID: i32 = id::NBT_QUERY_RESPONSE

Source§

const NAME: &'static str = "nbt_query_response"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for OpenBook

Source§

const ID: i32 = id::OPEN_BOOK

Source§

const NAME: &'static str = "open_book"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for OpenHorseWindow

Source§

const ID: i32 = id::OPEN_HORSE_WINDOW

Source§

const NAME: &'static str = "open_horse_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::OpenSignEntity

Source§

const ID: i32 = id::OPEN_SIGN_ENTITY

Source§

const NAME: &'static str = "open_sign_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::OpenSignEntity

Source§

const ID: i32 = id::OPEN_SIGN_ENTITY

Source§

const NAME: &'static str = "open_sign_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::OpenWindow

Source§

const ID: i32 = id::OPEN_WINDOW

Source§

const NAME: &'static str = "open_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::OpenWindow

Source§

const ID: i32 = id::OPEN_WINDOW

Source§

const NAME: &'static str = "open_window"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for PickItem

Source§

const ID: i32 = id::PICK_ITEM

Source§

const NAME: &'static str = "pick_item"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::status::clientbound::Ping

Source§

const ID: i32 = id::PING

Source§

const NAME: &'static str = "ping"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::status::serverbound::Ping

Source§

const ID: i32 = id::PING

Source§

const NAME: &'static str = "ping"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::status::clientbound::Ping

Source§

const ID: i32 = id::PING

Source§

const NAME: &'static str = "ping"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::status::serverbound::Ping

Source§

const ID: i32 = id::PING

Source§

const NAME: &'static str = "ping"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::status::serverbound::PingStart

Source§

const ID: i32 = id::PING_START

Source§

const NAME: &'static str = "ping_start"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::status::serverbound::PingStart

Source§

const ID: i32 = id::PING_START

Source§

const NAME: &'static str = "ping_start"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::PlayerInfo

Source§

const ID: i32 = id::PLAYER_INFO

Source§

const NAME: &'static str = "player_info"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::PlayerInfo

Source§

const ID: i32 = id::PLAYER_INFO

Source§

const NAME: &'static str = "player_info"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::PlayerlistHeader

Source§

const ID: i32 = id::PLAYERLIST_HEADER

Source§

const NAME: &'static str = "playerlist_header"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::PlayerlistHeader

Source§

const ID: i32 = id::PLAYERLIST_HEADER

Source§

const NAME: &'static str = "playerlist_header"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Position

Source§

const ID: i32 = id::POSITION

Source§

const NAME: &'static str = "position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Position

Source§

const ID: i32 = id::POSITION

Source§

const NAME: &'static str = "position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Position

Source§

const ID: i32 = id::POSITION

Source§

const NAME: &'static str = "position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Position

Source§

const ID: i32 = id::POSITION

Source§

const NAME: &'static str = "position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::PositionLook

Source§

const ID: i32 = id::POSITION_LOOK

Source§

const NAME: &'static str = "position_look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::PositionLook

Source§

const ID: i32 = id::POSITION_LOOK

Source§

const NAME: &'static str = "position_look"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for QueryBlockNbt

Source§

const ID: i32 = id::QUERY_BLOCK_NBT

Source§

const NAME: &'static str = "query_block_nbt"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for QueryEntityNbt

Source§

const ID: i32 = id::QUERY_ENTITY_NBT

Source§

const NAME: &'static str = "query_entity_nbt"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for RecipeBook

Source§

const ID: i32 = id::RECIPE_BOOK

Source§

const NAME: &'static str = "recipe_book"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::RelEntityMove

Source§

const ID: i32 = id::REL_ENTITY_MOVE

Source§

const NAME: &'static str = "rel_entity_move"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::RelEntityMove

Source§

const ID: i32 = id::REL_ENTITY_MOVE

Source§

const NAME: &'static str = "rel_entity_move"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::RemoveEntityEffect

Source§

const ID: i32 = id::REMOVE_ENTITY_EFFECT

Source§

const NAME: &'static str = "remove_entity_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::RemoveEntityEffect

Source§

const ID: i32 = id::REMOVE_ENTITY_EFFECT

Source§

const NAME: &'static str = "remove_entity_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::ResourcePackReceive

Source§

const ID: i32 = id::RESOURCE_PACK_RECEIVE

Source§

const NAME: &'static str = "resource_pack_receive"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::ResourcePackReceive

Source§

const ID: i32 = id::RESOURCE_PACK_RECEIVE

Source§

const NAME: &'static str = "resource_pack_receive"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::ResourcePackSend

Source§

const ID: i32 = id::RESOURCE_PACK_SEND

Source§

const NAME: &'static str = "resource_pack_send"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::ResourcePackSend

Source§

const ID: i32 = id::RESOURCE_PACK_SEND

Source§

const NAME: &'static str = "resource_pack_send"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Respawn

Source§

const ID: i32 = id::RESPAWN

Source§

const NAME: &'static str = "respawn"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Respawn

Source§

const ID: i32 = id::RESPAWN

Source§

const NAME: &'static str = "respawn"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::ScoreboardDisplayObjective

Source§

const ID: i32 = id::SCOREBOARD_DISPLAY_OBJECTIVE

Source§

const NAME: &'static str = "scoreboard_display_objective"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::ScoreboardDisplayObjective

Source§

const ID: i32 = id::SCOREBOARD_DISPLAY_OBJECTIVE

Source§

const NAME: &'static str = "scoreboard_display_objective"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::ScoreboardObjective

Source§

const ID: i32 = id::SCOREBOARD_OBJECTIVE

Source§

const NAME: &'static str = "scoreboard_objective"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::ScoreboardObjective

Source§

const ID: i32 = id::SCOREBOARD_OBJECTIVE

Source§

const NAME: &'static str = "scoreboard_objective"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::ScoreboardScore

Source§

const ID: i32 = id::SCOREBOARD_SCORE

Source§

const NAME: &'static str = "scoreboard_score"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::ScoreboardScore

Source§

const ID: i32 = id::SCOREBOARD_SCORE

Source§

const NAME: &'static str = "scoreboard_score"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ScoreboardTeam

Source§

const ID: i32 = id::SCOREBOARD_TEAM

Source§

const NAME: &'static str = "scoreboard_team"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for SelectAdvancementTab

Source§

const ID: i32 = id::SELECT_ADVANCEMENT_TAB

Source§

const NAME: &'static str = "select_advancement_tab"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for SelectTrade

Source§

const ID: i32 = id::SELECT_TRADE

Source§

const NAME: &'static str = "select_trade"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::status::clientbound::ServerInfo

Source§

const ID: i32 = id::SERVER_INFO

Source§

const NAME: &'static str = "server_info"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::status::clientbound::ServerInfo

Source§

const ID: i32 = id::SERVER_INFO

Source§

const NAME: &'static str = "server_info"

Source§

const STATE: State = State::Status

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for SetBeaconEffect

Source§

const ID: i32 = id::SET_BEACON_EFFECT

Source§

const NAME: &'static str = "set_beacon_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for SetCompression

Source§

const ID: i32 = id::SET_COMPRESSION

Source§

const NAME: &'static str = "set_compression"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for SetCooldown

Source§

const ID: i32 = id::SET_COOLDOWN

Source§

const NAME: &'static str = "set_cooldown"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::SetCreativeSlot

Source§

const ID: i32 = id::SET_CREATIVE_SLOT

Source§

const NAME: &'static str = "set_creative_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::SetCreativeSlot

Source§

const ID: i32 = id::SET_CREATIVE_SLOT

Source§

const NAME: &'static str = "set_creative_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for SetDifficulty

Source§

const ID: i32 = id::SET_DIFFICULTY

Source§

const NAME: &'static str = "set_difficulty"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for SetPassengers

Source§

const ID: i32 = id::SET_PASSENGERS

Source§

const NAME: &'static str = "set_passengers"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::handshaking::serverbound::SetProtocol

Source§

const ID: i32 = id::SET_PROTOCOL

Source§

const NAME: &'static str = "set_protocol"

Source§

const STATE: State = State::Handshaking

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::handshaking::serverbound::SetProtocol

Source§

const ID: i32 = id::SET_PROTOCOL

Source§

const NAME: &'static str = "set_protocol"

Source§

const STATE: State = State::Handshaking

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::SetSlot

Source§

const ID: i32 = id::SET_SLOT

Source§

const NAME: &'static str = "set_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::SetSlot

Source§

const ID: i32 = id::SET_SLOT

Source§

const NAME: &'static str = "set_slot"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Settings

Source§

const ID: i32 = id::SETTINGS

Source§

const NAME: &'static str = "settings"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Settings

Source§

const ID: i32 = id::SETTINGS

Source§

const NAME: &'static str = "settings"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for SoundEffect

Source§

const ID: i32 = id::SOUND_EFFECT

Source§

const NAME: &'static str = "sound_effect"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::SpawnEntity

Source§

const ID: i32 = id::SPAWN_ENTITY

Source§

const NAME: &'static str = "spawn_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::SpawnEntity

Source§

const ID: i32 = id::SPAWN_ENTITY

Source§

const NAME: &'static str = "spawn_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::SpawnEntityExperienceOrb

Source§

const ID: i32 = id::SPAWN_ENTITY_EXPERIENCE_ORB

Source§

const NAME: &'static str = "spawn_entity_experience_orb"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::SpawnEntityExperienceOrb

Source§

const ID: i32 = id::SPAWN_ENTITY_EXPERIENCE_ORB

Source§

const NAME: &'static str = "spawn_entity_experience_orb"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::SpawnEntityLiving

Source§

const ID: i32 = id::SPAWN_ENTITY_LIVING

Source§

const NAME: &'static str = "spawn_entity_living"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::SpawnEntityLiving

Source§

const ID: i32 = id::SPAWN_ENTITY_LIVING

Source§

const NAME: &'static str = "spawn_entity_living"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::SpawnEntityPainting

Source§

const ID: i32 = id::SPAWN_ENTITY_PAINTING

Source§

const NAME: &'static str = "spawn_entity_painting"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::SpawnEntityPainting

Source§

const ID: i32 = id::SPAWN_ENTITY_PAINTING

Source§

const NAME: &'static str = "spawn_entity_painting"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for SpawnEntityWeather

Source§

const ID: i32 = id::SPAWN_ENTITY_WEATHER

Source§

const NAME: &'static str = "spawn_entity_weather"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::SpawnPosition

Source§

const ID: i32 = id::SPAWN_POSITION

Source§

const NAME: &'static str = "spawn_position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::SpawnPosition

Source§

const ID: i32 = id::SPAWN_POSITION

Source§

const NAME: &'static str = "spawn_position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Spectate

Source§

const ID: i32 = id::SPECTATE

Source§

const NAME: &'static str = "spectate"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Spectate

Source§

const ID: i32 = id::SPECTATE

Source§

const NAME: &'static str = "spectate"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Statistics

Source§

const ID: i32 = id::STATISTICS

Source§

const NAME: &'static str = "statistics"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Statistics

Source§

const ID: i32 = id::STATISTICS

Source§

const NAME: &'static str = "statistics"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for SteerBoat

Source§

const ID: i32 = id::STEER_BOAT

Source§

const NAME: &'static str = "steer_boat"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::SteerVehicle

Source§

const ID: i32 = id::STEER_VEHICLE

Source§

const NAME: &'static str = "steer_vehicle"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::SteerVehicle

Source§

const ID: i32 = id::STEER_VEHICLE

Source§

const NAME: &'static str = "steer_vehicle"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for StopSound

Source§

const ID: i32 = id::STOP_SOUND

Source§

const NAME: &'static str = "stop_sound"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::login::clientbound::Success

Source§

const ID: i32 = id::SUCCESS

Source§

const NAME: &'static str = "success"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::login::clientbound::Success

Source§

const ID: i32 = id::SUCCESS

Source§

const NAME: &'static str = "success"

Source§

const STATE: State = State::Login

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::TabComplete

Source§

const ID: i32 = id::TAB_COMPLETE

Source§

const NAME: &'static str = "tab_complete"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::TabComplete

Source§

const ID: i32 = id::TAB_COMPLETE

Source§

const NAME: &'static str = "tab_complete"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::TabComplete

Source§

const ID: i32 = id::TAB_COMPLETE

Source§

const NAME: &'static str = "tab_complete"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::TabComplete

Source§

const ID: i32 = id::TAB_COMPLETE

Source§

const NAME: &'static str = "tab_complete"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for Tags

Source§

const ID: i32 = id::TAGS

Source§

const NAME: &'static str = "tags"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for Teams

Source§

const ID: i32 = id::TEAMS

Source§

const NAME: &'static str = "teams"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for TeleportConfirm

Source§

const ID: i32 = id::TELEPORT_CONFIRM

Source§

const NAME: &'static str = "teleport_confirm"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::TileEntityData

Source§

const ID: i32 = id::TILE_ENTITY_DATA

Source§

const NAME: &'static str = "tile_entity_data"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::TileEntityData

Source§

const ID: i32 = id::TILE_ENTITY_DATA

Source§

const NAME: &'static str = "tile_entity_data"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Title

Source§

const ID: i32 = id::TITLE

Source§

const NAME: &'static str = "title"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Title

Source§

const ID: i32 = id::TITLE

Source§

const NAME: &'static str = "title"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for TradeList

Source§

const ID: i32 = id::TRADE_LIST

Source§

const NAME: &'static str = "trade_list"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::Transaction

Source§

const ID: i32 = id::TRANSACTION

Source§

const NAME: &'static str = "transaction"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::Transaction

Source§

const ID: i32 = id::TRANSACTION

Source§

const NAME: &'static str = "transaction"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::Transaction

Source§

const ID: i32 = id::TRANSACTION

Source§

const NAME: &'static str = "transaction"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::Transaction

Source§

const ID: i32 = id::TRANSACTION

Source§

const NAME: &'static str = "transaction"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for UnloadChunk

Source§

const ID: i32 = id::UNLOAD_CHUNK

Source§

const NAME: &'static str = "unload_chunk"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for UnlockRecipes

Source§

const ID: i32 = id::UNLOCK_RECIPES

Source§

const NAME: &'static str = "unlock_recipes"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for UpdateAttributes

Source§

const ID: i32 = id::UPDATE_ATTRIBUTES

Source§

const NAME: &'static str = "update_attributes"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for UpdateCommandBlock

Source§

const ID: i32 = id::UPDATE_COMMAND_BLOCK

Source§

const NAME: &'static str = "update_command_block"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for UpdateCommandBlockMinecart

Source§

const ID: i32 = id::UPDATE_COMMAND_BLOCK_MINECART

Source§

const NAME: &'static str = "update_command_block_minecart"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for UpdateEntityNbt

Source§

const ID: i32 = id::UPDATE_ENTITY_NBT

Source§

const NAME: &'static str = "update_entity_nbt"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::UpdateHealth

Source§

const ID: i32 = id::UPDATE_HEALTH

Source§

const NAME: &'static str = "update_health"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::UpdateHealth

Source§

const ID: i32 = id::UPDATE_HEALTH

Source§

const NAME: &'static str = "update_health"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for UpdateJigsawBlock

Source§

const ID: i32 = id::UPDATE_JIGSAW_BLOCK

Source§

const NAME: &'static str = "update_jigsaw_block"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for UpdateLight

Source§

const ID: i32 = id::UPDATE_LIGHT

Source§

const NAME: &'static str = "update_light"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::UpdateSign

Source§

const ID: i32 = id::UPDATE_SIGN

Source§

const NAME: &'static str = "update_sign"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::UpdateSign

Source§

const ID: i32 = id::UPDATE_SIGN

Source§

const NAME: &'static str = "update_sign"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::UpdateSign

Source§

const ID: i32 = id::UPDATE_SIGN

Source§

const NAME: &'static str = "update_sign"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for UpdateStructureBlock

Source§

const ID: i32 = id::UPDATE_STRUCTURE_BLOCK

Source§

const NAME: &'static str = "update_structure_block"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::UpdateTime

Source§

const ID: i32 = id::UPDATE_TIME

Source§

const NAME: &'static str = "update_time"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::UpdateTime

Source§

const ID: i32 = id::UPDATE_TIME

Source§

const NAME: &'static str = "update_time"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for UpdateViewDistance

Source§

const ID: i32 = id::UPDATE_VIEW_DISTANCE

Source§

const NAME: &'static str = "update_view_distance"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for UpdateViewPosition

Source§

const ID: i32 = id::UPDATE_VIEW_POSITION

Source§

const NAME: &'static str = "update_view_position"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::UseEntity

Source§

const ID: i32 = id::USE_ENTITY

Source§

const NAME: &'static str = "use_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::UseEntity

Source§

const ID: i32 = id::USE_ENTITY

Source§

const NAME: &'static str = "use_entity"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for UseItem

Source§

const ID: i32 = id::USE_ITEM

Source§

const NAME: &'static str = "use_item"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::VehicleMove

Source§

const ID: i32 = id::VEHICLE_MOVE

Source§

const NAME: &'static str = "vehicle_move"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::VehicleMove

Source§

const ID: i32 = id::VEHICLE_MOVE

Source§

const NAME: &'static str = "vehicle_move"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::serverbound::WindowClick

Source§

const ID: i32 = id::WINDOW_CLICK

Source§

const NAME: &'static str = "window_click"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::serverbound::WindowClick

Source§

const ID: i32 = id::WINDOW_CLICK

Source§

const NAME: &'static str = "window_click"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Serverbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::WindowItems

Source§

const ID: i32 = id::WINDOW_ITEMS

Source§

const NAME: &'static str = "window_items"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::WindowItems

Source§

const ID: i32 = id::WINDOW_ITEMS

Source§

const NAME: &'static str = "window_items"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::WorldBorder

Source§

const ID: i32 = id::WORLD_BORDER

Source§

const NAME: &'static str = "world_border"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::WorldBorder

Source§

const ID: i32 = id::WORLD_BORDER

Source§

const NAME: &'static str = "world_border"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::WorldEvent

Source§

const ID: i32 = id::WORLD_EVENT

Source§

const NAME: &'static str = "world_event"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::WorldEvent

Source§

const ID: i32 = id::WORLD_EVENT

Source§

const NAME: &'static str = "world_event"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_8::play::clientbound::WorldParticles

Source§

const ID: i32 = id::WORLD_PARTICLES

Source§

const NAME: &'static str = "world_particles"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound

Source§

impl Packet for ghast_protocol::v1_16_5::play::clientbound::WorldParticles

Source§

const ID: i32 = id::WORLD_PARTICLES

Source§

const NAME: &'static str = "world_particles"

Source§

const STATE: State = State::Play

Source§

const DIRECTION: Direction = Direction::Clientbound