Enum minecraft_data::play_c2s
source · #[repr(u8)]pub enum play_c2s {
Show 56 variants
TeleportConfirm = 0,
QueryBlockNbt = 1,
UpdateDifficulty = 2,
MessageAcknowledgment = 3,
CommandExecution = 4,
ChatMessage = 5,
PlayerSession = 6,
AcknowledgeChunks = 7,
ClientStatus = 8,
ClientOptions = 9,
RequestCommandCompletions = 10,
AcknowledgeReconfiguration = 11,
ButtonClick = 12,
ClickSlot = 13,
CloseHandledScreen = 14,
SlotChangedState = 15,
CookieResponse = 16,
CustomPayload = 17,
BookUpdate = 18,
QueryEntityNbt = 19,
PlayerInteractEntity = 20,
JigsawGenerating = 21,
KeepAlive = 22,
UpdateDifficultyLock = 23,
PlayerMovePositionAndOnGround = 24,
PlayerMoveFull = 25,
PlayerMoveLookAndOnGround = 26,
PlayerMoveOnGroundOnly = 27,
VehicleMove = 28,
BoatPaddleState = 29,
PickFromInventory = 30,
QueryPing = 31,
CraftRequest = 32,
UpdatePlayerAbilities = 33,
PlayerAction = 34,
ClientCommand = 35,
PlayerInput = 36,
CommonPong = 37,
RecipeCategoryOptions = 38,
RecipeBookData = 39,
RenameItem = 40,
ResourcePackStatus = 41,
AdvancementTab = 42,
SelectMerchantTrade = 43,
UpdateBeacon = 44,
UpdateSelectedSlot = 45,
UpdateCommandBlock = 46,
UpdateCommandBlockMinecart = 47,
CreativeInventoryAction = 48,
UpdateJigsaw = 49,
UpdateStructureBlock = 50,
UpdateSign = 51,
HandSwing = 52,
SpectatorTeleport = 53,
PlayerInteractBlock = 54,
PlayerInteractItem = 55,
}Variants§
TeleportConfirm = 0
QueryBlockNbt = 1
UpdateDifficulty = 2
MessageAcknowledgment = 3
CommandExecution = 4
ChatMessage = 5
PlayerSession = 6
AcknowledgeChunks = 7
ClientStatus = 8
ClientOptions = 9
RequestCommandCompletions = 10
AcknowledgeReconfiguration = 11
ButtonClick = 12
ClickSlot = 13
CloseHandledScreen = 14
SlotChangedState = 15
CookieResponse = 16
CustomPayload = 17
BookUpdate = 18
QueryEntityNbt = 19
PlayerInteractEntity = 20
JigsawGenerating = 21
KeepAlive = 22
UpdateDifficultyLock = 23
PlayerMovePositionAndOnGround = 24
PlayerMoveFull = 25
PlayerMoveLookAndOnGround = 26
PlayerMoveOnGroundOnly = 27
VehicleMove = 28
BoatPaddleState = 29
PickFromInventory = 30
QueryPing = 31
CraftRequest = 32
UpdatePlayerAbilities = 33
PlayerAction = 34
ClientCommand = 35
PlayerInput = 36
CommonPong = 37
RecipeCategoryOptions = 38
RecipeBookData = 39
RenameItem = 40
ResourcePackStatus = 41
AdvancementTab = 42
SelectMerchantTrade = 43
UpdateBeacon = 44
UpdateSelectedSlot = 45
UpdateCommandBlock = 46
UpdateCommandBlockMinecart = 47
CreativeInventoryAction = 48
UpdateJigsaw = 49
UpdateStructureBlock = 50
UpdateSign = 51
HandSwing = 52
SpectatorTeleport = 53
PlayerInteractBlock = 54
PlayerInteractItem = 55
Implementations§
source§impl play_c2s
impl play_c2s
pub const fn id(self) -> raw_play_c2s
pub const fn new(x: raw_play_c2s) -> Self
Trait Implementations§
source§impl PartialEq for play_c2s
impl PartialEq for play_c2s
impl Copy for play_c2s
impl Eq for play_c2s
impl StructuralEq for play_c2s
impl StructuralPartialEq for play_c2s
Auto Trait Implementations§
impl RefUnwindSafe for play_c2s
impl Send for play_c2s
impl Sync for play_c2s
impl Unpin for play_c2s
impl UnwindSafe for play_c2s
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more