pub enum ServerboundGamePacketwhere
Self: Sized,{
Show 62 variants
AcceptTeleportation(ServerboundAcceptTeleportation),
BlockEntityTagQuery(ServerboundBlockEntityTagQuery),
BundleItemSelected(ServerboundBundleItemSelected),
ChangeDifficulty(ServerboundChangeDifficulty),
ChatAck(ServerboundChatAck),
ChatCommand(ServerboundChatCommand),
ChatCommandSigned(ServerboundChatCommandSigned),
Chat(ServerboundChat),
ChatSessionUpdate(ServerboundChatSessionUpdate),
ChunkBatchReceived(ServerboundChunkBatchReceived),
ClientCommand(ServerboundClientCommand),
ClientTickEnd(ServerboundClientTickEnd),
ClientInformation(ServerboundClientInformation),
CommandSuggestion(ServerboundCommandSuggestion),
ConfigurationAcknowledged(ServerboundConfigurationAcknowledged),
ContainerButtonClick(ServerboundContainerButtonClick),
ContainerClick(ServerboundContainerClick),
ContainerClose(ServerboundContainerClose),
ContainerSlotStateChanged(ServerboundContainerSlotStateChanged),
CookieResponse(ServerboundCookieResponse),
CustomPayload(ServerboundCustomPayload),
DebugSampleSubscription(ServerboundDebugSampleSubscription),
EditBook(ServerboundEditBook),
EntityTagQuery(ServerboundEntityTagQuery),
Interact(ServerboundInteract),
JigsawGenerate(ServerboundJigsawGenerate),
KeepAlive(ServerboundKeepAlive),
LockDifficulty(ServerboundLockDifficulty),
MovePlayerPos(ServerboundMovePlayerPos),
MovePlayerPosRot(ServerboundMovePlayerPosRot),
MovePlayerRot(ServerboundMovePlayerRot),
MovePlayerStatusOnly(ServerboundMovePlayerStatusOnly),
MoveVehicle(ServerboundMoveVehicle),
PaddleBoat(ServerboundPaddleBoat),
PickItemFromBlock(ServerboundPickItemFromBlock),
PickItemFromEntity(ServerboundPickItemFromEntity),
PingRequest(ServerboundPingRequest),
PlaceRecipe(ServerboundPlaceRecipe),
PlayerAbilities(ServerboundPlayerAbilities),
PlayerAction(ServerboundPlayerAction),
PlayerCommand(ServerboundPlayerCommand),
PlayerInput(ServerboundPlayerInput),
PlayerLoaded(ServerboundPlayerLoaded),
Pong(ServerboundPong),
RecipeBookChangeSettings(ServerboundRecipeBookChangeSettings),
RecipeBookSeenRecipe(ServerboundRecipeBookSeenRecipe),
RenameItem(ServerboundRenameItem),
ResourcePack(ServerboundResourcePack),
SeenAdvancements(ServerboundSeenAdvancements),
SelectTrade(ServerboundSelectTrade),
SetBeacon(ServerboundSetBeacon),
SetCarriedItem(ServerboundSetCarriedItem),
SetCommandBlock(ServerboundSetCommandBlock),
SetCommandMinecart(ServerboundSetCommandMinecart),
SetCreativeModeSlot(ServerboundSetCreativeModeSlot),
SetJigsawBlock(ServerboundSetJigsawBlock),
SetStructureBlock(ServerboundSetStructureBlock),
SignUpdate(ServerboundSignUpdate),
Swing(ServerboundSwing),
TeleportToEntity(ServerboundTeleportToEntity),
UseItemOn(ServerboundUseItemOn),
UseItem(ServerboundUseItem),
}
Variants§
AcceptTeleportation(ServerboundAcceptTeleportation)
BlockEntityTagQuery(ServerboundBlockEntityTagQuery)
BundleItemSelected(ServerboundBundleItemSelected)
ChangeDifficulty(ServerboundChangeDifficulty)
ChatAck(ServerboundChatAck)
ChatCommand(ServerboundChatCommand)
ChatCommandSigned(ServerboundChatCommandSigned)
Chat(ServerboundChat)
ChatSessionUpdate(ServerboundChatSessionUpdate)
ChunkBatchReceived(ServerboundChunkBatchReceived)
ClientCommand(ServerboundClientCommand)
ClientTickEnd(ServerboundClientTickEnd)
ClientInformation(ServerboundClientInformation)
CommandSuggestion(ServerboundCommandSuggestion)
ConfigurationAcknowledged(ServerboundConfigurationAcknowledged)
ContainerButtonClick(ServerboundContainerButtonClick)
ContainerClick(ServerboundContainerClick)
ContainerClose(ServerboundContainerClose)
ContainerSlotStateChanged(ServerboundContainerSlotStateChanged)
CookieResponse(ServerboundCookieResponse)
CustomPayload(ServerboundCustomPayload)
DebugSampleSubscription(ServerboundDebugSampleSubscription)
EditBook(ServerboundEditBook)
EntityTagQuery(ServerboundEntityTagQuery)
Interact(ServerboundInteract)
JigsawGenerate(ServerboundJigsawGenerate)
KeepAlive(ServerboundKeepAlive)
LockDifficulty(ServerboundLockDifficulty)
MovePlayerPos(ServerboundMovePlayerPos)
MovePlayerPosRot(ServerboundMovePlayerPosRot)
MovePlayerRot(ServerboundMovePlayerRot)
MovePlayerStatusOnly(ServerboundMovePlayerStatusOnly)
MoveVehicle(ServerboundMoveVehicle)
PaddleBoat(ServerboundPaddleBoat)
PickItemFromBlock(ServerboundPickItemFromBlock)
PickItemFromEntity(ServerboundPickItemFromEntity)
PingRequest(ServerboundPingRequest)
PlaceRecipe(ServerboundPlaceRecipe)
PlayerAbilities(ServerboundPlayerAbilities)
PlayerAction(ServerboundPlayerAction)
PlayerCommand(ServerboundPlayerCommand)
PlayerInput(ServerboundPlayerInput)
PlayerLoaded(ServerboundPlayerLoaded)
Pong(ServerboundPong)
RecipeBookChangeSettings(ServerboundRecipeBookChangeSettings)
RecipeBookSeenRecipe(ServerboundRecipeBookSeenRecipe)
RenameItem(ServerboundRenameItem)
ResourcePack(ServerboundResourcePack)
SeenAdvancements(ServerboundSeenAdvancements)
SelectTrade(ServerboundSelectTrade)
SetBeacon(ServerboundSetBeacon)
SetCarriedItem(ServerboundSetCarriedItem)
SetCommandBlock(ServerboundSetCommandBlock)
SetCommandMinecart(ServerboundSetCommandMinecart)
SetCreativeModeSlot(ServerboundSetCreativeModeSlot)
SetJigsawBlock(ServerboundSetJigsawBlock)
SetStructureBlock(ServerboundSetStructureBlock)
SignUpdate(ServerboundSignUpdate)
Swing(ServerboundSwing)
TeleportToEntity(ServerboundTeleportToEntity)
UseItemOn(ServerboundUseItemOn)
UseItem(ServerboundUseItem)
Trait Implementations§
Source§impl Clone for ServerboundGamePacketwhere
Self: Sized,
impl Clone for ServerboundGamePacketwhere
Self: Sized,
Source§fn clone(&self) -> ServerboundGamePacket
fn clone(&self) -> ServerboundGamePacket
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ServerboundGamePacketwhere
Self: Sized,
impl Debug for ServerboundGamePacketwhere
Self: Sized,
Source§impl Packet<ServerboundGamePacket> for ServerboundAcceptTeleportation
impl Packet<ServerboundGamePacket> for ServerboundAcceptTeleportation
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundBlockEntityTagQuery
impl Packet<ServerboundGamePacket> for ServerboundBlockEntityTagQuery
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundBundleItemSelected
impl Packet<ServerboundGamePacket> for ServerboundBundleItemSelected
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChangeDifficulty
impl Packet<ServerboundGamePacket> for ServerboundChangeDifficulty
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChat
impl Packet<ServerboundGamePacket> for ServerboundChat
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChatAck
impl Packet<ServerboundGamePacket> for ServerboundChatAck
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChatCommand
impl Packet<ServerboundGamePacket> for ServerboundChatCommand
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChatCommandSigned
impl Packet<ServerboundGamePacket> for ServerboundChatCommandSigned
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChatSessionUpdate
impl Packet<ServerboundGamePacket> for ServerboundChatSessionUpdate
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundChunkBatchReceived
impl Packet<ServerboundGamePacket> for ServerboundChunkBatchReceived
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundClientCommand
impl Packet<ServerboundGamePacket> for ServerboundClientCommand
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundClientInformation
impl Packet<ServerboundGamePacket> for ServerboundClientInformation
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundClientTickEnd
impl Packet<ServerboundGamePacket> for ServerboundClientTickEnd
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundCommandSuggestion
impl Packet<ServerboundGamePacket> for ServerboundCommandSuggestion
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundConfigurationAcknowledged
impl Packet<ServerboundGamePacket> for ServerboundConfigurationAcknowledged
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundContainerButtonClick
impl Packet<ServerboundGamePacket> for ServerboundContainerButtonClick
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundContainerClick
impl Packet<ServerboundGamePacket> for ServerboundContainerClick
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundContainerClose
impl Packet<ServerboundGamePacket> for ServerboundContainerClose
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundContainerSlotStateChanged
impl Packet<ServerboundGamePacket> for ServerboundContainerSlotStateChanged
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundCookieResponse
impl Packet<ServerboundGamePacket> for ServerboundCookieResponse
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundCustomPayload
impl Packet<ServerboundGamePacket> for ServerboundCustomPayload
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundDebugSampleSubscription
impl Packet<ServerboundGamePacket> for ServerboundDebugSampleSubscription
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundEditBook
impl Packet<ServerboundGamePacket> for ServerboundEditBook
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundEntityTagQuery
impl Packet<ServerboundGamePacket> for ServerboundEntityTagQuery
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundGamePacket
impl Packet<ServerboundGamePacket> for ServerboundGamePacket
Source§fn into_variant(self) -> ServerboundGamePacket
fn into_variant(self) -> ServerboundGamePacket
No-op, exists so you can pass a packet enum when a Packet<> is expected.
Source§impl Packet<ServerboundGamePacket> for ServerboundInteract
impl Packet<ServerboundGamePacket> for ServerboundInteract
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundJigsawGenerate
impl Packet<ServerboundGamePacket> for ServerboundJigsawGenerate
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundKeepAlive
impl Packet<ServerboundGamePacket> for ServerboundKeepAlive
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundLockDifficulty
impl Packet<ServerboundGamePacket> for ServerboundLockDifficulty
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundMovePlayerPos
impl Packet<ServerboundGamePacket> for ServerboundMovePlayerPos
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundMovePlayerPosRot
impl Packet<ServerboundGamePacket> for ServerboundMovePlayerPosRot
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundMovePlayerRot
impl Packet<ServerboundGamePacket> for ServerboundMovePlayerRot
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundMovePlayerStatusOnly
impl Packet<ServerboundGamePacket> for ServerboundMovePlayerStatusOnly
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundMoveVehicle
impl Packet<ServerboundGamePacket> for ServerboundMoveVehicle
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPaddleBoat
impl Packet<ServerboundGamePacket> for ServerboundPaddleBoat
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPickItemFromBlock
impl Packet<ServerboundGamePacket> for ServerboundPickItemFromBlock
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPickItemFromEntity
impl Packet<ServerboundGamePacket> for ServerboundPickItemFromEntity
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPingRequest
impl Packet<ServerboundGamePacket> for ServerboundPingRequest
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPlaceRecipe
impl Packet<ServerboundGamePacket> for ServerboundPlaceRecipe
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPlayerAbilities
impl Packet<ServerboundGamePacket> for ServerboundPlayerAbilities
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPlayerAction
impl Packet<ServerboundGamePacket> for ServerboundPlayerAction
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPlayerCommand
impl Packet<ServerboundGamePacket> for ServerboundPlayerCommand
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPlayerInput
impl Packet<ServerboundGamePacket> for ServerboundPlayerInput
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPlayerLoaded
impl Packet<ServerboundGamePacket> for ServerboundPlayerLoaded
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundPong
impl Packet<ServerboundGamePacket> for ServerboundPong
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundRecipeBookChangeSettings
impl Packet<ServerboundGamePacket> for ServerboundRecipeBookChangeSettings
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundRecipeBookSeenRecipe
impl Packet<ServerboundGamePacket> for ServerboundRecipeBookSeenRecipe
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundRenameItem
impl Packet<ServerboundGamePacket> for ServerboundRenameItem
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundResourcePack
impl Packet<ServerboundGamePacket> for ServerboundResourcePack
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSeenAdvancements
impl Packet<ServerboundGamePacket> for ServerboundSeenAdvancements
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSelectTrade
impl Packet<ServerboundGamePacket> for ServerboundSelectTrade
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetBeacon
impl Packet<ServerboundGamePacket> for ServerboundSetBeacon
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetCarriedItem
impl Packet<ServerboundGamePacket> for ServerboundSetCarriedItem
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetCommandBlock
impl Packet<ServerboundGamePacket> for ServerboundSetCommandBlock
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetCommandMinecart
impl Packet<ServerboundGamePacket> for ServerboundSetCommandMinecart
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetCreativeModeSlot
impl Packet<ServerboundGamePacket> for ServerboundSetCreativeModeSlot
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetJigsawBlock
impl Packet<ServerboundGamePacket> for ServerboundSetJigsawBlock
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSetStructureBlock
impl Packet<ServerboundGamePacket> for ServerboundSetStructureBlock
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSignUpdate
impl Packet<ServerboundGamePacket> for ServerboundSignUpdate
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundSwing
impl Packet<ServerboundGamePacket> for ServerboundSwing
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundTeleportToEntity
impl Packet<ServerboundGamePacket> for ServerboundTeleportToEntity
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundUseItem
impl Packet<ServerboundGamePacket> for ServerboundUseItem
fn into_variant(self) -> ServerboundGamePacket
Source§impl Packet<ServerboundGamePacket> for ServerboundUseItemOn
impl Packet<ServerboundGamePacket> for ServerboundUseItemOn
fn into_variant(self) -> ServerboundGamePacket
Source§impl ProtocolPacket for ServerboundGamePacket
impl ProtocolPacket for ServerboundGamePacket
Auto Trait Implementations§
impl Freeze for ServerboundGamePacketwhere
ServerboundGamePacket: Sized,
impl !RefUnwindSafe for ServerboundGamePacket
impl Send for ServerboundGamePacketwhere
ServerboundGamePacket: Sized,
impl Sync for ServerboundGamePacketwhere
ServerboundGamePacket: Sized,
impl Unpin for ServerboundGamePacketwhere
ServerboundGamePacket: Sized,
impl !UnwindSafe for ServerboundGamePacket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.