Documentation ¶
Index ¶
- type LoginDisconnect_763_0
- type LoginEncryptionRequest_763_0
- type LoginEncryptionResponse_758_2
- type LoginEncryptionResponse_760_1
- type LoginEncryptionResponse_763_0
- type LoginPluginRequest_763_0
- type LoginPluginResponse_763_0
- type LoginSetCompression_763_0
- type LoginStart_758_2
- type LoginStart_760_1
- type LoginStart_763_0
- type LoginSuccess_578_2
- type LoginSuccess_758_1
- type LoginSuccess_763_0
- type PlayAcknowledgeBlockChange_763_0
- type PlayAcknowledgePlayerDigging_758_0
- type PlayActionBar_758_0
- type PlayAdvancementTab_758_0
- type PlayAdvancements_340_5
- type PlayAdvancements_754_2
- type PlayAdvancements_756_1
- type PlayAdvancements_758_0
- type PlayAnimationServer_404_0
- type PlayAnimation_404_1
- type PlayAnimation_758_0
- type PlayAttachEntity_758_0
- type PlayAwardStatistics_761_1
- type PlayAwardStatistics_763_0
- type PlayBlockAction_110_2
- type PlayBlockAction_758_1
- type PlayBlockAction_763_0
- type PlayBlockBreakAnimation_758_0
- type PlayBlockChange_758_0
- type PlayBlockEntityData_756_1
- type PlayBlockEntityData_763_0
- type PlayBlockUpdate_763_0
- type PlayBossBar_404_5
- type PlayBossBar_754_3
- type PlayBossBar_758_2
- type PlayBossBar_761_1
- type PlayBossBar_763_0
- type PlayBundleDelimiter_763_0
- type PlayCamera_758_0
- type PlayChangeDifficultyServer_763_0
- type PlayChangeDifficulty_763_0
- type PlayChangeGameState_758_0
- type PlayChangeRecipeBookSettings_763_0
- type PlayChatCommand_763_0
- type PlayChatMessageServer_758_0
- type PlayChatMessage_578_4
- type PlayChatMessage_758_3
- type PlayChatMessage_763_0
- type PlayChatPreviewServer_760_0
- type PlayChatPreview_760_0
- type PlayChatSuggestions_763_0
- type PlayChunkBiomes_763_0
- type PlayChunkDataAndUpdateLight_758_5
- type PlayChunkData_316_6
- type PlayChunkData_340_5
- type PlayChunkData_754_1
- type PlayChunkData_756_0
- type PlayClearTitles_763_0
- type PlayClickContainerButton_763_0
- type PlayClickContainer_761_1
- type PlayClickContainer_763_0
- type PlayClickWindowButton_758_0
- type PlayClickWindow_754_4
- type PlayClientCommand_763_0
- type PlayClientInformation_763_0
- type PlayClientSettings_754_2
- type PlayClientSettings_756_1
- type PlayClientSettings_758_0
- type PlayClientStatus_758_0
- type PlayCloseContainerServer_763_0
- type PlayCloseContainer_763_0
- type PlayCloseWindowServer_758_0
- type PlayCloseWindow_758_0
- type PlayCollectItem_210_1
- type PlayCollectItem_758_0
- type PlayCombatDeath_762_1
- type PlayCombatEvent_335_5
- type PlayCombatEvent_340_4
- type PlayCombatEvent_754_0
- type PlayCommandSuggestionsRequest_763_0
- type PlayCommandSuggestionsResponse_760_2
- type PlayCommandSuggestionsResponse_763_0
- type PlayCommands_763_0
- type PlayConfirmTeleportation_763_0
- type PlayConfirmTransactionServer_404_0
- type PlayConfirmTransaction_404_0
- type PlayCraftRecipeRequest_340_1
- type PlayCraftRecipeRequest_758_0
- type PlayCraftRecipeResponse_340_1
- type PlayCraftRecipeResponse_758_0
- type PlayCraftingBookData_340_0
- type PlayCreativeInventoryAction_758_0
- type PlayCustomSoundEffect_760_0
- type PlayDamageEvent_763_0
- type PlayDeathCombatEvent_758_0
- type PlayDeclareCommands_758_0
- type PlayDeclareRecipes_756_1
- type PlayDeclareRecipes_758_0
- type PlayDeleteMessage_763_0
- type PlayDestroyEntities_758_0
- type PlayDisconnect_763_0
- type PlayDisguisedChatMessage_763_0
- type PlayDisplayObjective_763_0
- type PlayDisplayScoreboard_758_0
- type PlayEditBook_755_4
- type PlayEditBook_763_0
- type PlayEffect_758_0
- type PlayEnchantItem_404_0
- type PlayEndCombatEvent_758_0
- type PlayEndCombat_762_1
- type PlayEnterCombatEvent_758_0
- type PlayEnterCombat_763_0
- type PlayEntityAction_758_0
- type PlayEntityAnimation_763_0
- type PlayEntityEffect_110_3
- type PlayEntityEffect_757_2
- type PlayEntityEffect_763_0
- type PlayEntityEquipment_578_2
- type PlayEntityEquipment_754_1
- type PlayEntityEquipment_758_0
- type PlayEntityEvent_763_0
- type PlayEntityHeadLook_758_0
- type PlayEntityLookAndRelativeMove_404_0
- type PlayEntityLook_404_0
- type PlayEntityMetadata_758_0
- type PlayEntityMovement_754_0
- type PlayEntityPositionAndRotation_758_0
- type PlayEntityPosition_758_0
- type PlayEntityProperties_315_9
- type PlayEntityProperties_340_6
- type PlayEntityProperties_754_2
- type PlayEntityProperties_756_1
- type PlayEntityProperties_758_0
- type PlayEntityRelativeMove_404_0
- type PlayEntityRotation_758_0
- type PlayEntitySoundEffect_760_1
- type PlayEntitySoundEffect_763_0
- type PlayEntityStatus_758_0
- type PlayEntityTeleport_758_0
- type PlayEntityVelocity_758_0
- type PlayEntity_404_0
- type PlayExplosion_498_3
- type PlayExplosion_754_2
- type PlayExplosion_760_1
- type PlayExplosion_763_0
- type PlayFacePlayer_757_0
- type PlayFeatureFlags_763_0
- type PlayGameEvent_763_0
- type PlayGenerateStructure_758_0
- type PlayHeldItemChangeServer_758_0
- type PlayHeldItemChange_758_0
- type PlayHurtAnimation_763_0
- type PlayInitializeWorldBorder_763_0
- type PlayInteractEntity_578_1
- type PlayInteractEntity_758_0
- type PlayInteract_763_0
- type PlayJigsawGenerate_763_0
- type PlayJoinGame_404_4
- type PlayJoinGame_756_1
- type PlayJoinGame_758_0
- type PlayKeepAliveServer_338_1
- type PlayKeepAliveServer_763_0
- type PlayKeepAlive_338_1
- type PlayKeepAlive_763_0
- type PlayLinkEntities_763_0
- type PlayLockDifficulty_763_0
- type PlayLogin_760_3
- type PlayLookAt_763_0
- type PlayMapData_756_5
- type PlayMapData_758_4
- type PlayMapData_763_0
- type PlayMap_340_0
- type PlayMerchantOffers_763_0
- type PlayMessageAcknowledgment_763_0
- type PlayMoveVehicleServer_763_0
- type PlayMoveVehicle_763_0
- type PlayMultiBlockChange_340_3
- type PlayMultiBlockChange_498_2
- type PlayMultiBlockChange_758_0
- type PlayNBTQueryResponse_758_0
- type PlayNameItem_758_0
- type PlayNamedSoundEffect_758_0
- type PlayOpenBook_763_0
- type PlayOpenHorseScreen_763_0
- type PlayOpenHorseWindow_756_1
- type PlayOpenHorseWindow_758_0
- type PlayOpenScreen_763_0
- type PlayOpenSignEditor_762_1
- type PlayOpenWindow_404_1
- type PlayOpenWindow_758_0
- type PlayPaddleBoat_763_0
- type PlayParticle_340_3
- type PlayParticle_498_2
- type PlayParticle_758_1
- type PlayParticle_763_0
- type PlayPickItem_763_0
- type PlayPickupItem_763_0
- type PlayPing_763_0
- type PlayPlaceGhostRecipe_763_0
- type PlayPlaceRecipe_763_0
- type PlayPluginMessageServer_763_0
- type PlayPluginMessage_763_0
- type PlayPong_763_0
- type PlayProgramCommandBlockMinecart_763_0
- type PlayProgramCommandBlock_763_0
- type PlayProgramJigsawBlock_763_0
- type PlayProgramStructureBlock_763_0
- type PlayQueryBlockEntityTag_763_0
- type PlayQueryBlockNBT_758_0
- type PlayQueryEntityNBT_758_0
- type PlayQueryEntityTag_763_0
- type PlayRemoveEntities_763_0
- type PlayRemoveEntityEffect_757_1
- type PlayRemoveEntityEffect_763_0
- type PlayRenameItem_763_0
- type PlayResourcePackSend_754_1
- type PlayResourcePackSend_758_0
- type PlayResourcePackServer_763_0
- type PlayResourcePackStatus_110_1
- type PlayResourcePackStatus_758_0
- type PlayResourcePack_763_0
- type PlayRespawn_404_8
- type PlayRespawn_756_5
- type PlayRespawn_758_4
- type PlayRespawn_760_3
- type PlayScoreboardObjective_340_1
- type PlayScoreboardObjective_758_0
- type PlaySculkVibrationSignal_758_0
- type PlaySeenAdvancements_763_0
- type PlaySelectAdvancementTab_758_0
- type PlaySelectAdvancementsTab_763_0
- type PlaySelectTrade_763_0
- type PlayServerData_760_2
- type PlayServerData_763_0
- type PlayServerDifficulty_404_1
- type PlayServerDifficulty_758_0
- type PlaySetActionBarText_763_0
- type PlaySetBeaconEffect_758_2
- type PlaySetBeaconEffect_763_0
- type PlaySetBlockDestroyStage_763_0
- type PlaySetBorderCenter_763_0
- type PlaySetBorderLerpSize_763_0
- type PlaySetBorderSize_763_0
- type PlaySetBorderWarningDelay_763_0
- type PlaySetBorderWarningDistance_763_0
- type PlaySetCamera_763_0
- type PlaySetCenterChunk_763_0
- type PlaySetContainerContent_763_0
- type PlaySetContainerProperty_763_0
- type PlaySetContainerSlot_763_0
- type PlaySetCooldown_763_0
- type PlaySetCreativeModeSlot_763_0
- type PlaySetDefaultSpawnPosition_763_0
- type PlaySetDifficulty_758_0
- type PlaySetDisplayChatPreview_760_0
- type PlaySetDisplayedRecipe_758_0
- type PlaySetEntityMetadata_763_0
- type PlaySetEntityVelocity_763_0
- type PlaySetEquipment_763_0
- type PlaySetExperience_760_1
- type PlaySetExperience_763_0
- type PlaySetHeadRotation_763_0
- type PlaySetHealth_763_0
- type PlaySetHeldItemServer_763_0
- type PlaySetHeldItem_763_0
- type PlaySetPassengers_763_0
- type PlaySetPlayerOnGround_763_0
- type PlaySetPlayerPositionAndRotation_763_0
- type PlaySetPlayerPosition_763_0
- type PlaySetPlayerRotation_763_0
- type PlaySetRecipeBookState_758_0
- type PlaySetRenderDistance_763_0
- type PlaySetSeenRecipe_763_0
- type PlaySetSimulationDistance_763_0
- type PlaySetSlot_755_1
- type PlaySetSlot_758_0
- type PlaySetSubtitleText_763_0
- type PlaySetTabListHeaderAndFooter_763_0
- type PlaySetTitleAnimationTimes_763_0
- type PlaySetTitleSubTitle_758_0
- type PlaySetTitleText_763_0
- type PlaySetTitleTimes_758_0
- type PlaySoundEffect_758_2
- type PlaySoundEffect_760_1
- type PlaySoundEffect_763_0
- type PlaySpawnEntity_758_1
- type PlaySpawnEntity_763_0
- type PlaySpawnExperienceOrb_763_0
- type PlaySpawnGlobalEntity_498_0
- type PlaySpawnLivingEntity_757_1
- type PlaySpawnMob_210_1
- type PlaySpawnMob_498_0
- type PlaySpawnObject_404_1
- type PlaySpawnPainting_340_1
- type PlaySpawnPainting_758_0
- type PlaySpawnPlayer_498_1
- type PlaySpawnPlayer_763_0
- type PlaySpawnPosition_754_1
- type PlaySpawnPosition_758_0
- type PlaySpectate_758_0
- type PlayStatistics_315_5
- type PlayStatistics_340_4
- type PlayStatistics_498_3
- type PlayStatistics_754_1
- type PlayStatistics_758_0
- type PlaySteerBoat_340_1
- type PlaySteerBoat_758_0
- type PlaySteerVehicle_758_0
- type PlayStopSound_763_0
- type PlaySwingArm_763_0
- type PlaySynchronizePlayerPosition_761_1
- type PlaySynchronizePlayerPosition_763_0
- type PlaySystemChatMessage_760_1
- type PlaySystemChatMessage_763_0
- type PlayTabCompleteServer_340_1
- type PlayTabCompleteServer_758_0
- type PlayTabComplete_340_5
- type PlayTabComplete_498_4
- type PlayTabComplete_758_0
- type PlayTagQueryResponse_763_0
- type PlayTags_754_2
- type PlayTags_756_1
- type PlayTags_758_0
- type PlayTeams_315_8
- type PlayTeams_340_5
- type PlayTeams_753_2
- type PlayTeams_758_0
- type PlayTeleportConfirm_758_0
- type PlayTeleportEntity_763_0
- type PlayTeleportToEntity_763_0
- type PlayTimeUpdate_758_0
- type PlayTitle_210_6
- type PlayTitle_316_5
- type PlayTitle_340_3
- type PlayTitle_754_0
- type PlayTradeList_754_1
- type PlayTradeList_758_0
- type PlayUnloadChunk_763_0
- type PlayUnlockRecipes_340_3
- type PlayUnlockRecipes_578_2
- type PlayUnlockRecipes_758_0
- type PlayUpdateAdvancements_763_0
- type PlayUpdateAttributes_763_0
- type PlayUpdateBlockEntity_498_0
- type PlayUpdateCommandBlockMinecart_758_0
- type PlayUpdateCommandBlock_758_0
- type PlayUpdateEntityPositionAndRotation_763_0
- type PlayUpdateEntityPosition_763_0
- type PlayUpdateEntityRotation_763_0
- type PlayUpdateHealth_758_0
- type PlayUpdateJigsawBlock_578_1
- type PlayUpdateJigsawBlock_758_0
- type PlayUpdateLight_754_7
- type PlayUpdateLight_756_6
- type PlayUpdateLight_758_5
- type PlayUpdateObjectives_763_0
- type PlayUpdateRecipeBook_763_0
- type PlayUpdateRecipes_763_0
- type PlayUpdateScore_315_2
- type PlayUpdateScore_757_1
- type PlayUpdateScore_763_0
- type PlayUpdateSectionBlocks_762_1
- type PlayUpdateSign_762_1
- type PlayUpdateSimulationDistance_758_0
- type PlayUpdateStructureBlock_758_0
- type PlayUpdateTags_763_0
- type PlayUpdateTeams_763_0
- type PlayUpdateTime_763_0
- type PlayUpdateViewDistance_758_0
- type PlayUpdateViewPosition_758_0
- type PlayUseBed_404_0
- type PlayUseEntity_404_0
- type PlayUseItemOn_763_0
- type PlayUseItem_758_1
- type PlayUseItem_763_0
- type PlayVehicleMoveServer_758_0
- type PlayVehicleMove_758_0
- type PlayWindowConfirmationServer_754_0
- type PlayWindowConfirmation_754_0
- type PlayWindowItems_755_1
- type PlayWindowItems_758_0
- type PlayWindowProperty_758_0
- type PlayWorldBorderCenter_758_0
- type PlayWorldBorderLerpSize_758_0
- type PlayWorldBorderSize_758_0
- type PlayWorldBorderWarningDelay_758_0
- type PlayWorldBorderWarningReach_758_0
- type PlayWorldBorder_316_6
- type PlayWorldBorder_340_4
- type PlayWorldBorder_753_1
- type PlayWorldEvent_763_0
- type PlayerAbilitiesServer_578_1
- type PlayerAbilitiesServer_763_0
- type PlayerAbilities_763_0
- type PlayerAction_763_0
- type PlayerBlockPlacement_210_2
- type PlayerBlockPlacement_404_1
- type PlayerBlockPlacement_758_0
- type PlayerChatMessage_763_0
- type PlayerCommand_763_0
- type PlayerDigging_758_0
- type PlayerInfoRemove_763_0
- type PlayerInfoUpdate_763_0
- type PlayerInfo_754_3
- type PlayerInfo_758_2
- type PlayerInput_763_0
- type PlayerListHeaderAndFooter_758_0
- type PlayerListItem_315_2
- type PlayerListItem_335_1
- type PlayerListItem_340_0
- type PlayerLook_404_0
- type PlayerMovement_758_0
- type PlayerPositionAndLookServer_404_0
- type PlayerPositionAndLook_754_1
- type PlayerPositionAndLook_758_0
- type PlayerPositionAndRotation_758_0
- type PlayerPosition_758_0
- type PlayerRotation_758_0
- type PlayerSession_763_0
- type Player_404_0
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginDisconnect_763_0 ¶
type LoginDisconnect_763_0 struct {
Reason Object // Chat
}
Protocol=763; ProtocolName=1.20; State=login; Bound=client; ID=0x0 Protocol=762; ProtocolName=1.19.4; State=login; Bound=client; ID=0x0 Protocol=761; ProtocolName=1.19.3; State=login; Bound=client; ID=0x0 Protocol=760; ProtocolName=1.19.2; State=login; Bound=client; ID=0x0 Protocol=759; ProtocolName=1.19; State=login; Bound=client; ID=0x0 Protocol=758; ProtocolName=1.18.2; State=login; Bound=client; ID=0x0 Protocol=757; ProtocolName=1.18.1; State=login; Bound=client; ID=0x0 Protocol=756; ProtocolName=1.17.1; State=login; Bound=client; ID=0x0 Protocol=755; ProtocolName=1.17; State=login; Bound=client; ID=0x0 Protocol=754; ProtocolName=1.16.5; State=login; Bound=client; ID=0x0 Protocol=753; ProtocolName=1.16.3; State=login; Bound=client; ID=0x0 Protocol=578; ProtocolName=1.15.2; State=login; Bound=client; ID=0x0 Protocol=498; ProtocolName=1.14.4; State=login; Bound=client; ID=0x0 Protocol=404; ProtocolName=1.13.2; State=login; Bound=client; ID=0x0 Protocol=340; ProtocolName=1.12.2; State=login; Bound=client; ID=0x0 Protocol=338; ProtocolName=1.12.1; State=login; Bound=client; ID=0x0 Protocol=335; ProtocolName=1.12; State=login; Bound=client; ID=0x0 Protocol=316; ProtocolName=1.11.2; State=login; Bound=client; ID=0x0 Protocol=315; ProtocolName=1.11; State=login; Bound=client; ID=0x0 Protocol=210; ProtocolName=1.10.2; State=login; Bound=client; ID=0x0 Protocol=110; ProtocolName=1.9.4; State=login; Bound=client; ID=0x0 Protocol=47; ProtocolName=1.8.9; State=login; Bound=client; ID=0x0
func (*LoginDisconnect_763_0) DecodeFrom ¶
func (p *LoginDisconnect_763_0) DecodeFrom(r *PacketReader) error
func (LoginDisconnect_763_0) Encode ¶
func (p LoginDisconnect_763_0) Encode(b *PacketBuilder)
type LoginEncryptionRequest_763_0 ¶
type LoginEncryptionRequest_763_0 struct { /* Appears to be empty */ ServerID String // String (20) /* Length of Public Key */ PublicKeyLength VarInt // VarInt PublicKey ByteArray // Byte Array /* Length of Verify Token. Always 4 for Notchian servers. */ VerifyTokenLength VarInt // VarInt /* A sequence of random bytes generated by the server */ VerifyToken ByteArray // Byte Array }
Protocol=763; ProtocolName=1.20; State=login; Bound=client; ID=0x1 Protocol=762; ProtocolName=1.19.4; State=login; Bound=client; ID=0x1 Protocol=761; ProtocolName=1.19.3; State=login; Bound=client; ID=0x1 Protocol=760; ProtocolName=1.19.2; State=login; Bound=client; ID=0x1 Protocol=759; ProtocolName=1.19; State=login; Bound=client; ID=0x1 Protocol=758; ProtocolName=1.18.2; State=login; Bound=client; ID=0x1 Protocol=757; ProtocolName=1.18.1; State=login; Bound=client; ID=0x1 Protocol=756; ProtocolName=1.17.1; State=login; Bound=client; ID=0x1 Protocol=755; ProtocolName=1.17; State=login; Bound=client; ID=0x1 Protocol=754; ProtocolName=1.16.5; State=login; Bound=client; ID=0x1 Protocol=753; ProtocolName=1.16.3; State=login; Bound=client; ID=0x1 Protocol=578; ProtocolName=1.15.2; State=login; Bound=client; ID=0x1 Protocol=498; ProtocolName=1.14.4; State=login; Bound=client; ID=0x1 Protocol=404; ProtocolName=1.13.2; State=login; Bound=client; ID=0x1 Protocol=340; ProtocolName=1.12.2; State=login; Bound=client; ID=0x1 Protocol=338; ProtocolName=1.12.1; State=login; Bound=client; ID=0x1 Protocol=335; ProtocolName=1.12; State=login; Bound=client; ID=0x1 Protocol=316; ProtocolName=1.11.2; State=login; Bound=client; ID=0x1 Protocol=315; ProtocolName=1.11; State=login; Bound=client; ID=0x1 Protocol=210; ProtocolName=1.10.2; State=login; Bound=client; ID=0x1 Protocol=110; ProtocolName=1.9.4; State=login; Bound=client; ID=0x1 Protocol=47; ProtocolName=1.8.9; State=login; Bound=client; ID=0x1
func (*LoginEncryptionRequest_763_0) DecodeFrom ¶
func (p *LoginEncryptionRequest_763_0) DecodeFrom(r *PacketReader) error
func (LoginEncryptionRequest_763_0) Encode ¶
func (p LoginEncryptionRequest_763_0) Encode(b *PacketBuilder)
type LoginEncryptionResponse_758_2 ¶
type LoginEncryptionResponse_758_2 struct { // VarInt SharedSecret ByteArray // Byte Array /* Length of Verify Token. */ VerifyTokenLength VarInt // VarInt /* Verify Token value, encrypted with the same public key as the shared secret. */ VerifyToken ByteArray // Byte Array }SharedSecretLength VarInt
Protocol=758; ProtocolName=1.18.2; State=login; Bound=server; ID=0x1 Protocol=757; ProtocolName=1.18.1; State=login; Bound=server; ID=0x1 Protocol=756; ProtocolName=1.17.1; State=login; Bound=server; ID=0x1 Protocol=754; ProtocolName=1.16.5; State=login; Bound=server; ID=0x1 Protocol=404; ProtocolName=1.13.2; State=login; Bound=server; ID=0x1 Protocol=338; ProtocolName=1.12.1; State=login; Bound=server; ID=0x1 Protocol=335; ProtocolName=1.12; State=login; Bound=server; ID=0x1 Protocol=316; ProtocolName=1.11.2; State=login; Bound=server; ID=0x1 Protocol=315; ProtocolName=1.11; State=login; Bound=server; ID=0x1 Protocol=210; ProtocolName=1.10.2; State=login; Bound=server; ID=0x1 Protocol=110; ProtocolName=1.9.4; State=login; Bound=server; ID=0x1
func (*LoginEncryptionResponse_758_2) DecodeFrom ¶
func (p *LoginEncryptionResponse_758_2) DecodeFrom(r *PacketReader) error
func (LoginEncryptionResponse_758_2) Encode ¶
func (p LoginEncryptionResponse_758_2) Encode(b *PacketBuilder)
type LoginEncryptionResponse_760_1 ¶
type LoginEncryptionResponse_760_1 struct { // VarInt SharedSecret ByteArray // Byte Array /* Whether or not the Verify Token should be sent. If not, then the salt and signature will be sent. */ HasVerifyToken Bool // Boolean /* Length of Verify Token. Optional and only sent if Has Verify Token is true. */ OptionalVerifyTokenLength VarInt // VarInt /* Verify Token value, encrypted with the same public key as the shared secret. Optional and only sent if Has Verify Token is true. */ OptionalVerifyToken ByteArray // Byte Array /* Cryptography, used for validating the message signature. Optional and only sent if Has Verify Token is false. */ OptionalSalt Long // Long /* Array Length. Optional and only sent if Has Verify Token is false. */ OptionalMessageSignatureLength VarInt // VarInt /* The bytes of the public key signature the client received from Mojang. Optional and only sent if Has Verify Token is false. */ OptionalMessageSignature ByteArray // Byte Array }SharedSecretLength VarInt
Protocol=760; ProtocolName=1.19.2; State=login; Bound=server; ID=0x1 Protocol=759; ProtocolName=1.19; State=login; Bound=server; ID=0x1
func (*LoginEncryptionResponse_760_1) DecodeFrom ¶
func (p *LoginEncryptionResponse_760_1) DecodeFrom(r *PacketReader) error
func (LoginEncryptionResponse_760_1) Encode ¶
func (p LoginEncryptionResponse_760_1) Encode(b *PacketBuilder)
type LoginEncryptionResponse_763_0 ¶
type LoginEncryptionResponse_763_0 struct { /* Length of Shared Secret */ /* Length of Verify Token */ VerifyTokenLength VarInt // VarInt VerifyToken ByteArray // Byte Array }
Protocol=763; ProtocolName=1.20; State=login; Bound=server; ID=0x1 Protocol=762; ProtocolName=1.19.4; State=login; Bound=server; ID=0x1 Protocol=761; ProtocolName=1.19.3; State=login; Bound=server; ID=0x1 Protocol=755; ProtocolName=1.17; State=login; Bound=server; ID=0x1 Protocol=753; ProtocolName=1.16.3; State=login; Bound=server; ID=0x1 Protocol=578; ProtocolName=1.15.2; State=login; Bound=server; ID=0x1 Protocol=498; ProtocolName=1.14.4; State=login; Bound=server; ID=0x1 Protocol=340; ProtocolName=1.12.2; State=login; Bound=server; ID=0x1 Protocol=47; ProtocolName=1.8.9; State=login; Bound=server; ID=0x1
func (*LoginEncryptionResponse_763_0) DecodeFrom ¶
func (p *LoginEncryptionResponse_763_0) DecodeFrom(r *PacketReader) error
func (LoginEncryptionResponse_763_0) Encode ¶
func (p LoginEncryptionResponse_763_0) Encode(b *PacketBuilder)
type LoginPluginRequest_763_0 ¶
type LoginPluginRequest_763_0 struct { /* Generated by the server - should be unique to the connection. */ MessageID VarInt // VarInt /* Name of the plugin channel used to send the data */ Channel String // Identifier /* Any data, depending on the channel. The length of this array must be inferred from the packet length. */ Data ByteArray // Byte Array }
Protocol=763; ProtocolName=1.20; State=login; Bound=client; ID=0x4 Protocol=762; ProtocolName=1.19.4; State=login; Bound=client; ID=0x4 Protocol=761; ProtocolName=1.19.3; State=login; Bound=client; ID=0x4 Protocol=760; ProtocolName=1.19.2; State=login; Bound=client; ID=0x4 Protocol=759; ProtocolName=1.19; State=login; Bound=client; ID=0x4 Protocol=758; ProtocolName=1.18.2; State=login; Bound=client; ID=0x4 Protocol=757; ProtocolName=1.18.1; State=login; Bound=client; ID=0x4 Protocol=756; ProtocolName=1.17.1; State=login; Bound=client; ID=0x4 Protocol=755; ProtocolName=1.17; State=login; Bound=client; ID=0x4 Protocol=754; ProtocolName=1.16.5; State=login; Bound=client; ID=0x4 Protocol=753; ProtocolName=1.16.3; State=login; Bound=client; ID=0x4 Protocol=578; ProtocolName=1.15.2; State=login; Bound=client; ID=0x4 Protocol=498; ProtocolName=1.14.4; State=login; Bound=client; ID=0x4 Protocol=404; ProtocolName=1.13.2; State=login; Bound=client; ID=0x4
func (*LoginPluginRequest_763_0) DecodeFrom ¶
func (p *LoginPluginRequest_763_0) DecodeFrom(r *PacketReader) error
func (LoginPluginRequest_763_0) Encode ¶
func (p LoginPluginRequest_763_0) Encode(b *PacketBuilder)
type LoginPluginResponse_763_0 ¶
type LoginPluginResponse_763_0 struct { /* Should match ID from server. */ MessageID VarInt // VarInt /* true if the client understands the request, false otherwise. When false, no payload follows. */ Successful Bool // Boolean /* Any data, depending on the channel. The length of this array must be inferred from the packet length. */ Data ByteArray // Optional Byte Array }
Protocol=763; ProtocolName=1.20; State=login; Bound=server; ID=0x2 Protocol=762; ProtocolName=1.19.4; State=login; Bound=server; ID=0x2 Protocol=761; ProtocolName=1.19.3; State=login; Bound=server; ID=0x2 Protocol=760; ProtocolName=1.19.2; State=login; Bound=server; ID=0x2 Protocol=759; ProtocolName=1.19; State=login; Bound=server; ID=0x2 Protocol=758; ProtocolName=1.18.2; State=login; Bound=server; ID=0x2 Protocol=757; ProtocolName=1.18.1; State=login; Bound=server; ID=0x2 Protocol=756; ProtocolName=1.17.1; State=login; Bound=server; ID=0x2 Protocol=755; ProtocolName=1.17; State=login; Bound=server; ID=0x2 Protocol=754; ProtocolName=1.16.5; State=login; Bound=server; ID=0x2 Protocol=753; ProtocolName=1.16.3; State=login; Bound=server; ID=0x2 Protocol=578; ProtocolName=1.15.2; State=login; Bound=server; ID=0x2 Protocol=498; ProtocolName=1.14.4; State=login; Bound=server; ID=0x2 Protocol=404; ProtocolName=1.13.2; State=login; Bound=server; ID=0x2
func (*LoginPluginResponse_763_0) DecodeFrom ¶
func (p *LoginPluginResponse_763_0) DecodeFrom(r *PacketReader) error
func (LoginPluginResponse_763_0) Encode ¶
func (p LoginPluginResponse_763_0) Encode(b *PacketBuilder)
type LoginSetCompression_763_0 ¶
type LoginSetCompression_763_0 struct { /* Maximum size of a packet before it is compressed */ Threshold VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=login; Bound=client; ID=0x3 Protocol=762; ProtocolName=1.19.4; State=login; Bound=client; ID=0x3 Protocol=761; ProtocolName=1.19.3; State=login; Bound=client; ID=0x3 Protocol=760; ProtocolName=1.19.2; State=login; Bound=client; ID=0x3 Protocol=759; ProtocolName=1.19; State=login; Bound=client; ID=0x3 Protocol=758; ProtocolName=1.18.2; State=login; Bound=client; ID=0x3 Protocol=757; ProtocolName=1.18.1; State=login; Bound=client; ID=0x3 Protocol=756; ProtocolName=1.17.1; State=login; Bound=client; ID=0x3 Protocol=755; ProtocolName=1.17; State=login; Bound=client; ID=0x3 Protocol=754; ProtocolName=1.16.5; State=login; Bound=client; ID=0x3 Protocol=753; ProtocolName=1.16.3; State=login; Bound=client; ID=0x3 Protocol=578; ProtocolName=1.15.2; State=login; Bound=client; ID=0x3 Protocol=498; ProtocolName=1.14.4; State=login; Bound=client; ID=0x3 Protocol=404; ProtocolName=1.13.2; State=login; Bound=client; ID=0x3 Protocol=340; ProtocolName=1.12.2; State=login; Bound=client; ID=0x3 Protocol=338; ProtocolName=1.12.1; State=login; Bound=client; ID=0x3 Protocol=335; ProtocolName=1.12; State=login; Bound=client; ID=0x3 Protocol=316; ProtocolName=1.11.2; State=login; Bound=client; ID=0x3 Protocol=315; ProtocolName=1.11; State=login; Bound=client; ID=0x3 Protocol=210; ProtocolName=1.10.2; State=login; Bound=client; ID=0x3 Protocol=110; ProtocolName=1.9.4; State=login; Bound=client; ID=0x3 Protocol=47; ProtocolName=1.8.9; State=login; Bound=client; ID=0x3
func (*LoginSetCompression_763_0) DecodeFrom ¶
func (p *LoginSetCompression_763_0) DecodeFrom(r *PacketReader) error
func (LoginSetCompression_763_0) Encode ¶
func (p LoginSetCompression_763_0) Encode(b *PacketBuilder)
type LoginStart_758_2 ¶
type LoginStart_758_2 struct { /* Player's Username */ Name String // String (16) }
Protocol=758; ProtocolName=1.18.2; State=login; Bound=server; ID=0x0 Protocol=757; ProtocolName=1.18.1; State=login; Bound=server; ID=0x0 Protocol=756; ProtocolName=1.17.1; State=login; Bound=server; ID=0x0 Protocol=755; ProtocolName=1.17; State=login; Bound=server; ID=0x0 Protocol=754; ProtocolName=1.16.5; State=login; Bound=server; ID=0x0 Protocol=753; ProtocolName=1.16.3; State=login; Bound=server; ID=0x0 Protocol=578; ProtocolName=1.15.2; State=login; Bound=server; ID=0x0 Protocol=498; ProtocolName=1.14.4; State=login; Bound=server; ID=0x0 Protocol=404; ProtocolName=1.13.2; State=login; Bound=server; ID=0x0 Protocol=340; ProtocolName=1.12.2; State=login; Bound=server; ID=0x0 Protocol=338; ProtocolName=1.12.1; State=login; Bound=server; ID=0x0 Protocol=335; ProtocolName=1.12; State=login; Bound=server; ID=0x0 Protocol=316; ProtocolName=1.11.2; State=login; Bound=server; ID=0x0 Protocol=315; ProtocolName=1.11; State=login; Bound=server; ID=0x0 Protocol=210; ProtocolName=1.10.2; State=login; Bound=server; ID=0x0 Protocol=110; ProtocolName=1.9.4; State=login; Bound=server; ID=0x0 Protocol=47; ProtocolName=1.8.9; State=login; Bound=server; ID=0x0
func (*LoginStart_758_2) DecodeFrom ¶
func (p *LoginStart_758_2) DecodeFrom(r *PacketReader) error
func (LoginStart_758_2) Encode ¶
func (p LoginStart_758_2) Encode(b *PacketBuilder)
type LoginStart_760_1 ¶
type LoginStart_760_1 struct { /* Player's Username. */ Name String // String (16) /* Whether or not the next 5 fields should be sent. */ HasSigData Bool // Boolean /* When the key data will expire. Optional. Only sent if Has Sig Data is true. */ Timestamp Long // Long /* Length of Public Key. Optional. Only sent if Has Sig Data is true. */ PublicKeyLength VarInt // VarInt /* The encoded bytes of the public key the client received from Mojang. Optional. Only sent if Has Sig Data is true. */ PublicKey ByteArray // Byte Array /* Length of Signature. Optional. Only sent if Has Sig Data is true. */ SignatureLength VarInt // VarInt /* The bytes of the public key signature the client received from Mojang. Optional. Only sent if Has Sig Data is true. */ Signature ByteArray // Byte Array /* Whether or not the next field should be sent. */ HasPlayerUUID Bool // Boolean /* The UUID of the player logging in. Optional. Only sent if Has Player UUID is true. */ PlayerUUID UUID // UUID }
Protocol=760; ProtocolName=1.19.2; State=login; Bound=server; ID=0x0 Protocol=759; ProtocolName=1.19; State=login; Bound=server; ID=0x0
func (*LoginStart_760_1) DecodeFrom ¶
func (p *LoginStart_760_1) DecodeFrom(r *PacketReader) error
func (LoginStart_760_1) Encode ¶
func (p LoginStart_760_1) Encode(b *PacketBuilder)
type LoginStart_763_0 ¶
type LoginStart_763_0 struct { /* Player's Username. */ Name String // String (16) /* Whether or not the next field should be sent. */ HasPlayerUUID Bool // Boolean /* The UUID of the player logging in. Only sent if Has Player UUID is true. */ PlayerUUID Optional[UUID] // Optional UUID }
Protocol=763; ProtocolName=1.20; State=login; Bound=server; ID=0x0 Protocol=762; ProtocolName=1.19.4; State=login; Bound=server; ID=0x0 Protocol=761; ProtocolName=1.19.3; State=login; Bound=server; ID=0x0
func (*LoginStart_763_0) DecodeFrom ¶
func (p *LoginStart_763_0) DecodeFrom(r *PacketReader) error
func (LoginStart_763_0) Encode ¶
func (p LoginStart_763_0) Encode(b *PacketBuilder)
type LoginSuccess_578_2 ¶
type LoginSuccess_578_2 struct { /* Unlike in other packets, this field contains the UUID as a string with hyphens. */ UUID String // String (36) Username String // String (16) }
Protocol=578; ProtocolName=1.15.2; State=login; Bound=client; ID=0x2 Protocol=498; ProtocolName=1.14.4; State=login; Bound=client; ID=0x2 Protocol=404; ProtocolName=1.13.2; State=login; Bound=client; ID=0x2 Protocol=340; ProtocolName=1.12.2; State=login; Bound=client; ID=0x2 Protocol=338; ProtocolName=1.12.1; State=login; Bound=client; ID=0x2 Protocol=335; ProtocolName=1.12; State=login; Bound=client; ID=0x2 Protocol=316; ProtocolName=1.11.2; State=login; Bound=client; ID=0x2 Protocol=315; ProtocolName=1.11; State=login; Bound=client; ID=0x2 Protocol=210; ProtocolName=1.10.2; State=login; Bound=client; ID=0x2 Protocol=110; ProtocolName=1.9.4; State=login; Bound=client; ID=0x2 Protocol=47; ProtocolName=1.8.9; State=login; Bound=client; ID=0x2
func (*LoginSuccess_578_2) DecodeFrom ¶
func (p *LoginSuccess_578_2) DecodeFrom(r *PacketReader) error
func (LoginSuccess_578_2) Encode ¶
func (p LoginSuccess_578_2) Encode(b *PacketBuilder)
type LoginSuccess_758_1 ¶
type LoginSuccess_758_1 struct { UUID UUID // UUID Username String // String (16) }
Protocol=758; ProtocolName=1.18.2; State=login; Bound=client; ID=0x2 Protocol=757; ProtocolName=1.18.1; State=login; Bound=client; ID=0x2 Protocol=756; ProtocolName=1.17.1; State=login; Bound=client; ID=0x2 Protocol=755; ProtocolName=1.17; State=login; Bound=client; ID=0x2 Protocol=754; ProtocolName=1.16.5; State=login; Bound=client; ID=0x2 Protocol=753; ProtocolName=1.16.3; State=login; Bound=client; ID=0x2
func (*LoginSuccess_758_1) DecodeFrom ¶
func (p *LoginSuccess_758_1) DecodeFrom(r *PacketReader) error
func (LoginSuccess_758_1) Encode ¶
func (p LoginSuccess_758_1) Encode(b *PacketBuilder)
type LoginSuccess_763_0 ¶
type LoginSuccess_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=login; Bound=client; ID=0x2 Protocol=762; ProtocolName=1.19.4; State=login; Bound=client; ID=0x2 Protocol=761; ProtocolName=1.19.3; State=login; Bound=client; ID=0x2 Protocol=760; ProtocolName=1.19.2; State=login; Bound=client; ID=0x2 Protocol=759; ProtocolName=1.19; State=login; Bound=client; ID=0x2
type PlayAcknowledgeBlockChange_763_0 ¶
type PlayAcknowledgeBlockChange_763_0 struct { /* Represents the sequence to acknowledge, this is used for properly syncing block changes to the client after interactions. */ SequenceID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x6 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x6 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5
func (*PlayAcknowledgeBlockChange_763_0) DecodeFrom ¶
func (p *PlayAcknowledgeBlockChange_763_0) DecodeFrom(r *PacketReader) error
func (PlayAcknowledgeBlockChange_763_0) Encode ¶
func (p PlayAcknowledgeBlockChange_763_0) Encode(b *PacketBuilder)
type PlayAcknowledgePlayerDigging_758_0 ¶
type PlayAcknowledgePlayerDigging_758_0 struct { /* Position where the digging was happening */ Location Position // Position /* Block state ID of the block that should be at that position now. */ Block VarInt // VarInt /* Same as Player Digging. Only Started digging (0), Cancelled digging (1), and Finished digging (2) are used. */ Status VarInt // VarInt enum /* True if the digging succeeded; false if the client should undo any changes it made locally. (How does this work?) */ Successful Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x8 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x8 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x8 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x8 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x7 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x7 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x8 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x5c
func (*PlayAcknowledgePlayerDigging_758_0) DecodeFrom ¶
func (p *PlayAcknowledgePlayerDigging_758_0) DecodeFrom(r *PacketReader) error
func (PlayAcknowledgePlayerDigging_758_0) Encode ¶
func (p PlayAcknowledgePlayerDigging_758_0) Encode(b *PacketBuilder)
type PlayActionBar_758_0 ¶
type PlayActionBar_758_0 struct { /* Displays a message above the hotbar (the same as position 2 in Chat Message (clientbound). */ ActionBarText Object // Chat }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x41 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x41 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x41 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x41
func (*PlayActionBar_758_0) DecodeFrom ¶
func (p *PlayActionBar_758_0) DecodeFrom(r *PacketReader) error
func (PlayActionBar_758_0) Encode ¶
func (p PlayActionBar_758_0) Encode(b *PacketBuilder)
type PlayAdvancementTab_758_0 ¶
type PlayAdvancementTab_758_0 struct { /* 0: Opened tab, 1: Closed screen */ Action VarInt // VarInt enum /* Only present if action is Opened tab */ TabID Optional[String] // Optional identifier }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x22 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x22 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x22 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x22 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x22 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x22 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x20 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x20 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x1e Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x19 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x19 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x19
func (*PlayAdvancementTab_758_0) DecodeFrom ¶
func (p *PlayAdvancementTab_758_0) DecodeFrom(r *PacketReader) error
func (PlayAdvancementTab_758_0) Encode ¶
func (p PlayAdvancementTab_758_0) Encode(b *PacketBuilder)
type PlayAdvancements_340_5 ¶
type PlayAdvancements_340_5 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4d Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4d
type PlayAdvancements_754_2 ¶
type PlayAdvancements_754_2 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x57 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x57 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x57
type PlayAdvancements_756_1 ¶
type PlayAdvancements_756_1 struct { }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x62 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x62
type PlayAdvancements_758_0 ¶
type PlayAdvancements_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x63 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x63
type PlayAnimationServer_404_0 ¶
type PlayAnimationServer_404_0 struct { /* Hand used for the animation. 0: main hand, 1: off hand. */ Hand VarInt // VarInt Enum }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x27 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1d Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1d Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x1d Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x1a Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x1a Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x1a Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x1a
func (*PlayAnimationServer_404_0) DecodeFrom ¶
func (p *PlayAnimationServer_404_0) DecodeFrom(r *PacketReader) error
func (PlayAnimationServer_404_0) Encode ¶
func (p PlayAnimationServer_404_0) Encode(b *PacketBuilder)
type PlayAnimation_404_1 ¶
type PlayAnimation_404_1 struct { /* Player ID */ EntityID VarInt // VarInt /* Animation ID (see below) */ Animation UByte // Unsigned Byte }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x6 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x6 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x6 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x6 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x6 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x6 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x6 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x6 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0xb
func (*PlayAnimation_404_1) DecodeFrom ¶
func (p *PlayAnimation_404_1) DecodeFrom(r *PacketReader) error
func (PlayAnimation_404_1) Encode ¶
func (p PlayAnimation_404_1) Encode(b *PacketBuilder)
type PlayAnimation_758_0 ¶
type PlayAnimation_758_0 struct { /* Hand used for the animation. 0: main hand, 1: off hand. */ Hand VarInt // VarInt Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2c Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2c Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2c Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2c Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2c Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2c Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x2a Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x2a
func (*PlayAnimation_758_0) DecodeFrom ¶
func (p *PlayAnimation_758_0) DecodeFrom(r *PacketReader) error
func (PlayAnimation_758_0) Encode ¶
func (p PlayAnimation_758_0) Encode(b *PacketBuilder)
type PlayAttachEntity_758_0 ¶
type PlayAttachEntity_758_0 struct { /* Attached entity's EID */ AttachedEntityID Int // Int /* ID of the entity holding the lead. Set to -1 to detach. */ HoldingEntityID Int // Int }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4e Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4e Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4e Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4e Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x45 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x45 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x45 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x44 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x40 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3d Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3d Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3c Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3a Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3a Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3a Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3a
func (*PlayAttachEntity_758_0) DecodeFrom ¶
func (p *PlayAttachEntity_758_0) DecodeFrom(r *PacketReader) error
func (PlayAttachEntity_758_0) Encode ¶
func (p PlayAttachEntity_758_0) Encode(b *PacketBuilder)
type PlayAwardStatistics_761_1 ¶
type PlayAwardStatistics_761_1 struct { }
Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4
type PlayAwardStatistics_763_0 ¶
type PlayAwardStatistics_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5
type PlayBlockAction_110_2 ¶
type PlayBlockAction_110_2 struct { /* Block coordinates */ Location Position // Position /* Varies depending on block — see Block Actions */ Byte1 UByte // Unsigned Byte /* Varies depending on block — see Block Actions */ Byte2 UByte // Unsigned Byte /* The block type ID for the block, not including metadata/damage value */ BlockType VarInt // VarInt }
Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0xa Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x24
func (*PlayBlockAction_110_2) DecodeFrom ¶
func (p *PlayBlockAction_110_2) DecodeFrom(r *PacketReader) error
func (PlayBlockAction_110_2) Encode ¶
func (p PlayBlockAction_110_2) Encode(b *PacketBuilder)
type PlayBlockAction_758_1 ¶
type PlayBlockAction_758_1 struct { /* Block coordinates */ Location Position // Position /* Varies depending on block — see Block Actions */ ActionID UByte // Unsigned Byte /* Varies depending on block — see Block Actions */ ActionParam UByte // Unsigned Byte /* The block type ID for the block, not including metadata/damage value. This must match the block at the given coordinates. */ BlockType VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0xb Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0xb Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0xb Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0xb Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0xa Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0xa Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0xb Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0xa Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0xa Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0xa Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0xa Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0xa Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0xa Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0xa Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0xa
func (*PlayBlockAction_758_1) DecodeFrom ¶
func (p *PlayBlockAction_758_1) DecodeFrom(r *PacketReader) error
func (PlayBlockAction_758_1) Encode ¶
func (p PlayBlockAction_758_1) Encode(b *PacketBuilder)
type PlayBlockAction_763_0 ¶
type PlayBlockAction_763_0 struct { /* Block coordinates. */ Location Position // Position /* Varies depending on block — see Block Actions. */ ActionID UByte // Unsigned Byte /* Varies depending on block — see Block Actions. */ ActionParameter UByte // Unsigned Byte /* The block type ID for the block. This must match the block at the given coordinates. */ BlockType VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x9 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x9 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x8 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x8 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x8
func (*PlayBlockAction_763_0) DecodeFrom ¶
func (p *PlayBlockAction_763_0) DecodeFrom(r *PacketReader) error
func (PlayBlockAction_763_0) Encode ¶
func (p PlayBlockAction_763_0) Encode(b *PacketBuilder)
type PlayBlockBreakAnimation_758_0 ¶
type PlayBlockBreakAnimation_758_0 struct { /* Entity ID of the entity breaking the block */ EntityID VarInt // VarInt /* Block Position */ Location Position // Position /* 0–9 to set it, any other value to remove it */ DestroyStage Byte // Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x9 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x9 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x9 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x9 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x8 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x8 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x9 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x8 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x8 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x8 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x8 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x8 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x8 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x8 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x8 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x8 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x25
func (*PlayBlockBreakAnimation_758_0) DecodeFrom ¶
func (p *PlayBlockBreakAnimation_758_0) DecodeFrom(r *PacketReader) error
func (PlayBlockBreakAnimation_758_0) Encode ¶
func (p PlayBlockBreakAnimation_758_0) Encode(b *PacketBuilder)
type PlayBlockChange_758_0 ¶
type PlayBlockChange_758_0 struct { /* Block Coordinates */ Location Position // Position /* The new block state ID for the block as given in the global palette (When reading data: type = id >> 4, meta = id & 15, when writing data: id = type << 4 | (meta & 15)) */ BlockID VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0xc Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0xc Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0xc Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0xc Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0xb Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0xb Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0xc Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0xb Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0xb Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0xb Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0xb Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0xb Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0xb Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0xb Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0xb Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0xb Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x23
func (*PlayBlockChange_758_0) DecodeFrom ¶
func (p *PlayBlockChange_758_0) DecodeFrom(r *PacketReader) error
func (PlayBlockChange_758_0) Encode ¶
func (p PlayBlockChange_758_0) Encode(b *PacketBuilder)
type PlayBlockEntityData_756_1 ¶
type PlayBlockEntityData_756_1 struct { Location Position // Position /* The type of update to perform, see below */ Action UByte // Unsigned Byte /* Data to set. May be a TAG_END (0), in which case the block entity at the given location is removed (though this is not required since the client will remove the block entity automatically on chunk unload or block removal) */ NBTData nbt.NBT // NBT Tag }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0xa Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0xa Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x9 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x9 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0xa
func (*PlayBlockEntityData_756_1) DecodeFrom ¶
func (p *PlayBlockEntityData_756_1) DecodeFrom(r *PacketReader) error
func (PlayBlockEntityData_756_1) Encode ¶
func (p PlayBlockEntityData_756_1) Encode(b *PacketBuilder)
type PlayBlockEntityData_763_0 ¶
type PlayBlockEntityData_763_0 struct { Location Position // Position /* The type of the block entity */ Type VarInt // VarInt /* Data to set. May be a TAG_END (0), in which case the block entity at the given location is removed (though this is not required since the client will remove the block entity automatically on chunk unload or block removal). */ NBTData nbt.NBT // NBT Tag }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x8 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x8 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x7 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x7 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x7 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0xa Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0xa
func (*PlayBlockEntityData_763_0) DecodeFrom ¶
func (p *PlayBlockEntityData_763_0) DecodeFrom(r *PacketReader) error
func (PlayBlockEntityData_763_0) Encode ¶
func (p PlayBlockEntityData_763_0) Encode(b *PacketBuilder)
type PlayBlockUpdate_763_0 ¶
type PlayBlockUpdate_763_0 struct { /* Block Coordinates. */ Location Position // Position /* The new block state ID for the block as given in the global palette. See that section for more information. */ BlockID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0xa Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0xa Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x9 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x9 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x9
func (*PlayBlockUpdate_763_0) DecodeFrom ¶
func (p *PlayBlockUpdate_763_0) DecodeFrom(r *PacketReader) error
func (PlayBlockUpdate_763_0) Encode ¶
func (p PlayBlockUpdate_763_0) Encode(b *PacketBuilder)
type PlayBossBar_404_5 ¶
type PlayBossBar_404_5 struct { }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0xc Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0xc Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0xc Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0xc Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0xc Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0xc Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0xc
type PlayBossBar_754_3 ¶
type PlayBossBar_754_3 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0xc Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0xc Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0xc Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0xc
type PlayBossBar_758_2 ¶
type PlayBossBar_758_2 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0xd Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0xd Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0xd Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0xd
type PlayBossBar_761_1 ¶
type PlayBossBar_761_1 struct { }
Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0xa Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0xa Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0xa
type PlayBossBar_763_0 ¶
type PlayBossBar_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0xb Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0xb
type PlayBundleDelimiter_763_0 ¶
type PlayBundleDelimiter_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x0 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x0
func (*PlayBundleDelimiter_763_0) DecodeFrom ¶
func (p *PlayBundleDelimiter_763_0) DecodeFrom(r *PacketReader) error
func (PlayBundleDelimiter_763_0) Encode ¶
func (p PlayBundleDelimiter_763_0) Encode(b *PacketBuilder)
type PlayCamera_758_0 ¶
type PlayCamera_758_0 struct { /* ID of the entity to set the client's camera to */ CameraID VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x47 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x47 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x47 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x47 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x3e Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3e Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x3f Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x3e Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x3c Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x39 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x39 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x38 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x36 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x36 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x36 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x36 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x43
func (*PlayCamera_758_0) DecodeFrom ¶
func (p *PlayCamera_758_0) DecodeFrom(r *PacketReader) error
func (PlayCamera_758_0) Encode ¶
func (p PlayCamera_758_0) Encode(b *PacketBuilder)
type PlayChangeDifficultyServer_763_0 ¶
type PlayChangeDifficultyServer_763_0 struct { /* 0: peaceful, 1: easy, 2: normal, 3: hard . */ NewDifficulty Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x2 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2
func (*PlayChangeDifficultyServer_763_0) DecodeFrom ¶
func (p *PlayChangeDifficultyServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayChangeDifficultyServer_763_0) Encode ¶
func (p PlayChangeDifficultyServer_763_0) Encode(b *PacketBuilder)
type PlayChangeDifficulty_763_0 ¶
type PlayChangeDifficulty_763_0 struct { /* 0: peaceful, 1: easy, 2: normal, 3: hard. */ Difficulty UByte // Unsigned Byte DifficultyLocked Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0xc Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0xc Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0xb Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0xb Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0xb
func (*PlayChangeDifficulty_763_0) DecodeFrom ¶
func (p *PlayChangeDifficulty_763_0) DecodeFrom(r *PacketReader) error
func (PlayChangeDifficulty_763_0) Encode ¶
func (p PlayChangeDifficulty_763_0) Encode(b *PacketBuilder)
type PlayChangeGameState_758_0 ¶
type PlayChangeGameState_758_0 struct { /* See below */ Reason UByte // Unsigned Byte /* Depends on Reason */ Value Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1e Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1e Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1e Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1e Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1d Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1d Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1f Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1e Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x20 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1e Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1e Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1e Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1e Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1e Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1e Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1e Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x2b
func (*PlayChangeGameState_758_0) DecodeFrom ¶
func (p *PlayChangeGameState_758_0) DecodeFrom(r *PacketReader) error
func (PlayChangeGameState_758_0) Encode ¶
func (p PlayChangeGameState_758_0) Encode(b *PacketBuilder)
type PlayChangeRecipeBookSettings_763_0 ¶
type PlayChangeRecipeBookSettings_763_0 struct { /* 0: crafting, 1: furnace, 2: blast furnace, 3: smoker. */ BookID VarInt // VarInt Enum BookOpen Bool // Boolean FilterActive Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x21 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x21 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x21 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x21 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x20
func (*PlayChangeRecipeBookSettings_763_0) DecodeFrom ¶
func (p *PlayChangeRecipeBookSettings_763_0) DecodeFrom(r *PacketReader) error
func (PlayChangeRecipeBookSettings_763_0) Encode ¶
func (p PlayChangeRecipeBookSettings_763_0) Encode(b *PacketBuilder)
type PlayChatCommand_763_0 ¶
type PlayChatCommand_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x4 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x4 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x4
type PlayChatMessageServer_758_0 ¶
type PlayChatMessageServer_758_0 struct { /* The client sends the raw input, not a Chat component */ Message String // String (256) }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x3 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x3 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x3 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x3 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x3 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x3 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x3 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x3 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x2 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x2 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x2 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x3 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x2 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x2 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x2 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x2 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x1
func (*PlayChatMessageServer_758_0) DecodeFrom ¶
func (p *PlayChatMessageServer_758_0) DecodeFrom(r *PacketReader) error
func (PlayChatMessageServer_758_0) Encode ¶
func (p PlayChatMessageServer_758_0) Encode(b *PacketBuilder)
type PlayChatMessage_578_4 ¶
type PlayChatMessage_578_4 struct { /* Limited to 32767 bytes */ JSONData Object // Chat /* 0: chat (chat box), 1: system message (chat box), 2: game info (above hotbar). */ Position Byte // Byte }
Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0xf Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0xe Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0xe Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0xf Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0xf Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0xf Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0xf Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0xf Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0xf Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0xf Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x2
func (*PlayChatMessage_578_4) DecodeFrom ¶
func (p *PlayChatMessage_578_4) DecodeFrom(r *PacketReader) error
func (PlayChatMessage_578_4) Encode ¶
func (p PlayChatMessage_578_4) Encode(b *PacketBuilder)
type PlayChatMessage_758_3 ¶
type PlayChatMessage_758_3 struct { /* Limited to 32767 bytes */ JSONData Object // Chat /* 0: chat (chat box), 1: system message (chat box), 2: game info (above hotbar). */ Position Byte // Byte /* Used by the Notchian client for the disableChat launch option. Setting both longs to 0 will always display the message regardless of the setting. */ Sender UUID // UUID }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0xf Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0xf Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0xf Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0xf Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0xe Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0xe
func (*PlayChatMessage_758_3) DecodeFrom ¶
func (p *PlayChatMessage_758_3) DecodeFrom(r *PacketReader) error
func (PlayChatMessage_758_3) Encode ¶
func (p PlayChatMessage_758_3) Encode(b *PacketBuilder)
type PlayChatMessage_763_0 ¶
type PlayChatMessage_763_0 struct { Message String // String (256 chars) Timestamp Long // Long /* The salt used to verify the signature hash. */ Salt Long // Long /* Whether the next field is present. */ HasSignature Bool // Boolean /* The signature used to verify the chat message's authentication. When present, always 256 bytes. */ Signature Optional[ByteArray] // Optional Byte Array MessageCount VarInt // VarInt Acknowledged BitSet // BitSet (20) }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x5 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x5 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x5
func (*PlayChatMessage_763_0) DecodeFrom ¶
func (p *PlayChatMessage_763_0) DecodeFrom(r *PacketReader) error
func (PlayChatMessage_763_0) Encode ¶
func (p PlayChatMessage_763_0) Encode(b *PacketBuilder)
type PlayChatPreviewServer_760_0 ¶
type PlayChatPreviewServer_760_0 struct { Query Int // Integer Message String // String (256) }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x6 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x5
func (*PlayChatPreviewServer_760_0) DecodeFrom ¶
func (p *PlayChatPreviewServer_760_0) DecodeFrom(r *PacketReader) error
func (PlayChatPreviewServer_760_0) Encode ¶
func (p PlayChatPreviewServer_760_0) Encode(b *PacketBuilder)
type PlayChatPreview_760_0 ¶
type PlayChatPreview_760_0 struct { QueryID Int // Integer ComponentIsPresent Bool // Boolean MessageToPreview Object // Component }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0xc Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0xc
func (*PlayChatPreview_760_0) DecodeFrom ¶
func (p *PlayChatPreview_760_0) DecodeFrom(r *PacketReader) error
func (PlayChatPreview_760_0) Encode ¶
func (p PlayChatPreview_760_0) Encode(b *PacketBuilder)
type PlayChatSuggestions_763_0 ¶
type PlayChatSuggestions_763_0 struct { /* 0: Add, 1: Remove, 2: Set */ Action VarInt // VarInt Enum /* Number of elements in the following array. */ Count VarInt // VarInt Entries []String // Array of String }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x16 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x16 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x14 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x15
func (*PlayChatSuggestions_763_0) DecodeFrom ¶
func (p *PlayChatSuggestions_763_0) DecodeFrom(r *PacketReader) error
func (PlayChatSuggestions_763_0) Encode ¶
func (p PlayChatSuggestions_763_0) Encode(b *PacketBuilder)
type PlayChunkBiomes_763_0 ¶
type PlayChunkBiomes_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0xd Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0xd
type PlayChunkDataAndUpdateLight_758_5 ¶
type PlayChunkDataAndUpdateLight_758_5 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x22 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x22
type PlayChunkData_316_6 ¶
type PlayChunkData_316_6 struct { /* Block coordinate divided by 16, rounded down */ ChunkX Int // Int /* Block coordinate divided by 16, rounded down */ ChunkZ Int // Int /* This is true if the packet represents all chunk sections in this vertical chunk column, where the Primary Bit Mask specifies exactly which chunk sections are included, and which are air. */ GroundUpContinuous Bool // Boolean /* Bitmask with bits set to 1 for every 16×16×16 chunk section whose data is included in Data. The least significant bit represents the chunk section at the bottom of the chunk column (from y=0 to y=15). */ PrimaryBitMask VarInt // VarInt /* Size of Data in bytes, plus size of Biomes in bytes if present */ Size VarInt // VarInt /* The length of the array is equal to the number of bits set in Primary Bit Mask. Chunks are sent bottom-to-top, i.e. the first chunk, if sent, extends from Y=0 to Y=15. */ Data []*ChunkSection // Array of Chunk Section /* Only if Ground-Up Continuous: biome array, byte per XZ coordinate, 256 bytes total. */ Biomes Optional[ByteArray] // Optional Byte Array /* Length of the following array */ NumberOfBlockEntities VarInt // VarInt /* All block entities in the chunk. Use the x, y, and z tags in the NBT to determine their positions. */ BlockEntities []nbt.NBT // Array of NBT Tag }
Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x20 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x20 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x20 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x20
func (*PlayChunkData_316_6) DecodeFrom ¶
func (p *PlayChunkData_316_6) DecodeFrom(r *PacketReader) error
func (PlayChunkData_316_6) Encode ¶
func (p PlayChunkData_316_6) Encode(b *PacketBuilder)
type PlayChunkData_340_5 ¶
type PlayChunkData_340_5 struct { /* Chunk coordinate (block coordinate divided by 16, rounded down) */ ChunkX Int // Int /* Chunk coordinate (block coordinate divided by 16, rounded down) */ ChunkZ Int // Int /* See Chunk Format */ GroundUpContinuous Bool // Boolean /* Bitmask with bits set to 1 for every 16×16×16 chunk section whose data is included in Data. The least significant bit represents the chunk section at the bottom of the chunk column (from y=0 to y=15). */ PrimaryBitMask VarInt // VarInt /* Size of Data in bytes */ Size VarInt // VarInt /* See data structure in Chunk Format */ Data ByteArray // Byte array /* Number of elements in the following array */ NumberOfBlockEntities VarInt // VarInt /* All block entities in the chunk. Use the x, y, and z tags in the NBT to determine their positions. */ BlockEntities []nbt.NBT // Array of NBT Tag }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x20 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x20 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x20
func (*PlayChunkData_340_5) DecodeFrom ¶
func (p *PlayChunkData_340_5) DecodeFrom(r *PacketReader) error
func (PlayChunkData_340_5) Encode ¶
func (p PlayChunkData_340_5) Encode(b *PacketBuilder)
type PlayChunkData_754_1 ¶
type PlayChunkData_754_1 struct { /* Chunk coordinate (block coordinate divided by 16, rounded down) */ ChunkX Int // Int /* Chunk coordinate (block coordinate divided by 16, rounded down) */ ChunkZ Int // Int /* See Chunk Format */ FullChunk Bool // Boolean /* Bitmask with bits set to 1 for every 16×16×16 chunk section whose data is included in Data. The least significant bit represents the chunk section at the bottom of the chunk column (from y=0 to y=15). */ PrimaryBitMask VarInt // VarInt /* Compound containing one long array named MOTION_BLOCKING, which is a heightmap for the highest solid block at each position in the chunk (as a compacted long array with 256 entries at 9 bits per entry totaling 36 longs). The Notchian server also adds a WORLD_SURFACE long array, the purpose of which is unknown, but it's not required for the chunk to be accepted. */ Heightmaps nbt.NBT // NBT /* Size of the following array. Not present if full chunk is false. */ BiomesLength Optional[VarInt] // Optional VarInt /* 1024 biome IDs, ordered by x then z then y, in 4×4×4 blocks.Possibly something else. Not present if full chunk is false. */ Biomes Optional[[]VarInt] // Optional array of VarInt /* Size of Data in bytes */ Size VarInt // VarInt /* See data structure in Chunk Format */ Data ByteArray // Byte array /* Number of elements in the following array */ NumberOfBlockEntities VarInt // VarInt /* All block entities in the chunk. Use the x, y, and z tags in the NBT to determine their positions. */ BlockEntities []nbt.NBT // Array of NBT Tag }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x20 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x20
func (*PlayChunkData_754_1) DecodeFrom ¶
func (p *PlayChunkData_754_1) DecodeFrom(r *PacketReader) error
func (PlayChunkData_754_1) Encode ¶
func (p PlayChunkData_754_1) Encode(b *PacketBuilder)
type PlayChunkData_756_0 ¶
type PlayChunkData_756_0 struct { /* Chunk coordinate (block coordinate divided by 16, rounded down) */ ChunkX Int // Int /* Chunk coordinate (block coordinate divided by 16, rounded down) */ ChunkZ Int // Int /* Length of the following array */ BitMaskLength VarInt // VarInt /* BitSet with bits (world height in blocks / 16) set to 1 for every 16×16×16 chunk section whose data is included in Data. The least significant bit represents the chunk section at the bottom of the chunk column (from the lowest y to 15 blocks above). */ PrimaryBitMask []Long // Array of Long /* Compound containing one long array named MOTION_BLOCKING, which is a heightmap for the highest solid block at each position in the chunk (as a compacted long array with 256 entries at 9 bits per entry totaling 36 longs). The Notchian server also adds a WORLD_SURFACE long array, the purpose of which is unknown, but it's not required for the chunk to be accepted. */ Heightmaps nbt.NBT // NBT /* Size of the following array; should always be 1024. */ BiomesLength VarInt // VarInt /* 1024 biome IDs, ordered by x then z then y, in 4×4×4 blocks. See Chunk Format § Biomes. */ Biomes []VarInt // Array of VarInt /* Size of Data in bytes */ Size VarInt // VarInt /* See data structure in Chunk Format */ Data ByteArray // Byte array /* Number of elements in the following array */ NumberOfBlockEntities VarInt // VarInt /* All block entities in the chunk. Use the x, y, and z tags in the NBT to determine their positions. */ BlockEntities []nbt.NBT // Array of NBT Tag }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x22 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x22
func (*PlayChunkData_756_0) DecodeFrom ¶
func (p *PlayChunkData_756_0) DecodeFrom(r *PacketReader) error
func (PlayChunkData_756_0) Encode ¶
func (p PlayChunkData_756_0) Encode(b *PacketBuilder)
type PlayClearTitles_763_0 ¶
type PlayClearTitles_763_0 struct {
Reset Bool // Boolean
}
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0xe Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0xe Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0xc Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0xd Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0xd Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x10 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x10 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x10 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x10
func (*PlayClearTitles_763_0) DecodeFrom ¶
func (p *PlayClearTitles_763_0) DecodeFrom(r *PacketReader) error
func (PlayClearTitles_763_0) Encode ¶
func (p PlayClearTitles_763_0) Encode(b *PacketBuilder)
type PlayClickContainerButton_763_0 ¶
type PlayClickContainerButton_763_0 struct { /* The ID of the window sent by Open Screen. */ WindowID Byte // Byte /* Meaning depends on window type; see below. */ ButtonID Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0xa Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0xa Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x9 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0xa Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x9
func (*PlayClickContainerButton_763_0) DecodeFrom ¶
func (p *PlayClickContainerButton_763_0) DecodeFrom(r *PacketReader) error
func (PlayClickContainerButton_763_0) Encode ¶
func (p PlayClickContainerButton_763_0) Encode(b *PacketBuilder)
type PlayClickContainer_761_1 ¶
type PlayClickContainer_761_1 struct { }
Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0xa Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0xa
type PlayClickContainer_763_0 ¶
type PlayClickContainer_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0xb Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0xb
type PlayClickWindowButton_758_0 ¶
type PlayClickWindowButton_758_0 struct { /* The ID of the window sent by Open Window */ WindowID Byte // Byte /* Meaning depends on window type; see below */ ButtonID Byte // Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x7 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x7 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x7 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x7 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x8 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x8 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x8 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x8
func (*PlayClickWindowButton_758_0) DecodeFrom ¶
func (p *PlayClickWindowButton_758_0) DecodeFrom(r *PacketReader) error
func (PlayClickWindowButton_758_0) Encode ¶
func (p PlayClickWindowButton_758_0) Encode(b *PacketBuilder)
type PlayClickWindow_754_4 ¶
type PlayClickWindow_754_4 struct { /* The ID of the window which was clicked. 0 for player inventory. */ WindowID UByte // Unsigned Byte /* The clicked slot number, see below */ Slot Short // Short /* The button used in the click, see below */ Button Byte // Byte /* A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). */ ActionNumber Short // Short /* Inventory operation mode, see below */ Mode VarInt // VarInt Enum /* The clicked slot. Has to be empty (item ID = -1) for drop mode. */ ClickedItem *data.Slot // Slot }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x9 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x9 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x9 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x9 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x8 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x7 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x7 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x8 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x7 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x7 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x7 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x7
func (*PlayClickWindow_754_4) DecodeFrom ¶
func (p *PlayClickWindow_754_4) DecodeFrom(r *PacketReader) error
func (PlayClickWindow_754_4) Encode ¶
func (p PlayClickWindow_754_4) Encode(b *PacketBuilder)
type PlayClientCommand_763_0 ¶
type PlayClientCommand_763_0 struct { /* See below */ ActionID VarInt // VarInt Enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x7 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x7 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x6 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x7 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x6
func (*PlayClientCommand_763_0) DecodeFrom ¶
func (p *PlayClientCommand_763_0) DecodeFrom(r *PacketReader) error
func (PlayClientCommand_763_0) Encode ¶
func (p PlayClientCommand_763_0) Encode(b *PacketBuilder)
type PlayClientInformation_763_0 ¶
type PlayClientInformation_763_0 struct { /* e.g. en_GB. */ Locale String // String (16) /* Client-side render distance, in chunks. */ ViewDistance Byte // Byte /* 0: enabled, 1: commands only, 2: hidden. See processing chat for more information. */ ChatMode VarInt // VarInt Enum /* “Colors” multiplayer setting. Can the chat be colored? */ ChatColors Bool // Boolean /* Bit mask, see below. */ DisplayedSkinParts UByte // Unsigned Byte /* 0: Left, 1: Right. */ MainHand VarInt // VarInt Enum /* Enables filtering of text on signs and written book titles. Currently always false (i.e. the filtering is disabled) */ EnableTextFiltering Bool // Boolean /* Servers usually list online players, this option should let you not show up in that list. */ AllowServerListings Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x8 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x8 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x7 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x8 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x7
func (*PlayClientInformation_763_0) DecodeFrom ¶
func (p *PlayClientInformation_763_0) DecodeFrom(r *PacketReader) error
func (PlayClientInformation_763_0) Encode ¶
func (p PlayClientInformation_763_0) Encode(b *PacketBuilder)
type PlayClientSettings_754_2 ¶
type PlayClientSettings_754_2 struct { /* e.g. en_GB */ Locale String // String (16) /* Client-side render distance, in chunks */ ViewDistance Byte // Byte /* 0: enabled, 1: commands only, 2: hidden. See processing chat for more information. */ ChatMode VarInt // VarInt Enum /* “Colors” multiplayer setting */ ChatColors Bool // Boolean /* Bit mask, see below */ DisplayedSkinParts UByte // Unsigned Byte /* 0: Left, 1: Right */ MainHand VarInt // VarInt Enum }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x5 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x5 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x5 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x5 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x4 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x4 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x4 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x5 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x4 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x4 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x4 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x4
func (*PlayClientSettings_754_2) DecodeFrom ¶
func (p *PlayClientSettings_754_2) DecodeFrom(r *PacketReader) error
func (PlayClientSettings_754_2) Encode ¶
func (p PlayClientSettings_754_2) Encode(b *PacketBuilder)
type PlayClientSettings_756_1 ¶
type PlayClientSettings_756_1 struct { /* e.g. en_GB. */ Locale String // String (16) /* Client-side render distance, in chunks. */ ViewDistance Byte // Byte /* 0: enabled, 1: commands only, 2: hidden. See processing chat for more information. */ ChatMode VarInt // VarInt Enum /* “Colors” multiplayer setting. */ ChatColors Bool // Boolean /* Bit mask, see below. */ DisplayedSkinParts UByte // Unsigned Byte /* 0: Left, 1: Right. */ MainHand VarInt // VarInt Enum /* Disables filtering of text on signs and written book titles. Currently always true (i.e. the filtering is disabled) */ DisableTextFiltering Bool // Boolean }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x5 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x5
func (*PlayClientSettings_756_1) DecodeFrom ¶
func (p *PlayClientSettings_756_1) DecodeFrom(r *PacketReader) error
func (PlayClientSettings_756_1) Encode ¶
func (p PlayClientSettings_756_1) Encode(b *PacketBuilder)
type PlayClientSettings_758_0 ¶
type PlayClientSettings_758_0 struct { /* e.g. en_GB. */ Locale String // String (16) /* Client-side render distance, in chunks. */ ViewDistance Byte // Byte /* 0: enabled, 1: commands only, 2: hidden. See processing chat for more information. */ ChatMode VarInt // VarInt Enum /* “Colors” multiplayer setting. Can the chat be colored? */ ChatColors Bool // Boolean /* Bit mask, see below. */ DisplayedSkinParts UByte // Unsigned Byte /* 0: Left, 1: Right. */ MainHand VarInt // VarInt Enum /* Enables filtering of text on signs and written book titles. Currently always false (i.e. the filtering is disabled) */ EnableTextFiltering Bool // Boolean /* Servers usually list online players, this option should let you not show up in that list. */ AllowServerListings Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x5 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x5
func (*PlayClientSettings_758_0) DecodeFrom ¶
func (p *PlayClientSettings_758_0) DecodeFrom(r *PacketReader) error
func (PlayClientSettings_758_0) Encode ¶
func (p PlayClientSettings_758_0) Encode(b *PacketBuilder)
type PlayClientStatus_758_0 ¶
type PlayClientStatus_758_0 struct { /* See below */ ActionID VarInt // VarInt Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x4 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x4 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x4 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x4 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x4 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x4 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x4 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x4 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x3 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x3 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x3 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x4 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x3 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x3 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x3 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x3 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x16
func (*PlayClientStatus_758_0) DecodeFrom ¶
func (p *PlayClientStatus_758_0) DecodeFrom(r *PacketReader) error
func (PlayClientStatus_758_0) Encode ¶
func (p PlayClientStatus_758_0) Encode(b *PacketBuilder)
type PlayCloseContainerServer_763_0 ¶
type PlayCloseContainerServer_763_0 struct { /* This is the ID of the window that was closed. 0 for player inventory. */ WindowID UByte // Unsigned Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0xc Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0xc Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0xb Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0xc Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0xb
func (*PlayCloseContainerServer_763_0) DecodeFrom ¶
func (p *PlayCloseContainerServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayCloseContainerServer_763_0) Encode ¶
func (p PlayCloseContainerServer_763_0) Encode(b *PacketBuilder)
type PlayCloseContainer_763_0 ¶
type PlayCloseContainer_763_0 struct { /* This is the ID of the window that was closed. 0 for inventory. */ WindowID UByte // Unsigned Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x11 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x11 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0xf Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x10 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x10
func (*PlayCloseContainer_763_0) DecodeFrom ¶
func (p *PlayCloseContainer_763_0) DecodeFrom(r *PacketReader) error
func (PlayCloseContainer_763_0) Encode ¶
func (p PlayCloseContainer_763_0) Encode(b *PacketBuilder)
type PlayCloseWindowServer_758_0 ¶
type PlayCloseWindowServer_758_0 struct { /* This is the ID of the window that was closed. 0 for player inventory. */ WindowID UByte // Unsigned Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x9 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x9 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x9 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x9 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0xa Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0xa Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0xa Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0xa Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x9 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x8 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x8 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x9 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x8 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x8 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x8 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x8 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0xd
func (*PlayCloseWindowServer_758_0) DecodeFrom ¶
func (p *PlayCloseWindowServer_758_0) DecodeFrom(r *PacketReader) error
func (PlayCloseWindowServer_758_0) Encode ¶
func (p PlayCloseWindowServer_758_0) Encode(b *PacketBuilder)
type PlayCloseWindow_758_0 ¶
type PlayCloseWindow_758_0 struct { /* This is the ID of the window that was closed. 0 for inventory. */ WindowID UByte // Unsigned Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x13 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x13 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x13 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x13 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x12 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x12 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x14 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x13 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x13 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x12 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x12 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x12 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x12 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x12 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x12 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x12 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x2e
func (*PlayCloseWindow_758_0) DecodeFrom ¶
func (p *PlayCloseWindow_758_0) DecodeFrom(r *PacketReader) error
func (PlayCloseWindow_758_0) Encode ¶
func (p PlayCloseWindow_758_0) Encode(b *PacketBuilder)
type PlayCollectItem_210_1 ¶
type PlayCollectItem_210_1 struct { CollectedEntityID VarInt // VarInt CollectorEntityID VarInt // VarInt }
Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x48 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x48 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0xd
func (*PlayCollectItem_210_1) DecodeFrom ¶
func (p *PlayCollectItem_210_1) DecodeFrom(r *PacketReader) error
func (PlayCollectItem_210_1) Encode ¶
func (p PlayCollectItem_210_1) Encode(b *PacketBuilder)
type PlayCollectItem_758_0 ¶
type PlayCollectItem_758_0 struct { CollectedEntityID VarInt // VarInt CollectorEntityID VarInt // VarInt /* Seems to be 1 for XP orbs, otherwise the number of items in the stack. */ PickupItemCount VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x61 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x61 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x60 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x60 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x55 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x55 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x56 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x55 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x4f Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4b Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4b Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x4a Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x48 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x48
func (*PlayCollectItem_758_0) DecodeFrom ¶
func (p *PlayCollectItem_758_0) DecodeFrom(r *PacketReader) error
func (PlayCollectItem_758_0) Encode ¶
func (p PlayCollectItem_758_0) Encode(b *PacketBuilder)
type PlayCombatDeath_762_1 ¶
type PlayCombatDeath_762_1 struct { /* Entity ID of the player that died (should match the client's entity ID). */ PlayerID VarInt // VarInt /* The killer entity's ID, or -1 if there is no obvious killer. */ EntityID Int // Int /* The death message. */ Message Object // Chat }
Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x38 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x34 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x36 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x33
func (*PlayCombatDeath_762_1) DecodeFrom ¶
func (p *PlayCombatDeath_762_1) DecodeFrom(r *PacketReader) error
func (PlayCombatDeath_762_1) Encode ¶
func (p PlayCombatDeath_762_1) Encode(b *PacketBuilder)
type PlayCombatEvent_335_5 ¶
type PlayCombatEvent_335_5 struct { }
Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2c Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2c Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2c Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2c Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2c
type PlayCombatEvent_340_4 ¶
type PlayCombatEvent_340_4 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2d Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2d
type PlayCombatEvent_754_0 ¶
type PlayCombatEvent_754_0 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x31 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x31
type PlayCommandSuggestionsRequest_763_0 ¶
type PlayCommandSuggestionsRequest_763_0 struct { /* The id of the transaction that the server will send back to the client in the response of this packet. Client generates this and increments it each time it sends another tab completion that doesn't get a response. */ TransactionId VarInt // VarInt /* All text behind the cursor without the / (e.g. to the left of the cursor in left-to-right languages like English). */ Text String // String (32500) }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x9 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x9 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x8 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x9 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x8
func (*PlayCommandSuggestionsRequest_763_0) DecodeFrom ¶
func (p *PlayCommandSuggestionsRequest_763_0) DecodeFrom(r *PacketReader) error
func (PlayCommandSuggestionsRequest_763_0) Encode ¶
func (p PlayCommandSuggestionsRequest_763_0) Encode(b *PacketBuilder)
type PlayCommandSuggestionsResponse_760_2 ¶
type PlayCommandSuggestionsResponse_760_2 struct { }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0xe Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0xe
type PlayCommandSuggestionsResponse_763_0 ¶
type PlayCommandSuggestionsResponse_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0xf Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0xf
type PlayCommands_763_0 ¶
type PlayCommands_763_0 struct { /* Number of elements in the following array. */ Count VarInt // VarInt /* An array of nodes. */ Nodes []*CommandNode // Array of Node /* Index of the root node in the previous array. */ RootIndex VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x10 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x10 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0xe Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0xf Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0xf
func (*PlayCommands_763_0) DecodeFrom ¶
func (p *PlayCommands_763_0) DecodeFrom(r *PacketReader) error
func (PlayCommands_763_0) Encode ¶
func (p PlayCommands_763_0) Encode(b *PacketBuilder)
type PlayConfirmTeleportation_763_0 ¶
type PlayConfirmTeleportation_763_0 struct { /* The ID given by the Synchronize Player Position packet. */ TeleportID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x0 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x0 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x0 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x0 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x0
func (*PlayConfirmTeleportation_763_0) DecodeFrom ¶
func (p *PlayConfirmTeleportation_763_0) DecodeFrom(r *PacketReader) error
func (PlayConfirmTeleportation_763_0) Encode ¶
func (p PlayConfirmTeleportation_763_0) Encode(b *PacketBuilder)
type PlayConfirmTransactionServer_404_0 ¶
type PlayConfirmTransactionServer_404_0 struct { /* The ID of the window that the action occurred in */ WindowID Byte // Byte /* Every action that is to be accepted has a unique number. This number is an incrementing integer (starting at 1) with separate counts for each window ID. */ ActionNumber Short // Short /* Whether the action was accepted */ Accepted Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x6 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x5 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x5 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x6 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x5 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x5 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x5 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x5 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0xf
func (*PlayConfirmTransactionServer_404_0) DecodeFrom ¶
func (p *PlayConfirmTransactionServer_404_0) DecodeFrom(r *PacketReader) error
func (PlayConfirmTransactionServer_404_0) Encode ¶
func (p PlayConfirmTransactionServer_404_0) Encode(b *PacketBuilder)
type PlayConfirmTransaction_404_0 ¶
type PlayConfirmTransaction_404_0 struct { /* The ID of the window that the action occurred in */ WindowID Byte // Byte /* Every action that is to be accepted has a unique number. This number is an incrementing integer (starting at 0) with separate counts for each window ID. */ ActionNumber Short // Short /* Whether the action was accepted */ Accepted Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x12 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x11 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x11 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x11 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x11 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x11 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x11 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x11 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x32
func (*PlayConfirmTransaction_404_0) DecodeFrom ¶
func (p *PlayConfirmTransaction_404_0) DecodeFrom(r *PacketReader) error
func (PlayConfirmTransaction_404_0) Encode ¶
func (p PlayConfirmTransaction_404_0) Encode(b *PacketBuilder)
type PlayCraftRecipeRequest_340_1 ¶
type PlayCraftRecipeRequest_340_1 struct { WindowID Byte // Byte /* A recipe ID */ Recipe VarInt // VarInt /* Affects the amount of items processed; true if shift is down when clicked */ MakeAll Bool // Boolean }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x12 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x12
func (*PlayCraftRecipeRequest_340_1) DecodeFrom ¶
func (p *PlayCraftRecipeRequest_340_1) DecodeFrom(r *PacketReader) error
func (PlayCraftRecipeRequest_340_1) Encode ¶
func (p PlayCraftRecipeRequest_340_1) Encode(b *PacketBuilder)
type PlayCraftRecipeRequest_758_0 ¶
type PlayCraftRecipeRequest_758_0 struct { WindowID Byte // Byte /* A recipe ID */ Recipe String // Identifier /* Affects the amount of items processed; true if shift is down when clicked */ MakeAll Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x18 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x18 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x18 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x18 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x19 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x19 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x18 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x18 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x16
func (*PlayCraftRecipeRequest_758_0) DecodeFrom ¶
func (p *PlayCraftRecipeRequest_758_0) DecodeFrom(r *PacketReader) error
func (PlayCraftRecipeRequest_758_0) Encode ¶
func (p PlayCraftRecipeRequest_758_0) Encode(b *PacketBuilder)
type PlayCraftRecipeResponse_340_1 ¶
type PlayCraftRecipeResponse_340_1 struct { WindowID Byte // Byte /* A recipe ID */ Recipe VarInt // VarInt }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2b Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2b
func (*PlayCraftRecipeResponse_340_1) DecodeFrom ¶
func (p *PlayCraftRecipeResponse_340_1) DecodeFrom(r *PacketReader) error
func (PlayCraftRecipeResponse_340_1) Encode ¶
func (p PlayCraftRecipeResponse_340_1) Encode(b *PacketBuilder)
type PlayCraftRecipeResponse_758_0 ¶
type PlayCraftRecipeResponse_758_0 struct { WindowID Byte // Byte /* A recipe ID */ Recipe String // Identifier }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x31 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x31 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x31 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x31 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2f Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2f Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x31 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x30 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x2d
func (*PlayCraftRecipeResponse_758_0) DecodeFrom ¶
func (p *PlayCraftRecipeResponse_758_0) DecodeFrom(r *PacketReader) error
func (PlayCraftRecipeResponse_758_0) Encode ¶
func (p PlayCraftRecipeResponse_758_0) Encode(b *PacketBuilder)
type PlayCraftingBookData_340_0 ¶
type PlayCraftingBookData_340_0 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x17 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x17 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x17
type PlayCreativeInventoryAction_758_0 ¶
type PlayCreativeInventoryAction_758_0 struct { /* Inventory slot */ Slot Short // Short ClickedItem *data.Slot // Slot }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x28 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x28 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x28 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x28 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x28 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x29 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x26 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x26 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x24 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1b Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1b Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x1b Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x18 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x18 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x18 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x18 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x10
func (*PlayCreativeInventoryAction_758_0) DecodeFrom ¶
func (p *PlayCreativeInventoryAction_758_0) DecodeFrom(r *PacketReader) error
func (PlayCreativeInventoryAction_758_0) Encode ¶
func (p PlayCreativeInventoryAction_758_0) Encode(b *PacketBuilder)
type PlayCustomSoundEffect_760_0 ¶
type PlayCustomSoundEffect_760_0 struct { /* All sound effect names can be seen here. */ SoundName String // Identifier /* The category that this sound will be played from (current categories). */ SoundCategory VarInt // VarInt Enum /* Effect X multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionX Int // Int /* Effect Y multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionY Int // Int /* Effect Z multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionZ Int // Int /* 1 is 100%, can be more. */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients. */ Pitch Float // Float /* Seed used to pick sound variant. */ Seed Long // long }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x17 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x16
func (*PlayCustomSoundEffect_760_0) DecodeFrom ¶
func (p *PlayCustomSoundEffect_760_0) DecodeFrom(r *PacketReader) error
func (PlayCustomSoundEffect_760_0) Encode ¶
func (p PlayCustomSoundEffect_760_0) Encode(b *PacketBuilder)
type PlayDamageEvent_763_0 ¶
type PlayDamageEvent_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x18 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x18
type PlayDeathCombatEvent_758_0 ¶
type PlayDeathCombatEvent_758_0 struct { /* Entity ID of the player that died (should match the client's entity ID). */ PlayerID VarInt // VarInt /* The killing entity's ID, or -1 if there is no obvious killer. */ EntityID Int // Int /* The death message. */ Message Object // Chat }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x35 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x35 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x35 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x35
func (*PlayDeathCombatEvent_758_0) DecodeFrom ¶
func (p *PlayDeathCombatEvent_758_0) DecodeFrom(r *PacketReader) error
func (PlayDeathCombatEvent_758_0) Encode ¶
func (p PlayDeathCombatEvent_758_0) Encode(b *PacketBuilder)
type PlayDeclareCommands_758_0 ¶
type PlayDeclareCommands_758_0 struct { /* Number of elements in the following array */ Count VarInt // VarInt /* An array of nodes */ Nodes []*CommandNode // Array of Node /* Index of the root node in the previous array */ RootIndex VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x12 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x12 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x12 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x12 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x10 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x10 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x12 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x11 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x11
func (*PlayDeclareCommands_758_0) DecodeFrom ¶
func (p *PlayDeclareCommands_758_0) DecodeFrom(r *PacketReader) error
func (PlayDeclareCommands_758_0) Encode ¶
func (p PlayDeclareCommands_758_0) Encode(b *PacketBuilder)
type PlayDeclareRecipes_756_1 ¶
type PlayDeclareRecipes_756_1 struct { }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x65 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x65
type PlayDeclareRecipes_758_0 ¶
type PlayDeclareRecipes_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x66 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x66
type PlayDeleteMessage_763_0 ¶
type PlayDeleteMessage_763_0 struct { /* Length of Signature. */ SignatureLength VarInt // VarInt /* Bytes of the signature. */ Signature ByteArray // Byte Array }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x19 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x19 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x16
func (*PlayDeleteMessage_763_0) DecodeFrom ¶
func (p *PlayDeleteMessage_763_0) DecodeFrom(r *PacketReader) error
func (PlayDeleteMessage_763_0) Encode ¶
func (p PlayDeleteMessage_763_0) Encode(b *PacketBuilder)
type PlayDestroyEntities_758_0 ¶
type PlayDestroyEntities_758_0 struct { /* Number of elements in the following array */ Count VarInt // VarInt /* The list of entities of destroy */ EntityIDs []VarInt // Array of VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3a Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3a Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3a Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x36 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x36 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x38 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x37 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x35 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x32 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x32 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x31 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x30 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x30 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x30 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x30 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x13
func (*PlayDestroyEntities_758_0) DecodeFrom ¶
func (p *PlayDestroyEntities_758_0) DecodeFrom(r *PacketReader) error
func (PlayDestroyEntities_758_0) Encode ¶
func (p PlayDestroyEntities_758_0) Encode(b *PacketBuilder)
type PlayDisconnect_763_0 ¶
type PlayDisconnect_763_0 struct { /* Displayed to the client when the connection terminates. */ Reason Object // Chat }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1a Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1a Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x17 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x19 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x17 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1a Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1a Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1a Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1a Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x19 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x19 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1b Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1a Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1b Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1a Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1a Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1a Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1a Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1a Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1a Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1a Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x40
func (*PlayDisconnect_763_0) DecodeFrom ¶
func (p *PlayDisconnect_763_0) DecodeFrom(r *PacketReader) error
func (PlayDisconnect_763_0) Encode ¶
func (p PlayDisconnect_763_0) Encode(b *PacketBuilder)
type PlayDisguisedChatMessage_763_0 ¶
type PlayDisguisedChatMessage_763_0 struct { Message Object // Chat /* The chat message type. */ ChatType VarInt // VarInt /* The name associated with the chat type. Usually the message sender's display name. */ ChatTypeName Object // Chat /* True if target name is present. */ HasTargetName Bool // Boolean /* The target name associated with the chat type. Usually the message target's display name. Only present if previous boolean is true. */ TargetName Object // Chat }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1b Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1b Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x18
func (*PlayDisguisedChatMessage_763_0) DecodeFrom ¶
func (p *PlayDisguisedChatMessage_763_0) DecodeFrom(r *PacketReader) error
func (PlayDisguisedChatMessage_763_0) Encode ¶
func (p PlayDisguisedChatMessage_763_0) Encode(b *PacketBuilder)
type PlayDisplayObjective_763_0 ¶
type PlayDisplayObjective_763_0 struct { /* The position of the scoreboard. 0: list, 1: sidebar, 2: below name, 3 - 18: team specific sidebar, indexed as 3 + team color. */ Position Byte // Byte /* The unique name for the scoreboard to be displayed. */ ScoreName String // String (16) }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x51 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x51 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4d Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4f Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4c
func (*PlayDisplayObjective_763_0) DecodeFrom ¶
func (p *PlayDisplayObjective_763_0) DecodeFrom(r *PacketReader) error
func (PlayDisplayObjective_763_0) Encode ¶
func (p PlayDisplayObjective_763_0) Encode(b *PacketBuilder)
type PlayDisplayScoreboard_758_0 ¶
type PlayDisplayScoreboard_758_0 struct { /* The position of the scoreboard. 0: list, 1: sidebar, 2: below name, 3 - 18: team specific sidebar, indexed as 3 + team color. */ Position Byte // Byte /* The unique name for the scoreboard to be displayed. */ ScoreName String // String (16) }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4c Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4c Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4c Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4c Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x43 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x43 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x43 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x42 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x3e Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3b Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3b Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3a Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x38 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x38 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x38 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x38 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x3d
func (*PlayDisplayScoreboard_758_0) DecodeFrom ¶
func (p *PlayDisplayScoreboard_758_0) DecodeFrom(r *PacketReader) error
func (PlayDisplayScoreboard_758_0) Encode ¶
func (p PlayDisplayScoreboard_758_0) Encode(b *PacketBuilder)
type PlayEditBook_755_4 ¶
type PlayEditBook_755_4 struct { NewBook *data.Slot // Slot /* True if the player is signing the book; false if the player is saving a draft. */ IsSigning Bool // Boolean /* 0: Main hand, 1: Off hand */ Hand VarInt // VarInt enum }
Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0xb Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0xc Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0xc Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0xc Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0xc Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0xb
func (*PlayEditBook_755_4) DecodeFrom ¶
func (p *PlayEditBook_755_4) DecodeFrom(r *PacketReader) error
func (PlayEditBook_755_4) Encode ¶
func (p PlayEditBook_755_4) Encode(b *PacketBuilder)
type PlayEditBook_763_0 ¶
type PlayEditBook_763_0 struct { /* The hotbar slot where the written book is located */ Slot VarInt // VarInt /* Number of elements in the following array */ Count VarInt // VarInt /* Text from each page. */ Entries [][]String // Array of Strings (8192 chars) /* If true, the next field is present. */ HasTitle Bool // Boolean /* Title of book. */ Title Optional[String] // Optional String (128 chars) }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0xe Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0xe Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0xd Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0xe Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0xd
func (*PlayEditBook_763_0) DecodeFrom ¶
func (p *PlayEditBook_763_0) DecodeFrom(r *PacketReader) error
func (PlayEditBook_763_0) Encode ¶
func (p PlayEditBook_763_0) Encode(b *PacketBuilder)
type PlayEffect_758_0 ¶
type PlayEffect_758_0 struct { /* The ID of the effect, see below */ EffectID Int // Int /* The location of the effect */ Location Position // Position /* Extra data for certain effects, see below */ Data Int // Int /* See above */ DisableRelativeVolume Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x23 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x23 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x23 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x23 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x21 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x21 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x23 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x22 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x23 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x21 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x21 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x21 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x21 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x21 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x21 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x21 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x28
func (*PlayEffect_758_0) DecodeFrom ¶
func (p *PlayEffect_758_0) DecodeFrom(r *PacketReader) error
func (PlayEffect_758_0) Encode ¶
func (p PlayEffect_758_0) Encode(b *PacketBuilder)
type PlayEnchantItem_404_0 ¶
type PlayEnchantItem_404_0 struct { /* The ID of the enchantment table window sent by Open Window */ WindowID Byte // Byte /* The position of the enchantment on the enchantment table window, starting with 0 as the topmost one */ Enchantment Byte // Byte }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x7 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x6 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x6 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x7 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x6 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x6 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x6 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x6 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x11
func (*PlayEnchantItem_404_0) DecodeFrom ¶
func (p *PlayEnchantItem_404_0) DecodeFrom(r *PacketReader) error
func (PlayEnchantItem_404_0) Encode ¶
func (p PlayEnchantItem_404_0) Encode(b *PacketBuilder)
type PlayEndCombatEvent_758_0 ¶
type PlayEndCombatEvent_758_0 struct { /* Length of the combat in ticks. */ Duration VarInt // VarInt /* ID of the primary opponent of the ended combat, or -1 if there is no obvious primary opponent. */ EntityID Int // Int }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x33 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x33 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x33 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x33
func (*PlayEndCombatEvent_758_0) DecodeFrom ¶
func (p *PlayEndCombatEvent_758_0) DecodeFrom(r *PacketReader) error
func (PlayEndCombatEvent_758_0) Encode ¶
func (p PlayEndCombatEvent_758_0) Encode(b *PacketBuilder)
type PlayEndCombat_762_1 ¶
type PlayEndCombat_762_1 struct { /* Length of the combat in ticks. */ Duration VarInt // VarInt /* ID of the primary opponent of the ended combat, or -1 if there is no obvious primary opponent. */ EntityID Int // Int }
Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x36 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x32 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x34 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x31
func (*PlayEndCombat_762_1) DecodeFrom ¶
func (p *PlayEndCombat_762_1) DecodeFrom(r *PacketReader) error
func (PlayEndCombat_762_1) Encode ¶
func (p PlayEndCombat_762_1) Encode(b *PacketBuilder)
type PlayEnterCombatEvent_758_0 ¶
type PlayEnterCombatEvent_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x34 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x34 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x34 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x34
func (*PlayEnterCombatEvent_758_0) DecodeFrom ¶
func (p *PlayEnterCombatEvent_758_0) DecodeFrom(r *PacketReader) error
func (PlayEnterCombatEvent_758_0) Encode ¶
func (p PlayEnterCombatEvent_758_0) Encode(b *PacketBuilder)
type PlayEnterCombat_763_0 ¶
type PlayEnterCombat_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x37 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x37 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x33 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x35 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x32
func (*PlayEnterCombat_763_0) DecodeFrom ¶
func (p *PlayEnterCombat_763_0) DecodeFrom(r *PacketReader) error
func (PlayEnterCombat_763_0) Encode ¶
func (p PlayEnterCombat_763_0) Encode(b *PacketBuilder)
type PlayEntityAction_758_0 ¶
type PlayEntityAction_758_0 struct { /* Player ID */ EntityID VarInt // VarInt /* The ID of the action, see below */ ActionID VarInt // VarInt Enum /* Only used by the “start jump with horse” action, in which case it ranges from 0 to 100. In all other cases it is 0. */ JumpBoost VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1b Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1b Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1b Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1b Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1c Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1c Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x1b Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x1b Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x19 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x15 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x15 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x15 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x14 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x14 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x14 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x14
func (*PlayEntityAction_758_0) DecodeFrom ¶
func (p *PlayEntityAction_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityAction_758_0) Encode ¶
func (p PlayEntityAction_758_0) Encode(b *PacketBuilder)
type PlayEntityAnimation_763_0 ¶
type PlayEntityAnimation_763_0 struct { /* Player ID */ EntityID VarInt // VarInt /* Animation ID (see below) */ Animation UByte // Unsigned Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x3 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x6 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x6 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x6 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x6 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x5 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x5 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x6 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x6
func (*PlayEntityAnimation_763_0) DecodeFrom ¶
func (p *PlayEntityAnimation_763_0) DecodeFrom(r *PacketReader) error
func (PlayEntityAnimation_763_0) Encode ¶
func (p PlayEntityAnimation_763_0) Encode(b *PacketBuilder)
type PlayEntityEffect_110_3 ¶
type PlayEntityEffect_110_3 struct { EntityID VarInt // VarInt /* See this table */ EffectID Byte // Byte /* Notchian client displays effect level as Amplifier + 1 */ Amplifier Byte // Byte /* Seconds */ Duration VarInt // VarInt HideParticles Bool // Boolean }
Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x4b Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x1d
func (*PlayEntityEffect_110_3) DecodeFrom ¶
func (p *PlayEntityEffect_110_3) DecodeFrom(r *PacketReader) error
func (PlayEntityEffect_110_3) Encode ¶
func (p PlayEntityEffect_110_3) Encode(b *PacketBuilder)
type PlayEntityEffect_757_2 ¶
type PlayEntityEffect_757_2 struct { EntityID VarInt // VarInt /* See this table */ EffectID Byte // Byte /* Notchian client displays effect level as Amplifier + 1 */ Amplifier Byte // Byte /* Seconds */ Duration VarInt // VarInt /* Bit field, see below. */ Flags Byte // Byte }
Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x65 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x64 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x64 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x59 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x59 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x5a Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x59 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x53 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4f Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4f Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x4e Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x4b Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x4b Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x4b
func (*PlayEntityEffect_757_2) DecodeFrom ¶
func (p *PlayEntityEffect_757_2) DecodeFrom(r *PacketReader) error
func (PlayEntityEffect_757_2) Encode ¶
func (p PlayEntityEffect_757_2) Encode(b *PacketBuilder)
type PlayEntityEffect_763_0 ¶
type PlayEntityEffect_763_0 struct { EntityID VarInt // VarInt /* See this table. */ EffectID VarInt // VarInt /* Notchian client displays effect level as Amplifier + 1. */ Amplifier Byte // Byte /* Duration in ticks. */ Duration VarInt // VarInt /* Bit field, see below. */ Flags Byte // Byte /* Used in DARKNESS effect */ HasFactorData Bool // Boolean /* See below */ FactorCodec nbt.NBT // NBT Tag }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x6c Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x6c Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x68 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x69 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x66
func (*PlayEntityEffect_763_0) DecodeFrom ¶
func (p *PlayEntityEffect_763_0) DecodeFrom(r *PacketReader) error
func (PlayEntityEffect_763_0) Encode ¶
func (p PlayEntityEffect_763_0) Encode(b *PacketBuilder)
type PlayEntityEquipment_578_2 ¶
type PlayEntityEquipment_578_2 struct { /* Entity's EID */ EntityID VarInt // VarInt /* Equipment slot. 0: main hand, 1: off hand, 2–5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet) */ Slot VarInt // VarInt Enum Item *data.Slot // Slot }
Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x47 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x46 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x42 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3f Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3f Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3e Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3c Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3c Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3c Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3c
func (*PlayEntityEquipment_578_2) DecodeFrom ¶
func (p *PlayEntityEquipment_578_2) DecodeFrom(r *PacketReader) error
func (PlayEntityEquipment_578_2) Encode ¶
func (p PlayEntityEquipment_578_2) Encode(b *PacketBuilder)
type PlayEntityEquipment_754_1 ¶
type PlayEntityEquipment_754_1 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x47 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x47
type PlayEntityEquipment_758_0 ¶
type PlayEntityEquipment_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x50 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x50 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x50 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x50
type PlayEntityEvent_763_0 ¶
type PlayEntityEvent_763_0 struct { EntityID Int // Int /* See Entity statuses for a list of which statuses are valid for each type of entity. */ EntityStatus Byte // Byte Enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1c Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1c Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x19 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1a Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x18
func (*PlayEntityEvent_763_0) DecodeFrom ¶
func (p *PlayEntityEvent_763_0) DecodeFrom(r *PacketReader) error
func (PlayEntityEvent_763_0) Encode ¶
func (p PlayEntityEvent_763_0) Encode(b *PacketBuilder)
type PlayEntityHeadLook_758_0 ¶
type PlayEntityHeadLook_758_0 struct { EntityID VarInt // VarInt /* New angle, not a delta */ HeadYaw Angle // Angle }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3e Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3e Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3e Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x3e Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x3a Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3a Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x3c Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x3b Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x39 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x36 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x36 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x35 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x34 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x34 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x34 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x34 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x19
func (*PlayEntityHeadLook_758_0) DecodeFrom ¶
func (p *PlayEntityHeadLook_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityHeadLook_758_0) Encode ¶
func (p PlayEntityHeadLook_758_0) Encode(b *PacketBuilder)
type PlayEntityLookAndRelativeMove_404_0 ¶
type PlayEntityLookAndRelativeMove_404_0 struct { EntityID VarInt // VarInt /* Change in X position as (currentX * 32 - prevX * 32) * 128 */ DeltaX Short // Short /* Change in Y position as (currentY * 32 - prevY * 32) * 128 */ DeltaY Short // Short /* Change in Z position as (currentZ * 32 - prevZ * 32) * 128 */ DeltaZ Short // Short /* New angle, not a delta */ Yaw Angle // Angle /* New angle, not a delta */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x29 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x27 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x27 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x27 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x26 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x26 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x26 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x26
func (*PlayEntityLookAndRelativeMove_404_0) DecodeFrom ¶
func (p *PlayEntityLookAndRelativeMove_404_0) DecodeFrom(r *PacketReader) error
func (PlayEntityLookAndRelativeMove_404_0) Encode ¶
func (p PlayEntityLookAndRelativeMove_404_0) Encode(b *PacketBuilder)
type PlayEntityLook_404_0 ¶
type PlayEntityLook_404_0 struct { EntityID VarInt // VarInt /* New angle, not a delta */ Yaw Angle // Angle /* New angle, not a delta */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x2a Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x28 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x28 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x28 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x27 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x27 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x27 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x27 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x16
func (*PlayEntityLook_404_0) DecodeFrom ¶
func (p *PlayEntityLook_404_0) DecodeFrom(r *PacketReader) error
func (PlayEntityLook_404_0) Encode ¶
func (p PlayEntityLook_404_0) Encode(b *PacketBuilder)
type PlayEntityMetadata_758_0 ¶
type PlayEntityMetadata_758_0 struct { EntityID VarInt // VarInt Metadata *data.EntityMetadata // Entity Metadata }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4d Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4d Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4d Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4d Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x44 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x44 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x44 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x43 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x3f Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3c Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3c Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3b Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x39 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x39 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x39 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x39 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x1c
func (*PlayEntityMetadata_758_0) DecodeFrom ¶
func (p *PlayEntityMetadata_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityMetadata_758_0) Encode ¶
func (p PlayEntityMetadata_758_0) Encode(b *PacketBuilder)
type PlayEntityMovement_754_0 ¶
type PlayEntityMovement_754_0 struct {
EntityID VarInt // VarInt
}
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2a Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2a Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x2c Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2b
func (*PlayEntityMovement_754_0) DecodeFrom ¶
func (p *PlayEntityMovement_754_0) DecodeFrom(r *PacketReader) error
func (PlayEntityMovement_754_0) Encode ¶
func (p PlayEntityMovement_754_0) Encode(b *PacketBuilder)
type PlayEntityPositionAndRotation_758_0 ¶
type PlayEntityPositionAndRotation_758_0 struct { EntityID VarInt // VarInt /* Change in X position as (currentX * 32 - prevX * 32) * 128 */ DeltaX Short // Short /* Change in Y position as (currentY * 32 - prevY * 32) * 128 */ DeltaY Short // Short /* Change in Z position as (currentZ * 32 - prevZ * 32) * 128 */ DeltaZ Short // Short /* New angle, not a delta */ Yaw Angle // Angle /* New angle, not a delta */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x2a Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2a Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2a Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2a Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x28 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x28 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x2a Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x29
func (*PlayEntityPositionAndRotation_758_0) DecodeFrom ¶
func (p *PlayEntityPositionAndRotation_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityPositionAndRotation_758_0) Encode ¶
func (p PlayEntityPositionAndRotation_758_0) Encode(b *PacketBuilder)
type PlayEntityPosition_758_0 ¶
type PlayEntityPosition_758_0 struct { EntityID VarInt // VarInt /* Change in X position as (currentX * 32 - prevX * 32) * 128 */ DeltaX Short // Short /* Change in Y position as (currentY * 32 - prevY * 32) * 128 */ DeltaY Short // Short /* Change in Z position as (currentZ * 32 - prevZ * 32) * 128 */ DeltaZ Short // Short OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x29 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x29 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x29 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x29 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x27 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x27 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x29 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x28
func (*PlayEntityPosition_758_0) DecodeFrom ¶
func (p *PlayEntityPosition_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityPosition_758_0) Encode ¶
func (p PlayEntityPosition_758_0) Encode(b *PacketBuilder)
type PlayEntityProperties_315_9 ¶
type PlayEntityProperties_315_9 struct { }
Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x4a Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x4a Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x4a
type PlayEntityProperties_340_6 ¶
type PlayEntityProperties_340_6 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4e Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4e
type PlayEntityProperties_754_2 ¶
type PlayEntityProperties_754_2 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x58 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x58
type PlayEntityProperties_756_1 ¶
type PlayEntityProperties_756_1 struct { }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x63 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x63
type PlayEntityProperties_758_0 ¶
type PlayEntityProperties_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x64 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x64
type PlayEntityRelativeMove_404_0 ¶
type PlayEntityRelativeMove_404_0 struct { EntityID VarInt // VarInt /* Change in X position as (currentX * 32 - prevX * 32) * 128 */ DeltaX Short // Short /* Change in Y position as (currentY * 32 - prevY * 32) * 128 */ DeltaY Short // Short /* Change in Z position as (currentZ * 32 - prevZ * 32) * 128 */ DeltaZ Short // Short OnGround Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x28 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x26 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x26 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x26 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x25 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x25 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x25 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x25
func (*PlayEntityRelativeMove_404_0) DecodeFrom ¶
func (p *PlayEntityRelativeMove_404_0) DecodeFrom(r *PacketReader) error
func (PlayEntityRelativeMove_404_0) Encode ¶
func (p PlayEntityRelativeMove_404_0) Encode(b *PacketBuilder)
type PlayEntityRotation_758_0 ¶
type PlayEntityRotation_758_0 struct { EntityID VarInt // VarInt /* New angle, not a delta */ Yaw Angle // Angle /* New angle, not a delta */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x2b Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2b Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2b Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2b Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x29 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x29 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x2b Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2a
func (*PlayEntityRotation_758_0) DecodeFrom ¶
func (p *PlayEntityRotation_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityRotation_758_0) Encode ¶
func (p PlayEntityRotation_758_0) Encode(b *PacketBuilder)
type PlayEntitySoundEffect_760_1 ¶
type PlayEntitySoundEffect_760_1 struct { /* ID of hardcoded sound event (events as of 1.14.4) */ SoundID VarInt // VarInt /* The category that this sound will be played from (current categories) */ SoundCategory VarInt // VarInt Enum EntityID VarInt // VarInt /* 1.0 is 100%, capped between 0.0 and 1.0 by Notchian clients */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients */ Pitch Float // Float }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5f Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5c Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5c Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5c Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5b Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5b Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x50 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x50 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x51 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x50
func (*PlayEntitySoundEffect_760_1) DecodeFrom ¶
func (p *PlayEntitySoundEffect_760_1) DecodeFrom(r *PacketReader) error
func (PlayEntitySoundEffect_760_1) Encode ¶
func (p PlayEntitySoundEffect_760_1) Encode(b *PacketBuilder)
type PlayEntitySoundEffect_763_0 ¶
type PlayEntitySoundEffect_763_0 struct { /* Represents the Sound ID + 1. If the value is 0, the packet contains a sound specified by Identifier. */ SoundID VarInt // VarInt /* Only present if Sound ID is 0 */ SoundName Optional[String] // Optional Identifier /* Only present if Sound ID is 0. */ HasFixedRange Optional[Bool] // Optional Boolean /* The fixed range of the sound. Only present if previous boolean is true and Sound ID is 0. */ Range Optional[Float] // Optional Float /* The category that this sound will be played from (current categories). */ SoundCategory VarInt // VarInt Enum EntityID VarInt // VarInt /* 1.0 is 100%, capped between 0.0 and 1.0 by Notchian clients. */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients. */ Pitch Float // Float /* Seed used to pick sound variant. */ Seed Long // Long }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x61 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x61 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5d
func (*PlayEntitySoundEffect_763_0) DecodeFrom ¶
func (p *PlayEntitySoundEffect_763_0) DecodeFrom(r *PacketReader) error
func (PlayEntitySoundEffect_763_0) Encode ¶
func (p PlayEntitySoundEffect_763_0) Encode(b *PacketBuilder)
type PlayEntityStatus_758_0 ¶
type PlayEntityStatus_758_0 struct { EntityID Int // Int /* See below */ EntityStatus Byte // Byte Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1b Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1b Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1b Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1b Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1a Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1a Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1c Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1b Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1c Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1b Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1b Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1b Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1b Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1b Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1b Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1b Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x1a
func (*PlayEntityStatus_758_0) DecodeFrom ¶
func (p *PlayEntityStatus_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityStatus_758_0) Encode ¶
func (p PlayEntityStatus_758_0) Encode(b *PacketBuilder)
type PlayEntityTeleport_758_0 ¶
type PlayEntityTeleport_758_0 struct { EntityID VarInt // VarInt X Double // Double Y Double // Double Z Double // Double /* New angle, not a delta */ Yaw Angle // Angle /* New angle, not a delta */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x62 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x62 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x61 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x61 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x56 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x56 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x57 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x56 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x50 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4c Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4c Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x4b Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x49 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x49 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x49 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x49
func (*PlayEntityTeleport_758_0) DecodeFrom ¶
func (p *PlayEntityTeleport_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityTeleport_758_0) Encode ¶
func (p PlayEntityTeleport_758_0) Encode(b *PacketBuilder)
type PlayEntityVelocity_758_0 ¶
type PlayEntityVelocity_758_0 struct { EntityID VarInt // VarInt /* Velocity on the X axis */ VelocityX Short // Short /* Velocity on the Y axis */ VelocityY Short // Short /* Velocity on the Z axis */ VelocityZ Short // Short }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4f Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4f Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4f Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4f Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x46 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x46 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x46 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x45 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x41 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3e Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3e Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3d Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3b Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3b Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3b Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3b Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x12
func (*PlayEntityVelocity_758_0) DecodeFrom ¶
func (p *PlayEntityVelocity_758_0) DecodeFrom(r *PacketReader) error
func (PlayEntityVelocity_758_0) Encode ¶
func (p PlayEntityVelocity_758_0) Encode(b *PacketBuilder)
type PlayEntity_404_0 ¶
type PlayEntity_404_0 struct {
EntityID VarInt // VarInt
}
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x27 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x25 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x25 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x25 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x28 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x28 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x28 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x28 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x14
func (*PlayEntity_404_0) DecodeFrom ¶
func (p *PlayEntity_404_0) DecodeFrom(r *PacketReader) error
func (PlayEntity_404_0) Encode ¶
func (p PlayEntity_404_0) Encode(b *PacketBuilder)
type PlayExplosion_498_3 ¶
type PlayExplosion_498_3 struct { X Float // Float Y Float // Float Z Float // Float /* Currently unused in the client */ Radius Float // Float /* Number of elements in the following array */ RecordCount Int // Int /* Each record is 3 signed bytes long, each bytes are the XYZ (respectively) offsets of affected blocks. */ Records [][3]Byte // Array of (Byte, Byte, Byte) /* X velocity of the player being pushed by the explosion */ PlayerMotionX Float // Float /* Y velocity of the player being pushed by the explosion */ PlayerMotionY Float // Float /* Z velocity of the player being pushed by the explosion */ PlayerMotionZ Float // Float }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1c Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1e Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1c Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1c Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1c Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1c Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1c Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1c Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1c Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x27
func (*PlayExplosion_498_3) DecodeFrom ¶
func (p *PlayExplosion_498_3) DecodeFrom(r *PacketReader) error
func (PlayExplosion_498_3) Encode ¶
func (p PlayExplosion_498_3) Encode(b *PacketBuilder)
type PlayExplosion_754_2 ¶
type PlayExplosion_754_2 struct { X Float // Float Y Float // Float Z Float // Float /* A strength greater than or equal to 2.0 spawns a minecraft:explosion_emitter particle, while a lesser strength spawns a minecraft:explosion particle. */ Strength Float // Float /* Number of elements in the following array */ RecordCount Int // Int /* Each record is 3 signed bytes long; the 3 bytes are the XYZ (respectively) signed offsets of affected blocks. */ Records [][3]Byte // Array of (Byte, Byte, Byte) /* X velocity of the player being pushed by the explosion */ PlayerMotionX Float // Float /* Y velocity of the player being pushed by the explosion */ PlayerMotionY Float // Float /* Z velocity of the player being pushed by the explosion */ PlayerMotionZ Float // Float }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1b Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1b Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1d
func (*PlayExplosion_754_2) DecodeFrom ¶
func (p *PlayExplosion_754_2) DecodeFrom(r *PacketReader) error
func (PlayExplosion_754_2) Encode ¶
func (p PlayExplosion_754_2) Encode(b *PacketBuilder)
type PlayExplosion_760_1 ¶
type PlayExplosion_760_1 struct { X Float // Float Y Float // Float Z Float // Float /* A strength greater than or equal to 2.0 spawns a minecraft:explosion_emitter particle, while a lesser strength spawns a minecraft:explosion particle. */ Strength Float // Float /* Number of elements in the following array. */ RecordCount VarInt // VarInt /* Each record is 3 signed bytes long; the 3 bytes are the XYZ (respectively) signed offsets of affected blocks. */ Records [][3]Byte // Array of (Byte, Byte, Byte) /* X velocity of the player being pushed by the explosion. */ PlayerMotionX Float // Float /* Y velocity of the player being pushed by the explosion. */ PlayerMotionY Float // Float /* Z velocity of the player being pushed by the explosion. */ PlayerMotionZ Float // Float }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1b Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1c Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1c Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1c Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1c
func (*PlayExplosion_760_1) DecodeFrom ¶
func (p *PlayExplosion_760_1) DecodeFrom(r *PacketReader) error
func (PlayExplosion_760_1) Encode ¶
func (p PlayExplosion_760_1) Encode(b *PacketBuilder)
type PlayExplosion_763_0 ¶
type PlayExplosion_763_0 struct { X Double // Double Y Double // Double Z Double // Double /* A strength greater than or equal to 2.0 spawns a minecraft:explosion_emitter particle, while a lesser strength spawns a minecraft:explosion particle. */ Strength Float // Float /* Number of elements in the following array. */ RecordCount VarInt // VarInt /* Each record is 3 signed bytes long; the 3 bytes are the XYZ (respectively) signed offsets of affected blocks. */ Records [][3]Byte // Array of (Byte, Byte, Byte) /* X velocity of the player being pushed by the explosion. */ PlayerMotionX Float // Float /* Y velocity of the player being pushed by the explosion. */ PlayerMotionY Float // Float /* Z velocity of the player being pushed by the explosion. */ PlayerMotionZ Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1d Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1d Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1a Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x19
func (*PlayExplosion_763_0) DecodeFrom ¶
func (p *PlayExplosion_763_0) DecodeFrom(r *PacketReader) error
func (PlayExplosion_763_0) Encode ¶
func (p PlayExplosion_763_0) Encode(b *PacketBuilder)
type PlayFacePlayer_757_0 ¶
type PlayFacePlayer_757_0 struct { /* Values are feet=0, eyes=1. If set to eyes, aims using the head position; otherwise aims using the feet position. */ FeetOrEyes VarInt // VarInt enum /* x coordinate of the point to face towards */ TargetX Double // Double /* y coordinate of the point to face towards */ TargetY Double // Double /* z coordinate of the point to face towards */ TargetZ Double // Double /* If true, additional information about an entity is provided. */ IsEntity Bool // Boolean /* Only if is entity is true — the entity to face towards */ EntityID Optional[VarInt] // Optional VarInt /* Whether to look at the entity's eyes or feet. Same values and meanings as before, just for the entity's head/feet. */ EntityFeetOrEyes Optional[VarInt] // Optional VarInt enum }
Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x37 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x37 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x37 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x33 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x33 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x35 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x34 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x31
func (*PlayFacePlayer_757_0) DecodeFrom ¶
func (p *PlayFacePlayer_757_0) DecodeFrom(r *PacketReader) error
func (PlayFacePlayer_757_0) Encode ¶
func (p PlayFacePlayer_757_0) Encode(b *PacketBuilder)
type PlayFeatureFlags_763_0 ¶
type PlayFeatureFlags_763_0 struct { /* Number of features that appear in the array below. */ TotalFeatures VarInt // VarInt FeatureFlags []String // Identifier Array }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x6b Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x6b Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x67
func (*PlayFeatureFlags_763_0) DecodeFrom ¶
func (p *PlayFeatureFlags_763_0) DecodeFrom(r *PacketReader) error
func (PlayFeatureFlags_763_0) Encode ¶
func (p PlayFeatureFlags_763_0) Encode(b *PacketBuilder)
type PlayGameEvent_763_0 ¶
type PlayGameEvent_763_0 struct { /* See below. */ Event UByte // Unsigned Byte /* Depends on Event. */ Value Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1f Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1f Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1c Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1d Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x1b
func (*PlayGameEvent_763_0) DecodeFrom ¶
func (p *PlayGameEvent_763_0) DecodeFrom(r *PacketReader) error
func (PlayGameEvent_763_0) Encode ¶
func (p PlayGameEvent_763_0) Encode(b *PacketBuilder)
type PlayGenerateStructure_758_0 ¶
type PlayGenerateStructure_758_0 struct { /* Block entity location */ Location Position // Position /* Value of the levels slider/max depth to generate */ Levels VarInt // VarInt KeepJigsaws Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0xe Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0xe Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0xe Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0xe Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0xf Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0xf
func (*PlayGenerateStructure_758_0) DecodeFrom ¶
func (p *PlayGenerateStructure_758_0) DecodeFrom(r *PacketReader) error
func (PlayGenerateStructure_758_0) Encode ¶
func (p PlayGenerateStructure_758_0) Encode(b *PacketBuilder)
type PlayHeldItemChangeServer_758_0 ¶
type PlayHeldItemChangeServer_758_0 struct { /* The slot which the player has selected (0–8) */ Slot Short // Short }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x25 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x25 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x25 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x25 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x25 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x25 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x23 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x23 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x21 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1a Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1a Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x1a Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x17 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x17 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x17 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x17 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x9
func (*PlayHeldItemChangeServer_758_0) DecodeFrom ¶
func (p *PlayHeldItemChangeServer_758_0) DecodeFrom(r *PacketReader) error
func (PlayHeldItemChangeServer_758_0) Encode ¶
func (p PlayHeldItemChangeServer_758_0) Encode(b *PacketBuilder)
type PlayHeldItemChange_758_0 ¶
type PlayHeldItemChange_758_0 struct { /* The slot which the player has selected (0–8) */ Slot Byte // Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x48 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x48 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x48 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x48 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x3f Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3f Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x40 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x3f Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x3d Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3a Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3a Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x39 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x37 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x37 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x37 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x37 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x9
func (*PlayHeldItemChange_758_0) DecodeFrom ¶
func (p *PlayHeldItemChange_758_0) DecodeFrom(r *PacketReader) error
func (PlayHeldItemChange_758_0) Encode ¶
func (p PlayHeldItemChange_758_0) Encode(b *PacketBuilder)
type PlayHurtAnimation_763_0 ¶
type PlayHurtAnimation_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x21 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x21
type PlayInitializeWorldBorder_763_0 ¶
type PlayInitializeWorldBorder_763_0 struct { X Double // Double Z Double // Double /* Current length of a single side of the world border, in meters. */ OldDiameter Double // Double /* Target length of a single side of the world border, in meters. */ NewDiameter Double // Double /* Number of real-time milliseconds until New Diameter is reached. It appears that Notchian server does not sync world border speed to game ticks, so it gets out of sync with server lag. If the world border is not moving, this is set to 0. */ Speed VarLong // VarLong /* Resulting coordinates from a portal teleport are limited to ±value. Usually 29999984. */ PortalTeleportBoundary VarInt // VarInt /* In meters. */ WarningBlocks VarInt // VarInt /* In seconds as set by /worldborder warning time. */ WarningTime VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x22 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x22 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1e Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1f Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x1d Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x20 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x20 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x20 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x20
func (*PlayInitializeWorldBorder_763_0) DecodeFrom ¶
func (p *PlayInitializeWorldBorder_763_0) DecodeFrom(r *PacketReader) error
func (PlayInitializeWorldBorder_763_0) Encode ¶
func (p PlayInitializeWorldBorder_763_0) Encode(b *PacketBuilder)
type PlayInteractEntity_578_1 ¶
type PlayInteractEntity_578_1 struct { /* The ID of the entity to interact */ EntityID VarInt // VarInt /* 0: interact, 1: attack, 2: interact at */ Type VarInt // VarInt Enum /* Only if Type is interact at */ TargetX Optional[Float] // Optional Float /* Only if Type is interact at */ TargetY Optional[Float] // Optional Float /* Only if Type is interact at */ TargetZ Optional[Float] // Optional Float /* Only if Type is interact or interact at; 0: main hand, 1: off hand */ Hand Optional[VarInt] // Optional VarInt Enum }
Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0xe Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0xe
func (*PlayInteractEntity_578_1) DecodeFrom ¶
func (p *PlayInteractEntity_578_1) DecodeFrom(r *PacketReader) error
func (PlayInteractEntity_578_1) Encode ¶
func (p PlayInteractEntity_578_1) Encode(b *PacketBuilder)
type PlayInteractEntity_758_0 ¶
type PlayInteractEntity_758_0 struct { /* The ID of the entity to interact */ EntityID VarInt // VarInt /* 0: interact, 1: attack, 2: interact at */ Type VarInt // VarInt Enum /* Only if Type is interact at */ TargetX Optional[Float] // Optional Float /* Only if Type is interact at */ TargetY Optional[Float] // Optional Float /* Only if Type is interact at */ TargetZ Optional[Float] // Optional Float /* Only if Type is interact or interact at; 0: main hand, 1: off hand */ Hand Optional[VarInt] // Optional VarInt Enum /* If the client is sneaking. */ Sneaking Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0xd Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0xd Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0xd Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0xd Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0xe Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0xe
func (*PlayInteractEntity_758_0) DecodeFrom ¶
func (p *PlayInteractEntity_758_0) DecodeFrom(r *PacketReader) error
func (PlayInteractEntity_758_0) Encode ¶
func (p PlayInteractEntity_758_0) Encode(b *PacketBuilder)
type PlayInteract_763_0 ¶
type PlayInteract_763_0 struct { /* The ID of the entity to interact. */ EntityID VarInt // VarInt /* 0: interact, 1: attack, 2: interact at. */ Type VarInt // VarInt Enum /* Only if Type is interact at. */ TargetX Optional[Float] // Optional Float /* Only if Type is interact at. */ TargetY Optional[Float] // Optional Float /* Only if Type is interact at. */ TargetZ Optional[Float] // Optional Float /* Only if Type is interact or interact at; 0: main hand, 1: off hand. */ Hand Optional[VarInt] // Optional VarInt Enum /* If the client is sneaking. */ Sneaking Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x10 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x10 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0xf Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x10 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0xf
func (*PlayInteract_763_0) DecodeFrom ¶
func (p *PlayInteract_763_0) DecodeFrom(r *PacketReader) error
func (PlayInteract_763_0) Encode ¶
func (p PlayInteract_763_0) Encode(b *PacketBuilder)
type PlayJigsawGenerate_763_0 ¶
type PlayJigsawGenerate_763_0 struct { /* Block entity location. */ Location Position // Position /* Value of the levels slider/max depth to generate. */ Levels VarInt // VarInt KeepJigsaws Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x11 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x11 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x10 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x11 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x10
func (*PlayJigsawGenerate_763_0) DecodeFrom ¶
func (p *PlayJigsawGenerate_763_0) DecodeFrom(r *PacketReader) error
func (PlayJigsawGenerate_763_0) Encode ¶
func (p PlayJigsawGenerate_763_0) Encode(b *PacketBuilder)
type PlayJoinGame_404_4 ¶
type PlayJoinGame_404_4 struct { /* The player's Entity ID (EID) */ EntityID Int // Int /* 0: Survival, 1: Creative, 2: Adventure, 3: Spectator. Bit 3 (0x8) is the hardcore flag. */ Gamemode UByte // Unsigned Byte /* -1: Nether, 0: Overworld, 1: End; also, note that this is not a VarInt but instead a regular int. */ Dimension Int // Int Enum /* 0: peaceful, 1: easy, 2: normal, 3: hard */ Difficulty UByte // Unsigned Byte /* Was once used by the client to draw the player list, but now is ignored */ MaxPlayers UByte // Unsigned Byte /* default, flat, largeBiomes, amplified, default_1_1 */ LevelType String // String Enum (16) /* If true, a Notchian client shows reduced information on the debug screen. For servers in development, this should almost always be false. */ ReducedDebugInfo Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x25 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x23 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x23 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x23 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x23 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x23 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x23 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x23
func (*PlayJoinGame_404_4) DecodeFrom ¶
func (p *PlayJoinGame_404_4) DecodeFrom(r *PacketReader) error
func (PlayJoinGame_404_4) Encode ¶
func (p PlayJoinGame_404_4) Encode(b *PacketBuilder)
type PlayJoinGame_756_1 ¶
type PlayJoinGame_756_1 struct { /* The player's Entity ID (EID) */ EntityID Int // Int IsHardcore Bool // Boolean /* 0: Survival, 1: Creative, 2: Adventure, 3: Spectator. */ Gamemode UByte // Unsigned Byte /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. Defaults to -1 if there is no previous gamemode. (More information needed) */ PreviousGamemode Byte // Byte /* Size of the following array */ WorldCount VarInt // VarInt /* Identifiers for all worlds on the server */ WorldNames []String // Array of Identifier /* The full extent of these is still unknown, but the tag represents a dimension and biome registry. See below for the vanilla default. */ DimensionCodec *nbt.NBTCompound // NBT Tag Compound /* Valid dimensions are defined per dimension registry sent before this */ Dimension *nbt.NBTCompound // NBT Tag Compound /* Name of the world being spawned into */ WorldName String // Identifier /* First 8 bytes of the SHA-256 hash of the world's seed. */ HashedSeed Long // Long /* Was once used by the client to draw the player list, but now is ignored */ MaxPlayers VarInt // VarInt /* Render distance (2-32) */ ViewDistance VarInt // VarInt /* If true, a Notchian client shows reduced information on the debug screen. For servers in development, this should almost always be false. */ ReducedDebugInfo Bool // Boolean /* Set to false when the doImmediateRespawn gamerule is true */ EnableRespawnScreen Bool // Boolean /* True if the world is a debug mode world; debug mode worlds cannot be modified and have predefined blocks */ IsDebug Bool // Boolean /* True if the world is a superflat world; flat worlds have different void fog and a horizon at y=0 instead of y=63 */ IsFlat Bool // Boolean }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x26 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x26 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x24 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x24
func (*PlayJoinGame_756_1) DecodeFrom ¶
func (p *PlayJoinGame_756_1) DecodeFrom(r *PacketReader) error
func (PlayJoinGame_756_1) Encode ¶
func (p PlayJoinGame_756_1) Encode(b *PacketBuilder)
type PlayJoinGame_758_0 ¶
type PlayJoinGame_758_0 struct { /* The player's Entity ID (EID). */ EntityID Int // Int IsHardcore Bool // Boolean /* 0: Survival, 1: Creative, 2: Adventure, 3: Spectator. */ Gamemode UByte // Unsigned Byte /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. Defaults to -1 if there is no previous gamemode. (More information needed) */ PreviousGamemode Byte // Byte /* Size of the following array. */ WorldCount VarInt // VarInt /* Identifiers for all dimensions on the server. */ DimensionNames []String // Array of Identifier /* The full extent of these is still unknown, but the tag represents a dimension and biome registry. See below for the vanilla default. */ DimensionCodec *nbt.NBTCompound // NBT Tag Compound /* Valid dimensions are defined per dimension registry sent before this. The structure of this tag is a dimension type (see below). */ Dimension *nbt.NBTCompound // NBT Tag Compound /* Name of the dimension being spawned into. */ DimensionName String // Identifier /* First 8 bytes of the SHA-256 hash of the world's seed. Used client side for biome noise */ HashedSeed Long // Long /* Was once used by the client to draw the player list, but now is ignored. */ MaxPlayers VarInt // VarInt /* Render distance (2-32). */ ViewDistance VarInt // VarInt /* The distance that the client will process specific things, such as entities. */ SimulationDistance VarInt // VarInt /* If true, a Notchian client shows reduced information on the debug screen. For servers in development, this should almost always be false. */ ReducedDebugInfo Bool // Boolean /* Set to false when the doImmediateRespawn gamerule is true. */ EnableRespawnScreen Bool // Boolean /* True if the world is a debug mode world; debug mode worlds cannot be modified and have predefined blocks. */ IsDebug Bool // Boolean /* True if the world is a superflat world; flat worlds have different void fog and a horizon at y=0 instead of y=63. */ IsFlat Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x26 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x26
func (*PlayJoinGame_758_0) DecodeFrom ¶
func (p *PlayJoinGame_758_0) DecodeFrom(r *PacketReader) error
func (PlayJoinGame_758_0) Encode ¶
func (p PlayJoinGame_758_0) Encode(b *PacketBuilder)
type PlayKeepAliveServer_338_1 ¶
type PlayKeepAliveServer_338_1 struct {
KeepAliveID VarInt // VarInt
}
Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0xb Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0xc Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0xb Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0xb Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0xb Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0xb Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x0
func (*PlayKeepAliveServer_338_1) DecodeFrom ¶
func (p *PlayKeepAliveServer_338_1) DecodeFrom(r *PacketReader) error
func (PlayKeepAliveServer_338_1) Encode ¶
func (p PlayKeepAliveServer_338_1) Encode(b *PacketBuilder)
type PlayKeepAliveServer_763_0 ¶
type PlayKeepAliveServer_763_0 struct {
KeepAliveID Long // Long
}
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x12 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x12 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x11 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x12 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x11 Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0xf Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0xf Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0xf Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0xf Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x10 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x10 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0xf Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0xf Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0xe Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0xb
func (*PlayKeepAliveServer_763_0) DecodeFrom ¶
func (p *PlayKeepAliveServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayKeepAliveServer_763_0) Encode ¶
func (p PlayKeepAliveServer_763_0) Encode(b *PacketBuilder)
type PlayKeepAlive_338_1 ¶
type PlayKeepAlive_338_1 struct {
KeepAliveID VarInt // VarInt
}
Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1f Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1f Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1f Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1f Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1f Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1f Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x0
func (*PlayKeepAlive_338_1) DecodeFrom ¶
func (p *PlayKeepAlive_338_1) DecodeFrom(r *PacketReader) error
func (PlayKeepAlive_338_1) Encode ¶
func (p PlayKeepAlive_338_1) Encode(b *PacketBuilder)
type PlayKeepAlive_763_0 ¶
type PlayKeepAlive_763_0 struct {
KeepAliveID Long // Long
}
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x23 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x23 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1f Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x20 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x1e Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x21 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x21 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x21 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x21 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1f Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1f Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x21 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x20 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x21 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1f
func (*PlayKeepAlive_763_0) DecodeFrom ¶
func (p *PlayKeepAlive_763_0) DecodeFrom(r *PacketReader) error
func (PlayKeepAlive_763_0) Encode ¶
func (p PlayKeepAlive_763_0) Encode(b *PacketBuilder)
type PlayLinkEntities_763_0 ¶
type PlayLinkEntities_763_0 struct { /* Attached entity's EID. */ AttachedEntityID Int // Int /* ID of the entity holding the lead. Set to -1 to detach. */ HoldingEntityID Int // Int }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x53 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x53 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4f Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x51 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4e
func (*PlayLinkEntities_763_0) DecodeFrom ¶
func (p *PlayLinkEntities_763_0) DecodeFrom(r *PacketReader) error
func (PlayLinkEntities_763_0) Encode ¶
func (p PlayLinkEntities_763_0) Encode(b *PacketBuilder)
type PlayLockDifficulty_763_0 ¶
type PlayLockDifficulty_763_0 struct {
Locked Bool // Boolean
}
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x13 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x13 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x12 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x13 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x12 Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x10 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x10 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x10 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x10 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x11 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x11 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x10 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x10
func (*PlayLockDifficulty_763_0) DecodeFrom ¶
func (p *PlayLockDifficulty_763_0) DecodeFrom(r *PacketReader) error
func (PlayLockDifficulty_763_0) Encode ¶
func (p PlayLockDifficulty_763_0) Encode(b *PacketBuilder)
type PlayLogin_760_3 ¶
type PlayLogin_760_3 struct { /* The player's Entity ID (EID). */ EntityID Int // Int IsHardcore Bool // Boolean /* 0: Survival, 1: Creative, 2: Adventure, 3: Spectator. */ Gamemode UByte // Unsigned Byte /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. Defaults to -1 if there is no previous gamemode. (More information needed) */ PreviousGamemode Byte // Byte /* Size of the following array. */ DimensionCount VarInt // VarInt /* Identifiers for all dimensions on the server. */ DimensionNames []String // Array of Identifier /* Represents certain registries that are sent from the server and are applied on the client. */ RegistryCodec *nbt.NBTCompound // NBT Tag Compound /* Name of the dimension type being spawned into. */ DimensionType String // Identifier /* Name of the dimension being spawned into. */ DimensionName String // Identifier /* First 8 bytes of the SHA-256 hash of the world's seed. Used client side for biome noise */ HashedSeed Long // Long /* Was once used by the client to draw the player list, but now is ignored. */ MaxPlayers VarInt // VarInt /* Render distance (2-32). */ ViewDistance VarInt // VarInt /* The distance that the client will process specific things, such as entities. */ SimulationDistance VarInt // VarInt /* If true, a Notchian client shows reduced information on the debug screen. For servers in development, this should almost always be false. */ ReducedDebugInfo Bool // Boolean /* Set to false when the doImmediateRespawn gamerule is true. */ EnableRespawnScreen Bool // Boolean /* True if the world is a debug mode world; debug mode worlds cannot be modified and have predefined blocks. */ IsDebug Bool // Boolean /* True if the world is a superflat world; flat worlds have different void fog and a horizon at y=0 instead of y=63. */ IsFlat Bool // Boolean /* If true, then the next two fields are present. */ HasDeathLocation Bool // Boolean /* Name of the dimension the player died in. */ DeathDimensionName String // Identifier /* The location that the player died at. */ DeathLocation Position // Position }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x25 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x23
func (*PlayLogin_760_3) DecodeFrom ¶
func (p *PlayLogin_760_3) DecodeFrom(r *PacketReader) error
func (PlayLogin_760_3) Encode ¶
func (p PlayLogin_760_3) Encode(b *PacketBuilder)
type PlayLookAt_763_0 ¶
type PlayLookAt_763_0 struct { /* Values are feet=0, eyes=1. If set to eyes, aims using the head position; otherwise aims using the feet position. */ FeetOrEyes VarInt // VarInt Enum /* x coordinate of the point to face towards. */ TargetX Double // Double /* y coordinate of the point to face towards. */ TargetY Double // Double /* z coordinate of the point to face towards. */ TargetZ Double // Double /* If true, additional information about an entity is provided. */ IsEntity Bool // Boolean /* Only if is entity is true — the entity to face towards. */ EntityID Optional[VarInt] // Optional VarInt /* Whether to look at the entity's eyes or feet. Same values and meanings as before, just for the entity's head/feet. */ EntityFeetOrEyes Optional[VarInt] // Optional VarInt Enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3b Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3b Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x37 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x38 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x35
func (*PlayLookAt_763_0) DecodeFrom ¶
func (p *PlayLookAt_763_0) DecodeFrom(r *PacketReader) error
func (PlayLookAt_763_0) Encode ¶
func (p PlayLookAt_763_0) Encode(b *PacketBuilder)
type PlayMapData_756_5 ¶
type PlayMapData_756_5 struct { }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x27 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x27
type PlayMapData_758_4 ¶
type PlayMapData_758_4 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x27 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x27
type PlayMapData_763_0 ¶
type PlayMapData_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x29 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x29
type PlayMap_340_0 ¶
type PlayMap_340_0 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x24 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x24 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x24 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x24 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x24 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x24 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x24
type PlayMerchantOffers_763_0 ¶
type PlayMerchantOffers_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2a Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2a
type PlayMessageAcknowledgment_763_0 ¶
type PlayMessageAcknowledgment_763_0 struct {
MessageCount VarInt // VarInt
}
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x3 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x3 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x3
func (*PlayMessageAcknowledgment_763_0) DecodeFrom ¶
func (p *PlayMessageAcknowledgment_763_0) DecodeFrom(r *PacketReader) error
func (PlayMessageAcknowledgment_763_0) Encode ¶
func (p PlayMessageAcknowledgment_763_0) Encode(b *PacketBuilder)
type PlayMoveVehicleServer_763_0 ¶
type PlayMoveVehicleServer_763_0 struct { /* Absolute position (X coordinate). */ X Double // Double /* Absolute position (Y coordinate). */ Y Double // Double /* Absolute position (Z coordinate). */ Z Double // Double /* Absolute rotation on the vertical axis, in degrees. */ Yaw Float // Float /* Absolute rotation on the horizontal axis, in degrees. */ Pitch Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x18 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x18 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x17 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x18 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x17
func (*PlayMoveVehicleServer_763_0) DecodeFrom ¶
func (p *PlayMoveVehicleServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayMoveVehicleServer_763_0) Encode ¶
func (p PlayMoveVehicleServer_763_0) Encode(b *PacketBuilder)
type PlayMoveVehicle_763_0 ¶
type PlayMoveVehicle_763_0 struct { /* Absolute position (X coordinate). */ X Double // Double /* Absolute position (Y coordinate). */ Y Double // Double /* Absolute position (Z coordinate). */ Z Double // Double /* Absolute rotation on the vertical axis, in degrees. */ Yaw Float // Float /* Absolute rotation on the horizontal axis, in degrees. */ Pitch Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2e Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2e Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2a Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2b Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x29
func (*PlayMoveVehicle_763_0) DecodeFrom ¶
func (p *PlayMoveVehicle_763_0) DecodeFrom(r *PacketReader) error
func (PlayMoveVehicle_763_0) Encode ¶
func (p PlayMoveVehicle_763_0) Encode(b *PacketBuilder)
type PlayMultiBlockChange_340_3 ¶
type PlayMultiBlockChange_340_3 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x10 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x10 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x10 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x10 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x10 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x10 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x10
type PlayMultiBlockChange_498_2 ¶
type PlayMultiBlockChange_498_2 struct { }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0xf Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0xf
type PlayMultiBlockChange_758_0 ¶
type PlayMultiBlockChange_758_0 struct { /* Chunk section coordinate (encoded chunk x and z with each 22 bits, and section y with 20 bits, from left to right) */ ChunkSectionPosition Long // Long /* Number of elements in the following array */ BlocksArraySize VarInt // VarInt /* Each entry is composed of the block id, shifted right by 12, and the relative block position in the chunk section (4 bits for x, z, and y, from left to right). */ Blocks []VarLong // Array of VarLong }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3f Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3f Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3f Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x3f Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x3b Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3b
func (*PlayMultiBlockChange_758_0) DecodeFrom ¶
func (p *PlayMultiBlockChange_758_0) DecodeFrom(r *PacketReader) error
func (PlayMultiBlockChange_758_0) Encode ¶
func (p PlayMultiBlockChange_758_0) Encode(b *PacketBuilder)
type PlayNBTQueryResponse_758_0 ¶
type PlayNBTQueryResponse_758_0 struct { /* Can be compared to the one sent in the original query packet. */ TransactionID VarInt // VarInt /* The NBT of the block or entity. May be a TAG_END (0) in which case no NBT is present. */ NBT nbt.NBT // NBT Tag }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x60 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x60 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5f Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5f Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x54 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x54 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x55 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x54 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1d
func (*PlayNBTQueryResponse_758_0) DecodeFrom ¶
func (p *PlayNBTQueryResponse_758_0) DecodeFrom(r *PacketReader) error
func (PlayNBTQueryResponse_758_0) Encode ¶
func (p PlayNBTQueryResponse_758_0) Encode(b *PacketBuilder)
type PlayNameItem_758_0 ¶
type PlayNameItem_758_0 struct { /* The new name of the item */ ItemName String // String (32767) }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x20 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x20 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x20 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x20 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x20 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x20 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x1e Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x1e Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x1c
func (*PlayNameItem_758_0) DecodeFrom ¶
func (p *PlayNameItem_758_0) DecodeFrom(r *PacketReader) error
func (PlayNameItem_758_0) Encode ¶
func (p PlayNameItem_758_0) Encode(b *PacketBuilder)
type PlayNamedSoundEffect_758_0 ¶
type PlayNamedSoundEffect_758_0 struct { /* All sound effect names as of 1.12.2 can be seen here. */ SoundName String // String (256) /* The category that this sound will be played from (current categories) */ SoundCategory VarInt // VarInt Enum /* Effect X multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part) */ EffectPositionX Int // Int /* Effect Y multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part) */ EffectPositionY Int // Int /* Effect Z multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part) */ EffectPositionZ Int // Int /* 1 is 100%, can be more */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients */ Pitch Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x19 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x19 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x19 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x19 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x18 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x18 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1a Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x19 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1a Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x19 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x19 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x19 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x19 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x19 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x19
func (*PlayNamedSoundEffect_758_0) DecodeFrom ¶
func (p *PlayNamedSoundEffect_758_0) DecodeFrom(r *PacketReader) error
func (PlayNamedSoundEffect_758_0) Encode ¶
func (p PlayNamedSoundEffect_758_0) Encode(b *PacketBuilder)
type PlayOpenBook_763_0 ¶
type PlayOpenBook_763_0 struct { /* 0: Main hand, 1: Off hand */ Hand VarInt // VarInt enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2f Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2f Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2b Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2c Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2a Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x2d Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2d Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2d Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2d Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2c Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2c Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x2e Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2d
func (*PlayOpenBook_763_0) DecodeFrom ¶
func (p *PlayOpenBook_763_0) DecodeFrom(r *PacketReader) error
func (PlayOpenBook_763_0) Encode ¶
func (p PlayOpenBook_763_0) Encode(b *PacketBuilder)
type PlayOpenHorseScreen_763_0 ¶
type PlayOpenHorseScreen_763_0 struct { WindowID UByte // Unsigned Byte SlotCount VarInt // VarInt EntityID Int // Int }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x20 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x20 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1d Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1e Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x1c
func (*PlayOpenHorseScreen_763_0) DecodeFrom ¶
func (p *PlayOpenHorseScreen_763_0) DecodeFrom(r *PacketReader) error
func (PlayOpenHorseScreen_763_0) Encode ¶
func (p PlayOpenHorseScreen_763_0) Encode(b *PacketBuilder)
type PlayOpenHorseWindow_756_1 ¶
type PlayOpenHorseWindow_756_1 struct { WindowID Byte // Byte NumberOfSlots VarInt // VarInt EntityID Int // Integer }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1f Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1f Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1e Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1e Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x20 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1f
func (*PlayOpenHorseWindow_756_1) DecodeFrom ¶
func (p *PlayOpenHorseWindow_756_1) DecodeFrom(r *PacketReader) error
func (PlayOpenHorseWindow_756_1) Encode ¶
func (p PlayOpenHorseWindow_756_1) Encode(b *PacketBuilder)
type PlayOpenHorseWindow_758_0 ¶
type PlayOpenHorseWindow_758_0 struct { WindowID UByte // Unsigned Byte SlotCount VarInt // VarInt EntityID Int // Integer }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1f Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1f
func (*PlayOpenHorseWindow_758_0) DecodeFrom ¶
func (p *PlayOpenHorseWindow_758_0) DecodeFrom(r *PacketReader) error
func (PlayOpenHorseWindow_758_0) Encode ¶
func (p PlayOpenHorseWindow_758_0) Encode(b *PacketBuilder)
type PlayOpenScreen_763_0 ¶
type PlayOpenScreen_763_0 struct { /* A unique id number for the window to be displayed. Notchian server implementation is a counter, starting at 1. */ WindowID VarInt // VarInt /* The window type to use for display. Contained in the minecraft:menu registry; see Inventory for the different values. */ WindowType VarInt // VarInt /* The title of the window. */ WindowTitle Object // Chat }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x30 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x30 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2c Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2d Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2b
func (*PlayOpenScreen_763_0) DecodeFrom ¶
func (p *PlayOpenScreen_763_0) DecodeFrom(r *PacketReader) error
func (PlayOpenScreen_763_0) Encode ¶
func (p PlayOpenScreen_763_0) Encode(b *PacketBuilder)
type PlayOpenSignEditor_762_1 ¶
type PlayOpenSignEditor_762_1 struct {
Location Position // Position
}
Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x31 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2d Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2e Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2c Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x2f Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2f Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2f Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2f Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2e Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2e Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x30 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2f Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x2c Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2a Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2a Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2a Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2a Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2a Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2a Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2a Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x36
func (*PlayOpenSignEditor_762_1) DecodeFrom ¶
func (p *PlayOpenSignEditor_762_1) DecodeFrom(r *PacketReader) error
func (PlayOpenSignEditor_762_1) Encode ¶
func (p PlayOpenSignEditor_762_1) Encode(b *PacketBuilder)
type PlayOpenWindow_404_1 ¶
type PlayOpenWindow_404_1 struct { /* A unique id number for the window to be displayed. Notchian server implementation is a counter, starting at 1. */ WindowID UByte // Unsigned Byte /* The window type to use for display. See Inventory for a list. */ WindowType String // String (32) /* The title of the window */ WindowTitle Object // Chat /* Number of slots in the window (excluding the number of slots in the player inventory). Always 0 for non-storage windows (e.g. Workbench, Anvil). */ NumberOfSlots UByte // Unsigned Byte /* EntityHorse's EID. Only sent when Window Type is “EntityHorse” */ EntityID Optional[Int] // Optional Int }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x14 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x13 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x13 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x13 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x13 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x13 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x13 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x13 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x2d
func (*PlayOpenWindow_404_1) DecodeFrom ¶
func (p *PlayOpenWindow_404_1) DecodeFrom(r *PacketReader) error
func (PlayOpenWindow_404_1) Encode ¶
func (p PlayOpenWindow_404_1) Encode(b *PacketBuilder)
type PlayOpenWindow_758_0 ¶
type PlayOpenWindow_758_0 struct { /* A unique id number for the window to be displayed. Notchian server implementation is a counter, starting at 1. */ WindowID VarInt // VarInt /* The window type to use for display. Contained in the minecraft:menu regisry; see Inventory for the different values. */ WindowType VarInt // VarInt /* The title of the window */ WindowTitle Object // Chat }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x2e Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2e Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2e Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2e Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2d Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2d Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x2f Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2e
func (*PlayOpenWindow_758_0) DecodeFrom ¶
func (p *PlayOpenWindow_758_0) DecodeFrom(r *PacketReader) error
func (PlayOpenWindow_758_0) Encode ¶
func (p PlayOpenWindow_758_0) Encode(b *PacketBuilder)
type PlayPaddleBoat_763_0 ¶
type PlayPaddleBoat_763_0 struct { LeftPaddleTurning Bool // Boolean RightPaddleTurning Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x19 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x19 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x18 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x19 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x18
func (*PlayPaddleBoat_763_0) DecodeFrom ¶
func (p *PlayPaddleBoat_763_0) DecodeFrom(r *PacketReader) error
func (PlayPaddleBoat_763_0) Encode ¶
func (p PlayPaddleBoat_763_0) Encode(b *PacketBuilder)
type PlayParticle_340_3 ¶
type PlayParticle_340_3 struct { /* See below */ ParticleID Int // Int /* If true, particle distance increases from 256 to 65536 */ LongDistance Bool // Boolean /* X position of the particle */ X Float // Float /* Y position of the particle */ Y Float // Float /* Z position of the particle */ Z Float // Float /* This is added to the X position after being multiplied by random.nextGaussian() */ OffsetX Float // Float /* This is added to the Y position after being multiplied by random.nextGaussian() */ OffsetY Float // Float /* This is added to the Z position after being multiplied by random.nextGaussian() */ OffsetZ Float // Float /* The data of each particle */ ParticleData Float // Float /* The number of particles to create */ ParticleCount Int // Int /* Length depends on particle. "iconcrack" has length of 2, "blockcrack", "blockdust", and "fallingdust" have lengths of 1, the rest have 0. */ Data []VarInt // Array of VarInt }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x22 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x22 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x22 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x22 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x22 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x22 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x22 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x2a
func (*PlayParticle_340_3) DecodeFrom ¶
func (p *PlayParticle_340_3) DecodeFrom(r *PacketReader) error
func (PlayParticle_340_3) Encode ¶
func (p PlayParticle_340_3) Encode(b *PacketBuilder)
type PlayParticle_498_2 ¶
type PlayParticle_498_2 struct { /* The particle ID listed in the particle data type. */ ParticleID Int // Int /* If true, particle distance increases from 256 to 65536 */ LongDistance Bool // Boolean /* X position of the particle */ X Float // Float /* Y position of the particle */ Y Float // Float /* Z position of the particle */ Z Float // Float /* This is added to the X position after being multiplied by random.nextGaussian() */ OffsetX Float // Float /* This is added to the Y position after being multiplied by random.nextGaussian() */ OffsetY Float // Float /* This is added to the Z position after being multiplied by random.nextGaussian() */ OffsetZ Float // Float /* The data of each particle */ ParticleData Float // Float /* The number of particles to create */ ParticleCount Int // Int /* The variable data listed in the particle data type. */ Data any // Varies }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x23 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x24
func (*PlayParticle_498_2) DecodeFrom ¶
func (p *PlayParticle_498_2) DecodeFrom(r *PacketReader) error
func (PlayParticle_498_2) Encode ¶
func (p PlayParticle_498_2) Encode(b *PacketBuilder)
type PlayParticle_758_1 ¶
type PlayParticle_758_1 struct { /* The particle ID listed in the particle data type. */ ParticleID Int // Int /* If true, particle distance increases from 256 to 65536 */ LongDistance Bool // Boolean /* X position of the particle */ X Double // Double /* Y position of the particle */ Y Double // Double /* Z position of the particle */ Z Double // Double /* This is added to the X position after being multiplied by random.nextGaussian() */ OffsetX Float // Float /* This is added to the Y position after being multiplied by random.nextGaussian() */ OffsetY Float // Float /* This is added to the Z position after being multiplied by random.nextGaussian() */ OffsetZ Float // Float /* The data of each particle */ ParticleData Float // Float /* The number of particles to create */ ParticleCount Int // Int /* The variable data listed in the particle data type. */ Data any // Varies }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x24 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x24 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x24 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x24 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x22 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x22 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x24
func (*PlayParticle_758_1) DecodeFrom ¶
func (p *PlayParticle_758_1) DecodeFrom(r *PacketReader) error
func (PlayParticle_758_1) Encode ¶
func (p PlayParticle_758_1) Encode(b *PacketBuilder)
type PlayParticle_763_0 ¶
type PlayParticle_763_0 struct { /* The particle ID listed in the particle data type. */ ParticleID VarInt // VarInt /* If true, particle distance increases from 256 to 65536. */ LongDistance Bool // Boolean /* X position of the particle. */ X Double // Double /* Y position of the particle. */ Y Double // Double /* Z position of the particle. */ Z Double // Double /* This is added to the X position after being multiplied by random.nextGaussian(). */ OffsetX Float // Float /* This is added to the Y position after being multiplied by random.nextGaussian(). */ OffsetY Float // Float /* This is added to the Z position after being multiplied by random.nextGaussian(). */ OffsetZ Float // Float MaxSpeed Float // Float /* The number of particles to create. */ ParticleCount Int // Int /* The variable data listed in the particle data type. */ Data any // Varies }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x26 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x26 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x22 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x23 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x21
func (*PlayParticle_763_0) DecodeFrom ¶
func (p *PlayParticle_763_0) DecodeFrom(r *PacketReader) error
func (PlayParticle_763_0) Encode ¶
func (p PlayParticle_763_0) Encode(b *PacketBuilder)
type PlayPickItem_763_0 ¶
type PlayPickItem_763_0 struct { /* See Inventory */ SlotToUse VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1a Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1a Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x19 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1a Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x19 Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x17 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x17 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x17 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x17 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x18 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x18 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x17 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x17 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x15
func (*PlayPickItem_763_0) DecodeFrom ¶
func (p *PlayPickItem_763_0) DecodeFrom(r *PacketReader) error
func (PlayPickItem_763_0) Encode ¶
func (p PlayPickItem_763_0) Encode(b *PacketBuilder)
type PlayPickupItem_763_0 ¶
type PlayPickupItem_763_0 struct { CollectedEntityID VarInt // VarInt CollectorEntityID VarInt // VarInt /* Seems to be 1 for XP orbs, otherwise the number of items in the stack. */ PickupItemCount VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x67 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x67 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x63 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x65 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x62
func (*PlayPickupItem_763_0) DecodeFrom ¶
func (p *PlayPickupItem_763_0) DecodeFrom(r *PacketReader) error
func (PlayPickupItem_763_0) Encode ¶
func (p PlayPickupItem_763_0) Encode(b *PacketBuilder)
type PlayPing_763_0 ¶
type PlayPing_763_0 struct {
ID Int // Int
}
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x32 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x32 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2e Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2f Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2d Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x30 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x30 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x30 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x30
func (*PlayPing_763_0) DecodeFrom ¶
func (p *PlayPing_763_0) DecodeFrom(r *PacketReader) error
func (PlayPing_763_0) Encode ¶
func (p PlayPing_763_0) Encode(b *PacketBuilder)
type PlayPlaceGhostRecipe_763_0 ¶
type PlayPlaceGhostRecipe_763_0 struct { WindowID Byte // Byte /* A recipe ID. */ Recipe String // Identifier }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x33 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x33 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2f Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x30 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2e
func (*PlayPlaceGhostRecipe_763_0) DecodeFrom ¶
func (p *PlayPlaceGhostRecipe_763_0) DecodeFrom(r *PacketReader) error
func (PlayPlaceGhostRecipe_763_0) Encode ¶
func (p PlayPlaceGhostRecipe_763_0) Encode(b *PacketBuilder)
type PlayPlaceRecipe_763_0 ¶
type PlayPlaceRecipe_763_0 struct { WindowID Byte // Byte /* A recipe ID. */ Recipe String // Identifier /* Affects the amount of items processed; true if shift is down when clicked. */ MakeAll Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1b Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1b Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1a Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1b Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1a
func (*PlayPlaceRecipe_763_0) DecodeFrom ¶
func (p *PlayPlaceRecipe_763_0) DecodeFrom(r *PacketReader) error
func (PlayPlaceRecipe_763_0) Encode ¶
func (p PlayPlaceRecipe_763_0) Encode(b *PacketBuilder)
type PlayPluginMessageServer_763_0 ¶
type PlayPluginMessageServer_763_0 struct { /* Name of the plugin channel used to send the data */ Channel String // String (20) /* Any data, depending on the channel. MC| channels are documented here. The length of this array must be inferred from the packet length. */ Data ByteArray // Byte Array }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0xd Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0xd Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0xc Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0xd Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0xc Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0xa Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0xa Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0xa Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0xa Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0xb Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0xb Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0xb Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0xb Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0xa Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x9 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x9 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0xa Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x9 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x9 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x9 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x9 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x17
func (*PlayPluginMessageServer_763_0) DecodeFrom ¶
func (p *PlayPluginMessageServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayPluginMessageServer_763_0) Encode ¶
func (p PlayPluginMessageServer_763_0) Encode(b *PacketBuilder)
type PlayPluginMessage_763_0 ¶
type PlayPluginMessage_763_0 struct { /* Name of the plugin channel used to send the data */ Channel String // String (20) /* Any data, depending on the channel. MC| channels are documented here. The length of this array must be inferred from the packet length. */ Data ByteArray // Byte Array }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x17 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x17 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x15 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x16 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x15 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x18 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x18 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x18 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x18 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x17 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x17 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x19 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x18 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x19 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x18 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x18 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x18 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x18 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x18 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x18 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x18 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x3f
func (*PlayPluginMessage_763_0) DecodeFrom ¶
func (p *PlayPluginMessage_763_0) DecodeFrom(r *PacketReader) error
func (PlayPluginMessage_763_0) Encode ¶
func (p PlayPluginMessage_763_0) Encode(b *PacketBuilder)
type PlayPong_763_0 ¶
type PlayPong_763_0 struct {
ID Int // Int
}
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x20 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x20 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1f Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x20 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1f Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1d Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1d Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1d Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1d
func (*PlayPong_763_0) DecodeFrom ¶
func (p *PlayPong_763_0) DecodeFrom(r *PacketReader) error
func (PlayPong_763_0) Encode ¶
func (p PlayPong_763_0) Encode(b *PacketBuilder)
type PlayProgramCommandBlockMinecart_763_0 ¶
type PlayProgramCommandBlockMinecart_763_0 struct { EntityID VarInt // VarInt Command String // String (32767) /* If false, the output of the previous command will not be stored within the command block. */ TrackOutput Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x2a Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2a Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2a Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2a Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x29
func (*PlayProgramCommandBlockMinecart_763_0) DecodeFrom ¶
func (p *PlayProgramCommandBlockMinecart_763_0) DecodeFrom(r *PacketReader) error
func (PlayProgramCommandBlockMinecart_763_0) Encode ¶
func (p PlayProgramCommandBlockMinecart_763_0) Encode(b *PacketBuilder)
type PlayProgramCommandBlock_763_0 ¶
type PlayProgramCommandBlock_763_0 struct { Location Position // Position Command String // String (32767) /* One of SEQUENCE (0), AUTO (1), or REDSTONE (2). */ Mode VarInt // VarInt Enum /* 0x01: Track Output (if false, the output of the previous command will not be stored within the command block); 0x02: Is conditional; 0x04: Automatic. */ Flags Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x29 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x29 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x29 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x29 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x28
func (*PlayProgramCommandBlock_763_0) DecodeFrom ¶
func (p *PlayProgramCommandBlock_763_0) DecodeFrom(r *PacketReader) error
func (PlayProgramCommandBlock_763_0) Encode ¶
func (p PlayProgramCommandBlock_763_0) Encode(b *PacketBuilder)
type PlayProgramJigsawBlock_763_0 ¶
type PlayProgramJigsawBlock_763_0 struct { /* Block entity location */ Location Position // Position Name String // Identifier Target String // Identifier Pool String // Identifier /* "Turns into" on the GUI, final_state in NBT. */ FinalState String // String (32767) /* rollable if the attached piece can be rotated, else aligned. */ JointType String // String }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x2c Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2c Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2c Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2c Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2b
func (*PlayProgramJigsawBlock_763_0) DecodeFrom ¶
func (p *PlayProgramJigsawBlock_763_0) DecodeFrom(r *PacketReader) error
func (PlayProgramJigsawBlock_763_0) Encode ¶
func (p PlayProgramJigsawBlock_763_0) Encode(b *PacketBuilder)
type PlayProgramStructureBlock_763_0 ¶
type PlayProgramStructureBlock_763_0 struct { /* Block entity location. */ Location Position // Position /* An additional action to perform beyond simply saving the given data; see below. */ Action VarInt // VarInt Enum /* One of SAVE (0), LOAD (1), CORNER (2), DATA (3). */ Mode VarInt // VarInt Enum Name String // String (32767) /* Between -32 and 32. */ OffsetX Byte // Byte /* Between -32 and 32. */ OffsetY Byte // Byte /* Between -32 and 32. */ OffsetZ Byte // Byte /* Between 0 and 32. */ SizeX Byte // Byte /* Between 0 and 32. */ SizeY Byte // Byte /* Between 0 and 32. */ SizeZ Byte // Byte /* One of NONE (0), LEFT_RIGHT (1), FRONT_BACK (2). */ Mirror VarInt // VarInt Enum /* One of NONE (0), CLOCKWISE_90 (1), CLOCKWISE_180 (2), COUNTERCLOCKWISE_90 (3). */ Rotation VarInt // VarInt Enum Metadata String // String (128) /* Between 0 and 1. */ Integrity Float // Float Seed VarLong // VarLong /* 0x01: Ignore entities; 0x02: Show air; 0x04: Show bounding box. */ Flags Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x2d Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2d Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2d Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2d Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2c
func (*PlayProgramStructureBlock_763_0) DecodeFrom ¶
func (p *PlayProgramStructureBlock_763_0) DecodeFrom(r *PacketReader) error
func (PlayProgramStructureBlock_763_0) Encode ¶
func (p PlayProgramStructureBlock_763_0) Encode(b *PacketBuilder)
type PlayQueryBlockEntityTag_763_0 ¶
type PlayQueryBlockEntityTag_763_0 struct { /* An incremental ID so that the client can verify that the response matches. */ TransactionID VarInt // VarInt /* The location of the block to check. */ Location Position // Position }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1
func (*PlayQueryBlockEntityTag_763_0) DecodeFrom ¶
func (p *PlayQueryBlockEntityTag_763_0) DecodeFrom(r *PacketReader) error
func (PlayQueryBlockEntityTag_763_0) Encode ¶
func (p PlayQueryBlockEntityTag_763_0) Encode(b *PacketBuilder)
type PlayQueryBlockNBT_758_0 ¶
type PlayQueryBlockNBT_758_0 struct { /* An incremental ID so that the client can verify that the response matches. */ TransactionID VarInt // VarInt /* The location of the block to check. */ Location Position // Position }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x1 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x1 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x1
func (*PlayQueryBlockNBT_758_0) DecodeFrom ¶
func (p *PlayQueryBlockNBT_758_0) DecodeFrom(r *PacketReader) error
func (PlayQueryBlockNBT_758_0) Encode ¶
func (p PlayQueryBlockNBT_758_0) Encode(b *PacketBuilder)
type PlayQueryEntityNBT_758_0 ¶
type PlayQueryEntityNBT_758_0 struct { /* An incremental ID so that the client can verify that the response matches. */ TransactionID VarInt // VarInt /* The ID of the entity to query. */ EntityID VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0xc Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0xc Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0xc Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0xc Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0xd Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0xd Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0xd Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0xc
func (*PlayQueryEntityNBT_758_0) DecodeFrom ¶
func (p *PlayQueryEntityNBT_758_0) DecodeFrom(r *PacketReader) error
func (PlayQueryEntityNBT_758_0) Encode ¶
func (p PlayQueryEntityNBT_758_0) Encode(b *PacketBuilder)
type PlayQueryEntityTag_763_0 ¶
type PlayQueryEntityTag_763_0 struct { /* An incremental ID so that the client can verify that the response matches. */ TransactionID VarInt // VarInt /* The ID of the entity to query. */ EntityID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0xf Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0xf Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0xe Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0xf Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0xe
func (*PlayQueryEntityTag_763_0) DecodeFrom ¶
func (p *PlayQueryEntityTag_763_0) DecodeFrom(r *PacketReader) error
func (PlayQueryEntityTag_763_0) Encode ¶
func (p PlayQueryEntityTag_763_0) Encode(b *PacketBuilder)
type PlayRemoveEntities_763_0 ¶
type PlayRemoveEntities_763_0 struct { /* Number of elements in the following array. */ Count VarInt // VarInt /* The list of entities to destroy. */ EntityIDs []VarInt // Array of VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3e Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3e Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x3a Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3b Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x38
func (*PlayRemoveEntities_763_0) DecodeFrom ¶
func (p *PlayRemoveEntities_763_0) DecodeFrom(r *PacketReader) error
func (PlayRemoveEntities_763_0) Encode ¶
func (p PlayRemoveEntities_763_0) Encode(b *PacketBuilder)
type PlayRemoveEntityEffect_757_1 ¶
type PlayRemoveEntityEffect_757_1 struct { EntityID VarInt // VarInt /* See this table */ EffectID Byte // Byte }
Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3b Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3b Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x3b Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x37 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x37 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x39 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x38 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x36 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x33 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x33 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x32 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x31 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x31 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x31 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x31 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x1e
func (*PlayRemoveEntityEffect_757_1) DecodeFrom ¶
func (p *PlayRemoveEntityEffect_757_1) DecodeFrom(r *PacketReader) error
func (PlayRemoveEntityEffect_757_1) Encode ¶
func (p PlayRemoveEntityEffect_757_1) Encode(b *PacketBuilder)
type PlayRemoveEntityEffect_763_0 ¶
type PlayRemoveEntityEffect_763_0 struct { EntityID VarInt // VarInt /* See this table. */ EffectID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3f Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3f Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x3b Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3c Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x39 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3b
func (*PlayRemoveEntityEffect_763_0) DecodeFrom ¶
func (p *PlayRemoveEntityEffect_763_0) DecodeFrom(r *PacketReader) error
func (PlayRemoveEntityEffect_763_0) Encode ¶
func (p PlayRemoveEntityEffect_763_0) Encode(b *PacketBuilder)
type PlayRenameItem_763_0 ¶
type PlayRenameItem_763_0 struct { /* The new name of the item. */ ItemName String // String (32767) }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x23 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x23 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x23 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x23 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x22
func (*PlayRenameItem_763_0) DecodeFrom ¶
func (p *PlayRenameItem_763_0) DecodeFrom(r *PacketReader) error
func (PlayRenameItem_763_0) Encode ¶
func (p PlayRenameItem_763_0) Encode(b *PacketBuilder)
type PlayResourcePackSend_754_1 ¶
type PlayResourcePackSend_754_1 struct { /* The URL to the resource pack. */ URL String // String (32767) /* A 40 character hexadecimal and lowercase SHA-1 hash of the resource pack file. (must be lower case in order to work)If it's not a 40 character hexadecimal string, the client will not use it for hash verification and likely waste bandwidth — but it will still treat it as a unique id */ Hash String // String (40) }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x38 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x38 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x3a Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x39 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x37 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x34 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x34 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x33 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x32 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x32 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x32 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x32 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x48
func (*PlayResourcePackSend_754_1) DecodeFrom ¶
func (p *PlayResourcePackSend_754_1) DecodeFrom(r *PacketReader) error
func (PlayResourcePackSend_754_1) Encode ¶
func (p PlayResourcePackSend_754_1) Encode(b *PacketBuilder)
type PlayResourcePackSend_758_0 ¶
type PlayResourcePackSend_758_0 struct { /* The URL to the resource pack. */ URL String // String (32767) /* A 40 character hexadecimal and lowercase SHA-1 hash of the resource pack file. (must be lower case in order to work)If it's not a 40 character hexadecimal string, the client will not use it for hash verification and likely waste bandwidth — but it will still treat it as a unique id */ Hash String // String (40) /* The notchian client will be forced to use the resource pack from the server. If they decline they will be kicked from the server. */ Forced Bool // Boolean /* true If the next field will be sent false otherwise. When false, this is the end of the packet */ HasPromptMessage Bool // Boolean /* This is shown in the prompt making the client accept or decline the resource pack. */ PromptMessage Optional[Object] // Optional Chat }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3c Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3c Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3c Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x3c
func (*PlayResourcePackSend_758_0) DecodeFrom ¶
func (p *PlayResourcePackSend_758_0) DecodeFrom(r *PacketReader) error
func (PlayResourcePackSend_758_0) Encode ¶
func (p PlayResourcePackSend_758_0) Encode(b *PacketBuilder)
type PlayResourcePackServer_763_0 ¶
type PlayResourcePackServer_763_0 struct { /* 0: successfully loaded, 1: declined, 2: failed download, 3: accepted. */ Result VarInt // VarInt Enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x24 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x24 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x24 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x24 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x23
func (*PlayResourcePackServer_763_0) DecodeFrom ¶
func (p *PlayResourcePackServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayResourcePackServer_763_0) Encode ¶
func (p PlayResourcePackServer_763_0) Encode(b *PacketBuilder)
type PlayResourcePackStatus_110_1 ¶
type PlayResourcePackStatus_110_1 struct { /* The hash sent in the Resource Pack Send packet. */ Hash String // String /* 0: successfully loaded, 1: declined, 2: failed download, 3: accepted */ Result VarInt // VarInt Enum }
Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x16 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x19
func (*PlayResourcePackStatus_110_1) DecodeFrom ¶
func (p *PlayResourcePackStatus_110_1) DecodeFrom(r *PacketReader) error
func (PlayResourcePackStatus_110_1) Encode ¶
func (p PlayResourcePackStatus_110_1) Encode(b *PacketBuilder)
type PlayResourcePackStatus_758_0 ¶
type PlayResourcePackStatus_758_0 struct { /* 0: successfully loaded, 1: declined, 2: failed download, 3: accepted */ Result VarInt // VarInt Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x21 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x21 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x21 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x21 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x21 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x21 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x1f Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x1f Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x1d Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x18 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x18 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x18 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x16 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x16 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x16
func (*PlayResourcePackStatus_758_0) DecodeFrom ¶
func (p *PlayResourcePackStatus_758_0) DecodeFrom(r *PacketReader) error
func (PlayResourcePackStatus_758_0) Encode ¶
func (p PlayResourcePackStatus_758_0) Encode(b *PacketBuilder)
type PlayResourcePack_763_0 ¶
type PlayResourcePack_763_0 struct { /* The URL to the resource pack. */ URL String // String (32767) /* A 40 character hexadecimal and lowercase SHA-1 hash of the resource pack file.If it's not a 40 character hexadecimal string, the client will not use it for hash verification and likely waste bandwidth — but it will still treat it as a unique id */ Hash String // String (40) /* The notchian client will be forced to use the resource pack from the server. If they decline they will be kicked from the server. */ Forced Bool // Boolean /* true If the next field will be sent false otherwise. When false, this is the end of the packet */ HasPromptMessage Bool // Boolean /* This is shown in the prompt making the client accept or decline the resource pack. */ PromptMessage Optional[Object] // Optional Chat }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x40 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x40 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x3c Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3d Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3a
func (*PlayResourcePack_763_0) DecodeFrom ¶
func (p *PlayResourcePack_763_0) DecodeFrom(r *PacketReader) error
func (PlayResourcePack_763_0) Encode ¶
func (p PlayResourcePack_763_0) Encode(b *PacketBuilder)
type PlayRespawn_404_8 ¶
type PlayRespawn_404_8 struct { /* -1: The Nether, 0: The Overworld, 1: The End */ Dimension Int // Int Enum /* 0: Peaceful, 1: Easy, 2: Normal, 3: Hard */ Difficulty UByte // Unsigned Byte /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included */ Gamemode UByte // Unsigned Byte /* Same as Join Game */ LevelType String // String (16) }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x38 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x35 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x35 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x34 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x33 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x33 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x33 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x33 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x7
func (*PlayRespawn_404_8) DecodeFrom ¶
func (p *PlayRespawn_404_8) DecodeFrom(r *PacketReader) error
func (PlayRespawn_404_8) Encode ¶
func (p PlayRespawn_404_8) Encode(b *PacketBuilder)
type PlayRespawn_756_5 ¶
type PlayRespawn_756_5 struct { /* Valid dimensions are defined per dimension registry sent in Join Game */ Dimension *nbt.NBTCompound // NBT Tag Compound /* Name of the world being spawned into */ WorldName String // Identifier /* First 8 bytes of the SHA-256 hash of the world's seed. */ HashedSeed Long // Long /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included */ Gamemode UByte // Unsigned Byte /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. (More information needed) */ PreviousGamemode UByte // Unsigned Byte /* True if the world is a debug mode world; debug mode worlds cannot be modified and have predefined blocks */ IsDebug Bool // Boolean /* True if the world is a superflat world; flat worlds have different void fog and a horizon at y=0 instead of y=63 */ IsFlat Bool // Boolean /* If false, metadata is reset on the respawned player entity. Set to true for dimension changes (including the dimension change triggered by sending client status perform respawn to exit the end poem/credits), and false for normal respawns. */ CopyMetadata Bool // Boolean }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3d Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x3d Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x39 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x39
func (*PlayRespawn_756_5) DecodeFrom ¶
func (p *PlayRespawn_756_5) DecodeFrom(r *PacketReader) error
func (PlayRespawn_756_5) Encode ¶
func (p PlayRespawn_756_5) Encode(b *PacketBuilder)
type PlayRespawn_758_4 ¶
type PlayRespawn_758_4 struct { /* Valid dimensions are defined per dimension registry sent in Join Game */ Dimension *nbt.NBTCompound // NBT Tag Compound /* Name of the dimension being spawned into. */ DimensionName String // Identifier /* First 8 bytes of the SHA-256 hash of the world's seed. Used client side for biome noise */ HashedSeed Long // Long /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included */ Gamemode UByte // Unsigned Byte /* -1: null 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. (More information needed) */ PreviousGamemode UByte // Unsigned Byte /* True if the world is a debug mode world; debug mode worlds cannot be modified and have predefined blocks. */ IsDebug Bool // Boolean /* True if the world is a superflat world; flat worlds have different void fog and a horizon at y=0 instead of y=63. */ IsFlat Bool // Boolean /* If false, metadata is reset on the respawned player entity. Set to true for dimension changes (including the dimension change triggered by sending client status perform respawn to exit the end poem/credits), and false for normal respawns. */ CopyMetadata Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3d Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3d
func (*PlayRespawn_758_4) DecodeFrom ¶
func (p *PlayRespawn_758_4) DecodeFrom(r *PacketReader) error
func (PlayRespawn_758_4) Encode ¶
func (p PlayRespawn_758_4) Encode(b *PacketBuilder)
type PlayRespawn_760_3 ¶
type PlayRespawn_760_3 struct { /* Valid dimensions are defined per dimension registry sent in Login (play) */ DimensionType String // Identifier /* Name of the dimension being spawned into. */ DimensionName String // Identifier /* First 8 bytes of the SHA-256 hash of the world's seed. Used client side for biome noise */ HashedSeed Long // Long /* 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included */ Gamemode UByte // Unsigned Byte /* -1: null 0: survival, 1: creative, 2: adventure, 3: spectator. The hardcore flag is not included. The previous gamemode. (More information needed) */ PreviousGamemode Byte // Byte /* True if the world is a debug mode world; debug mode worlds cannot be modified and have predefined blocks. */ IsDebug Bool // Boolean /* True if the world is a superflat world; flat worlds have different void fog and a horizon at y=0 instead of y=63. */ IsFlat Bool // Boolean /* If false, metadata is reset on the respawned player entity. Set to true for dimension changes (including the dimension change triggered by sending client status perform respawn to exit the end poem/credits), and false for normal respawns. */ CopyMetadata Bool // Boolean /* If true, then the next two fields are present. */ HasDeathLocation Bool // Boolean /* Name of the dimension the player died in. */ DeathDimensionName String // Identifier /* The location that the player died at. */ DeathLocation Position // Position }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3e Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3b
func (*PlayRespawn_760_3) DecodeFrom ¶
func (p *PlayRespawn_760_3) DecodeFrom(r *PacketReader) error
func (PlayRespawn_760_3) Encode ¶
func (p PlayRespawn_760_3) Encode(b *PacketBuilder)
type PlayScoreboardObjective_340_1 ¶
type PlayScoreboardObjective_340_1 struct { /* An unique name for the objective */ ObjectiveName String // String (16) /* 0 to create the scoreboard. 1 to remove the scoreboard. 2 to update the display text. */ Mode Byte // Byte /* Only if mode is 0 or 2. The text to be displayed for the score */ ObjectiveValue Optional[String] // Optional String (32) /* Only if mode is 0 or 2. “integer” or “hearts” */ Type Optional[String] // Optional String (16) }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x42 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x42 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x41 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3f Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3f Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3f Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3f Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x3b
func (*PlayScoreboardObjective_340_1) DecodeFrom ¶
func (p *PlayScoreboardObjective_340_1) DecodeFrom(r *PacketReader) error
func (PlayScoreboardObjective_340_1) Encode ¶
func (p PlayScoreboardObjective_340_1) Encode(b *PacketBuilder)
type PlayScoreboardObjective_758_0 ¶
type PlayScoreboardObjective_758_0 struct { /* An unique name for the objective */ ObjectiveName String // String (16) /* 0 to create the scoreboard. 1 to remove the scoreboard. 2 to update the display text. */ Mode Byte // Byte /* Only if mode is 0 or 2. The text to be displayed for the score */ ObjectiveValue Optional[Object] // Optional Chat /* Only if mode is 0 or 2. 0 = "integer", 1 = "hearts". */ Type Optional[VarInt] // Optional VarInt enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x53 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x53 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x53 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x53 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x4a Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4a Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4a Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x49 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x45
func (*PlayScoreboardObjective_758_0) DecodeFrom ¶
func (p *PlayScoreboardObjective_758_0) DecodeFrom(r *PacketReader) error
func (PlayScoreboardObjective_758_0) Encode ¶
func (p PlayScoreboardObjective_758_0) Encode(b *PacketBuilder)
type PlaySculkVibrationSignal_758_0 ¶
type PlaySculkVibrationSignal_758_0 struct { /* Source position for the vibration. */ SourcePosition Position // Position /* Identifier of the destination codec type. */ DestinationIdentifier String // Identifier /* Vanilla default destinations are a block position encoded as a Position for "block" or an entity id encoded as a VarInt for "entity". */ Destination any // Varies /* Ticks for the signal to arrive at the destination. */ ArrivalTicks VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5
func (*PlaySculkVibrationSignal_758_0) DecodeFrom ¶
func (p *PlaySculkVibrationSignal_758_0) DecodeFrom(r *PacketReader) error
func (PlaySculkVibrationSignal_758_0) Encode ¶
func (p PlaySculkVibrationSignal_758_0) Encode(b *PacketBuilder)
type PlaySeenAdvancements_763_0 ¶
type PlaySeenAdvancements_763_0 struct { /* 0: Opened tab, 1: Closed screen. */ Action VarInt // VarInt Enum /* Only present if action is Opened tab. */ TabID Optional[String] // Optional identifier }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x25 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x25 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x25 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x25 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x24
func (*PlaySeenAdvancements_763_0) DecodeFrom ¶
func (p *PlaySeenAdvancements_763_0) DecodeFrom(r *PacketReader) error
func (PlaySeenAdvancements_763_0) Encode ¶
func (p PlaySeenAdvancements_763_0) Encode(b *PacketBuilder)
type PlaySelectAdvancementTab_758_0 ¶
type PlaySelectAdvancementTab_758_0 struct { /* Indicates if the next field is present */ HasId Bool // Boolean /* See below */ OptionalIdentifier String // String (32767) }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x40 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x40 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x40 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x40 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x3c Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3c Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x3d Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x3c Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x3a Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x37 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x37 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x36
func (*PlaySelectAdvancementTab_758_0) DecodeFrom ¶
func (p *PlaySelectAdvancementTab_758_0) DecodeFrom(r *PacketReader) error
func (PlaySelectAdvancementTab_758_0) Encode ¶
func (p PlaySelectAdvancementTab_758_0) Encode(b *PacketBuilder)
type PlaySelectAdvancementsTab_763_0 ¶
type PlaySelectAdvancementsTab_763_0 struct { /* Indicates if the next field is present. */ HasId Bool // Boolean /* See below. */ OptionalIdentifier String // Identifier }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x44 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x44 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x40 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x41 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3e
func (*PlaySelectAdvancementsTab_763_0) DecodeFrom ¶
func (p *PlaySelectAdvancementsTab_763_0) DecodeFrom(r *PacketReader) error
func (PlaySelectAdvancementsTab_763_0) Encode ¶
func (p PlaySelectAdvancementsTab_763_0) Encode(b *PacketBuilder)
type PlaySelectTrade_763_0 ¶
type PlaySelectTrade_763_0 struct { /* The selected slot int the players current (trading) inventory. (Was a full Integer for the plugin message) */ SelectedSlot VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x26 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x26 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x26 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x26 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x25 Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x23 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x23 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x23 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x23 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x23 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x23 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x21 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x21 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x1f
func (*PlaySelectTrade_763_0) DecodeFrom ¶
func (p *PlaySelectTrade_763_0) DecodeFrom(r *PacketReader) error
func (PlaySelectTrade_763_0) Encode ¶
func (p PlaySelectTrade_763_0) Encode(b *PacketBuilder)
type PlayServerData_760_2 ¶
type PlayServerData_760_2 struct { HasMOTD Bool // Boolean MOTD Optional[Object] // Optional Chat HasIcon Bool // Boolean /* Icon PNG base64 String */ Icon Optional[String] // Optional String (32767) PreviewsChat Bool // Boolean EnforcesSecureChat Bool // Boolean }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x42 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3f
func (*PlayServerData_760_2) DecodeFrom ¶
func (p *PlayServerData_760_2) DecodeFrom(r *PacketReader) error
func (PlayServerData_760_2) Encode ¶
func (p PlayServerData_760_2) Encode(b *PacketBuilder)
type PlayServerData_763_0 ¶
type PlayServerData_763_0 struct { MOTD Object // Chat HasIcon Bool // Boolean /* Icon PNG base64 String */ Icon Optional[String] // Optional String (32767) EnforcesSecureChat Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x45 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x45
func (*PlayServerData_763_0) DecodeFrom ¶
func (p *PlayServerData_763_0) DecodeFrom(r *PacketReader) error
func (PlayServerData_763_0) Encode ¶
func (p PlayServerData_763_0) Encode(b *PacketBuilder)
type PlayServerDifficulty_404_1 ¶
type PlayServerDifficulty_404_1 struct { /* 0: peaceful, 1: easy, 2: normal, 3: hard */ Difficulty UByte // Unsigned Byte }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0xd Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0xd Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0xd Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0xd Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0xd Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0xd Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0xd Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0xd Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x41
func (*PlayServerDifficulty_404_1) DecodeFrom ¶
func (p *PlayServerDifficulty_404_1) DecodeFrom(r *PacketReader) error
func (PlayServerDifficulty_404_1) Encode ¶
func (p PlayServerDifficulty_404_1) Encode(b *PacketBuilder)
type PlayServerDifficulty_758_0 ¶
type PlayServerDifficulty_758_0 struct { /* 0: peaceful, 1: easy, 2: normal, 3: hard */ Difficulty UByte // Unsigned Byte DifficultyLocked Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0xe Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0xe Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0xe Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0xe Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0xd Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0xd Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0xe Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0xd
func (*PlayServerDifficulty_758_0) DecodeFrom ¶
func (p *PlayServerDifficulty_758_0) DecodeFrom(r *PacketReader) error
func (PlayServerDifficulty_758_0) Encode ¶
func (p PlayServerDifficulty_758_0) Encode(b *PacketBuilder)
type PlaySetActionBarText_763_0 ¶
type PlaySetActionBarText_763_0 struct { /* Displays a message above the hotbar (the same as position 2 in Player Chat Message. */ ActionBarText Object // Chat }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x46 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x46 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x42 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x43 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x40
func (*PlaySetActionBarText_763_0) DecodeFrom ¶
func (p *PlaySetActionBarText_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetActionBarText_763_0) Encode ¶
func (p PlaySetActionBarText_763_0) Encode(b *PacketBuilder)
type PlaySetBeaconEffect_758_2 ¶
type PlaySetBeaconEffect_758_2 struct { /* A Potion ID. (Was a full Integer for the plugin message) */ PrimaryEffect VarInt // VarInt /* A Potion ID. (Was a full Integer for the plugin message) */ SecondaryEffect VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x24 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x24 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x24 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x24 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x24 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x24 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x22 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x22 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x20
func (*PlaySetBeaconEffect_758_2) DecodeFrom ¶
func (p *PlaySetBeaconEffect_758_2) DecodeFrom(r *PacketReader) error
func (PlaySetBeaconEffect_758_2) Encode ¶
func (p PlaySetBeaconEffect_758_2) Encode(b *PacketBuilder)
type PlaySetBeaconEffect_763_0 ¶
type PlaySetBeaconEffect_763_0 struct { HasPrimaryEffect Bool // Boolean /* A Potion ID. (Was a full Integer for the plugin message). */ PrimaryEffect VarInt // VarInt HasSecondaryEffect Bool // Boolean /* A Potion ID. (Was a full Integer for the plugin message). */ SecondaryEffect VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x27 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x27 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x27 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x27
func (*PlaySetBeaconEffect_763_0) DecodeFrom ¶
func (p *PlaySetBeaconEffect_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBeaconEffect_763_0) Encode ¶
func (p PlaySetBeaconEffect_763_0) Encode(b *PacketBuilder)
type PlaySetBlockDestroyStage_763_0 ¶
type PlaySetBlockDestroyStage_763_0 struct { /* The ID of the entity breaking the block. */ EntityID VarInt // VarInt /* Block Position. */ Location Position // Position /* 0–9 to set it, any other value to remove it. */ DestroyStage Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x7 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x7 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x6 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x6 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x6
func (*PlaySetBlockDestroyStage_763_0) DecodeFrom ¶
func (p *PlaySetBlockDestroyStage_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBlockDestroyStage_763_0) Encode ¶
func (p PlaySetBlockDestroyStage_763_0) Encode(b *PacketBuilder)
type PlaySetBorderCenter_763_0 ¶
type PlaySetBorderCenter_763_0 struct { X Double // Double Z Double // Double }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x47 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x47 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x43 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x44 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x41
func (*PlaySetBorderCenter_763_0) DecodeFrom ¶
func (p *PlaySetBorderCenter_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBorderCenter_763_0) Encode ¶
func (p PlaySetBorderCenter_763_0) Encode(b *PacketBuilder)
type PlaySetBorderLerpSize_763_0 ¶
type PlaySetBorderLerpSize_763_0 struct { /* Current length of a single side of the world border, in meters. */ OldDiameter Double // Double /* Target length of a single side of the world border, in meters. */ NewDiameter Double // Double /* Number of real-time milliseconds until New Diameter is reached. It appears that Notchian server does not sync world border speed to game ticks, so it gets out of sync with server lag. If the world border is not moving, this is set to 0. */ Speed VarLong // VarLong }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x48 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x48 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x44 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x45 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x42
func (*PlaySetBorderLerpSize_763_0) DecodeFrom ¶
func (p *PlaySetBorderLerpSize_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBorderLerpSize_763_0) Encode ¶
func (p PlaySetBorderLerpSize_763_0) Encode(b *PacketBuilder)
type PlaySetBorderSize_763_0 ¶
type PlaySetBorderSize_763_0 struct { /* Length of a single side of the world border, in meters. */ Diameter Double // Double }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x49 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x49 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x45 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x46 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x43
func (*PlaySetBorderSize_763_0) DecodeFrom ¶
func (p *PlaySetBorderSize_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBorderSize_763_0) Encode ¶
func (p PlaySetBorderSize_763_0) Encode(b *PacketBuilder)
type PlaySetBorderWarningDelay_763_0 ¶
type PlaySetBorderWarningDelay_763_0 struct { /* In seconds as set by /worldborder warning time. */ WarningTime VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4a Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4a Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x46 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x47 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x44
func (*PlaySetBorderWarningDelay_763_0) DecodeFrom ¶
func (p *PlaySetBorderWarningDelay_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBorderWarningDelay_763_0) Encode ¶
func (p PlaySetBorderWarningDelay_763_0) Encode(b *PacketBuilder)
type PlaySetBorderWarningDistance_763_0 ¶
type PlaySetBorderWarningDistance_763_0 struct { /* In meters. */ WarningBlocks VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4b Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4b Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x47 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x48 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x45
func (*PlaySetBorderWarningDistance_763_0) DecodeFrom ¶
func (p *PlaySetBorderWarningDistance_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetBorderWarningDistance_763_0) Encode ¶
func (p PlaySetBorderWarningDistance_763_0) Encode(b *PacketBuilder)
type PlaySetCamera_763_0 ¶
type PlaySetCamera_763_0 struct { /* ID of the entity to set the client's camera to. */ CameraID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4c Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4c Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x48 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x49 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x46
func (*PlaySetCamera_763_0) DecodeFrom ¶
func (p *PlaySetCamera_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetCamera_763_0) Encode ¶
func (p PlaySetCamera_763_0) Encode(b *PacketBuilder)
type PlaySetCenterChunk_763_0 ¶
type PlaySetCenterChunk_763_0 struct { /* Chunk X coordinate of the player's position. */ ChunkX VarInt // VarInt /* Chunk Z coordinate of the player's position. */ ChunkZ VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4e Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4e Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4a Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4b Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x48
func (*PlaySetCenterChunk_763_0) DecodeFrom ¶
func (p *PlaySetCenterChunk_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetCenterChunk_763_0) Encode ¶
func (p PlaySetCenterChunk_763_0) Encode(b *PacketBuilder)
type PlaySetContainerContent_763_0 ¶
type PlaySetContainerContent_763_0 struct { /* The ID of window which items are being sent for. 0 for player inventory. */ WindowID UByte // Unsigned Byte /* The last received State ID from either a Set Container Slot or a Set Container Content packet */ StateID VarInt // VarInt /* Number of elements in the following array. */ Count VarInt // VarInt SlotData []*data.Slot // Array of Slot /* Item held by player. */ CarriedItem *data.Slot // Slot }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x12 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x12 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x10 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x11 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x11
func (*PlaySetContainerContent_763_0) DecodeFrom ¶
func (p *PlaySetContainerContent_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetContainerContent_763_0) Encode ¶
func (p PlaySetContainerContent_763_0) Encode(b *PacketBuilder)
type PlaySetContainerProperty_763_0 ¶
type PlaySetContainerProperty_763_0 struct { WindowID UByte // Unsigned Byte /* The property to be updated, see below. */ Property Short // Short /* The new value for the property, see below. */ Value Short // Short }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x13 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x13 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x11 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x12 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x12
func (*PlaySetContainerProperty_763_0) DecodeFrom ¶
func (p *PlaySetContainerProperty_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetContainerProperty_763_0) Encode ¶
func (p PlaySetContainerProperty_763_0) Encode(b *PacketBuilder)
type PlaySetContainerSlot_763_0 ¶
type PlaySetContainerSlot_763_0 struct { /* The window which is being updated. 0 for player inventory. Note that all known window types include the player inventory. This packet will only be sent for the currently opened window while the player is performing actions, even if it affects the player inventory. After the window is closed, a number of these packets are sent to update the player's inventory window (0). */ WindowID Byte // Byte /* The last received State ID from either a Set Container Slot or a Set Container Content packet */ StateID VarInt // VarInt /* The slot that should be updated. */ Slot Short // Short SlotData *data.Slot // Slot }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x14 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x14 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x12 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x13 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x13
func (*PlaySetContainerSlot_763_0) DecodeFrom ¶
func (p *PlaySetContainerSlot_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetContainerSlot_763_0) Encode ¶
func (p PlaySetContainerSlot_763_0) Encode(b *PacketBuilder)
type PlaySetCooldown_763_0 ¶
type PlaySetCooldown_763_0 struct { /* Numeric ID of the item to apply a cooldown to. */ ItemID VarInt // VarInt /* Number of ticks to apply a cooldown for, or 0 to clear the cooldown. */ CooldownTicks VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x15 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x15 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x13 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x14 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x14 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x17 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x17 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x17 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x17 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x16 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x16 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x18 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x17 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x18 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x17 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x17 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x17 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x17 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x17 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x17 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x17
func (*PlaySetCooldown_763_0) DecodeFrom ¶
func (p *PlaySetCooldown_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetCooldown_763_0) Encode ¶
func (p PlaySetCooldown_763_0) Encode(b *PacketBuilder)
type PlaySetCreativeModeSlot_763_0 ¶
type PlaySetCreativeModeSlot_763_0 struct { /* Inventory slot. */ Slot Short // Short ClickedItem *data.Slot // Slot }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x2b Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2b Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2b Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2b Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2a
func (*PlaySetCreativeModeSlot_763_0) DecodeFrom ¶
func (p *PlaySetCreativeModeSlot_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetCreativeModeSlot_763_0) Encode ¶
func (p PlaySetCreativeModeSlot_763_0) Encode(b *PacketBuilder)
type PlaySetDefaultSpawnPosition_763_0 ¶
type PlaySetDefaultSpawnPosition_763_0 struct { /* Spawn location. */ Location Position // Position /* The angle at which to respawn at. */ Angle Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x50 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x50 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4c Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4d Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4a
func (*PlaySetDefaultSpawnPosition_763_0) DecodeFrom ¶
func (p *PlaySetDefaultSpawnPosition_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetDefaultSpawnPosition_763_0) Encode ¶
func (p PlaySetDefaultSpawnPosition_763_0) Encode(b *PacketBuilder)
type PlaySetDifficulty_758_0 ¶
type PlaySetDifficulty_758_0 struct { /* 0: peaceful, 1: easy, 2: normal, 3: hard */ NewDifficulty Byte // Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x2 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x2
func (*PlaySetDifficulty_758_0) DecodeFrom ¶
func (p *PlaySetDifficulty_758_0) DecodeFrom(r *PacketReader) error
func (PlaySetDifficulty_758_0) Encode ¶
func (p PlaySetDifficulty_758_0) Encode(b *PacketBuilder)
type PlaySetDisplayChatPreview_760_0 ¶
type PlaySetDisplayChatPreview_760_0 struct {
ChatPreviewSetting Bool // Boolean
}
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4e Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4b
func (*PlaySetDisplayChatPreview_760_0) DecodeFrom ¶
func (p *PlaySetDisplayChatPreview_760_0) DecodeFrom(r *PacketReader) error
func (PlaySetDisplayChatPreview_760_0) Encode ¶
func (p PlaySetDisplayChatPreview_760_0) Encode(b *PacketBuilder)
type PlaySetDisplayedRecipe_758_0 ¶
type PlaySetDisplayedRecipe_758_0 struct {
RecipeID String // Identifier
}
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1f Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1f Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1f Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1f Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1f Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1e
func (*PlaySetDisplayedRecipe_758_0) DecodeFrom ¶
func (p *PlaySetDisplayedRecipe_758_0) DecodeFrom(r *PacketReader) error
func (PlaySetDisplayedRecipe_758_0) Encode ¶
func (p PlaySetDisplayedRecipe_758_0) Encode(b *PacketBuilder)
type PlaySetEntityMetadata_763_0 ¶
type PlaySetEntityMetadata_763_0 struct { EntityID VarInt // VarInt Metadata *data.EntityMetadata // Entity Metadata }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x52 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x52 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4e Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x50 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4d
func (*PlaySetEntityMetadata_763_0) DecodeFrom ¶
func (p *PlaySetEntityMetadata_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetEntityMetadata_763_0) Encode ¶
func (p PlaySetEntityMetadata_763_0) Encode(b *PacketBuilder)
type PlaySetEntityVelocity_763_0 ¶
type PlaySetEntityVelocity_763_0 struct { EntityID VarInt // VarInt /* Velocity on the X axis. */ VelocityX Short // Short /* Velocity on the Y axis. */ VelocityY Short // Short /* Velocity on the Z axis. */ VelocityZ Short // Short }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x54 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x54 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x50 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x52 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x4f
func (*PlaySetEntityVelocity_763_0) DecodeFrom ¶
func (p *PlaySetEntityVelocity_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetEntityVelocity_763_0) Encode ¶
func (p PlaySetEntityVelocity_763_0) Encode(b *PacketBuilder)
type PlaySetEquipment_763_0 ¶
type PlaySetEquipment_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x55 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x55
type PlaySetExperience_760_1 ¶
type PlaySetExperience_760_1 struct { /* Between 0 and 1 */ ExperienceBar Float // Float Level VarInt // VarInt /* See Experience#Leveling up on the Minecraft Wiki for Total Experience to Level conversion */ TotalExperience VarInt // VarInt }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x54 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x51 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x51 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x51 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x51 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x51 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x48 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x48 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x48 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x47 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x43 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x40 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x40 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3f Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3d Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3d Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3d Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3d Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x1f
func (*PlaySetExperience_760_1) DecodeFrom ¶
func (p *PlaySetExperience_760_1) DecodeFrom(r *PacketReader) error
func (PlaySetExperience_760_1) Encode ¶
func (p PlaySetExperience_760_1) Encode(b *PacketBuilder)
type PlaySetExperience_763_0 ¶
type PlaySetExperience_763_0 struct { /* Between 0 and 1. */ ExperienceBar Float // Float /* See Experience#Leveling up on the Minecraft Wiki for Total Experience to Level conversion. */ TotalExperience VarInt // VarInt Level VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x56 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x56 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x52
func (*PlaySetExperience_763_0) DecodeFrom ¶
func (p *PlaySetExperience_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetExperience_763_0) Encode ¶
func (p PlaySetExperience_763_0) Encode(b *PacketBuilder)
type PlaySetHeadRotation_763_0 ¶
type PlaySetHeadRotation_763_0 struct { EntityID VarInt // VarInt /* New angle, not a delta. */ HeadYaw Angle // Angle }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x42 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x42 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x3e Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3f Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3c
func (*PlaySetHeadRotation_763_0) DecodeFrom ¶
func (p *PlaySetHeadRotation_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetHeadRotation_763_0) Encode ¶
func (p PlaySetHeadRotation_763_0) Encode(b *PacketBuilder)
type PlaySetHealth_763_0 ¶
type PlaySetHealth_763_0 struct { /* 0 or less = dead, 20 = full HP. */ Health Float // Float /* 0–20. */ Food VarInt // VarInt /* Seems to vary from 0.0 to 5.0 in integer increments. */ FoodSaturation Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x57 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x57 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x53 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x55 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x52
func (*PlaySetHealth_763_0) DecodeFrom ¶
func (p *PlaySetHealth_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetHealth_763_0) Encode ¶
func (p PlaySetHealth_763_0) Encode(b *PacketBuilder)
type PlaySetHeldItemServer_763_0 ¶
type PlaySetHeldItemServer_763_0 struct { /* The slot which the player has selected (0–8). */ Slot Short // Short }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x28 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x28 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x28 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x28 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x27
func (*PlaySetHeldItemServer_763_0) DecodeFrom ¶
func (p *PlaySetHeldItemServer_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetHeldItemServer_763_0) Encode ¶
func (p PlaySetHeldItemServer_763_0) Encode(b *PacketBuilder)
type PlaySetHeldItem_763_0 ¶
type PlaySetHeldItem_763_0 struct { /* The slot which the player has selected (0–8). */ Slot Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4d Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4d Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x49 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4a Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x47
func (*PlaySetHeldItem_763_0) DecodeFrom ¶
func (p *PlaySetHeldItem_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetHeldItem_763_0) Encode ¶
func (p PlaySetHeldItem_763_0) Encode(b *PacketBuilder)
type PlaySetPassengers_763_0 ¶
type PlaySetPassengers_763_0 struct { /* Vehicle's EID */ EntityID VarInt // VarInt /* Number of elements in the following array */ PassengerCount VarInt // VarInt /* EIDs of entity's passengers */ Passengers []VarInt // Array of VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x59 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x59 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x55 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x57 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x54 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x54 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x54 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x54 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x54 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x4b Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4b Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4b Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x4a Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x46 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x43 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x43 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x42 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x40 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x40 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x40 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x40
func (*PlaySetPassengers_763_0) DecodeFrom ¶
func (p *PlaySetPassengers_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetPassengers_763_0) Encode ¶
func (p PlaySetPassengers_763_0) Encode(b *PacketBuilder)
type PlaySetPlayerOnGround_763_0 ¶
type PlaySetPlayerOnGround_763_0 struct { /* True if the client is on the ground, false otherwise. */ OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x17 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x17 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x16 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x17 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x16
func (*PlaySetPlayerOnGround_763_0) DecodeFrom ¶
func (p *PlaySetPlayerOnGround_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetPlayerOnGround_763_0) Encode ¶
func (p PlaySetPlayerOnGround_763_0) Encode(b *PacketBuilder)
type PlaySetPlayerPositionAndRotation_763_0 ¶
type PlaySetPlayerPositionAndRotation_763_0 struct { /* Absolute position. */ X Double // Double /* Absolute feet position, normally Head Y - 1.62. */ FeetY Double // Double /* Absolute position. */ Z Double // Double /* Absolute rotation on the X Axis, in degrees. */ Yaw Float // Float /* Absolute rotation on the Y Axis, in degrees. */ Pitch Float // Float /* True if the client is on the ground, false otherwise. */ OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x15 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x15 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x14 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x15 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x14
func (*PlaySetPlayerPositionAndRotation_763_0) DecodeFrom ¶
func (p *PlaySetPlayerPositionAndRotation_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetPlayerPositionAndRotation_763_0) Encode ¶
func (p PlaySetPlayerPositionAndRotation_763_0) Encode(b *PacketBuilder)
type PlaySetPlayerPosition_763_0 ¶
type PlaySetPlayerPosition_763_0 struct { /* Absolute position. */ X Double // Double /* Absolute feet position, normally Head Y - 1.62. */ FeetY Double // Double /* Absolute position. */ Z Double // Double /* True if the client is on the ground, false otherwise. */ OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x14 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x14 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x13 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x14 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x13
func (*PlaySetPlayerPosition_763_0) DecodeFrom ¶
func (p *PlaySetPlayerPosition_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetPlayerPosition_763_0) Encode ¶
func (p PlaySetPlayerPosition_763_0) Encode(b *PacketBuilder)
type PlaySetPlayerRotation_763_0 ¶
type PlaySetPlayerRotation_763_0 struct { /* Absolute rotation on the X Axis, in degrees. */ Yaw Float // Float /* Absolute rotation on the Y Axis, in degrees. */ Pitch Float // Float /* True if the client is on the ground, false otherwise. */ OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x16 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x16 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x15 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x16 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x15
func (*PlaySetPlayerRotation_763_0) DecodeFrom ¶
func (p *PlaySetPlayerRotation_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetPlayerRotation_763_0) Encode ¶
func (p PlaySetPlayerRotation_763_0) Encode(b *PacketBuilder)
type PlaySetRecipeBookState_758_0 ¶
type PlaySetRecipeBookState_758_0 struct { /* 0: crafting, 1: furnace, 2: blast furnace, 3: smoker */ BookID VarInt // VarInt enum BookOpen Bool // Boolean FilterActive Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1e Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1e Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1e Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1e Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1e Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1f
func (*PlaySetRecipeBookState_758_0) DecodeFrom ¶
func (p *PlaySetRecipeBookState_758_0) DecodeFrom(r *PacketReader) error
func (PlaySetRecipeBookState_758_0) Encode ¶
func (p PlaySetRecipeBookState_758_0) Encode(b *PacketBuilder)
type PlaySetRenderDistance_763_0 ¶
type PlaySetRenderDistance_763_0 struct { /* Render distance (2-32). */ ViewDistance VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x4f Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x4f Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x4b Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x4c Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x49
func (*PlaySetRenderDistance_763_0) DecodeFrom ¶
func (p *PlaySetRenderDistance_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetRenderDistance_763_0) Encode ¶
func (p PlaySetRenderDistance_763_0) Encode(b *PacketBuilder)
type PlaySetSeenRecipe_763_0 ¶
type PlaySetSeenRecipe_763_0 struct {
RecipeID String // Identifier
}
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x22 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x22 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x22 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x22 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x21
func (*PlaySetSeenRecipe_763_0) DecodeFrom ¶
func (p *PlaySetSeenRecipe_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetSeenRecipe_763_0) Encode ¶
func (p PlaySetSeenRecipe_763_0) Encode(b *PacketBuilder)
type PlaySetSimulationDistance_763_0 ¶
type PlaySetSimulationDistance_763_0 struct { /* The distance that the client will process specific things, such as entities. */ SimulationDistance VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5c Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5c Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x58 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5a Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x57
func (*PlaySetSimulationDistance_763_0) DecodeFrom ¶
func (p *PlaySetSimulationDistance_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetSimulationDistance_763_0) Encode ¶
func (p PlaySetSimulationDistance_763_0) Encode(b *PacketBuilder)
type PlaySetSlot_755_1 ¶
type PlaySetSlot_755_1 struct { /* The window which is being updated. 0 for player inventory. Note that all known window types include the player inventory. This packet will only be sent for the currently opened window while the player is performing actions, even if it affects the player inventory. After the window is closed, a number of these packets are sent to update the player's inventory window (0). */ WindowID Byte // Byte /* The slot that should be updated */ Slot Short // Short SlotData *data.Slot // Slot }
Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x16 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x15 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x15 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x17 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x16 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x17 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x16 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x16 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x16 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x16 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x16 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x16 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x16 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x2f
func (*PlaySetSlot_755_1) DecodeFrom ¶
func (p *PlaySetSlot_755_1) DecodeFrom(r *PacketReader) error
func (PlaySetSlot_755_1) Encode ¶
func (p PlaySetSlot_755_1) Encode(b *PacketBuilder)
type PlaySetSlot_758_0 ¶
type PlaySetSlot_758_0 struct { /* The window which is being updated. 0 for player inventory. Note that all known window types include the player inventory. This packet will only be sent for the currently opened window while the player is performing actions, even if it affects the player inventory. After the window is closed, a number of these packets are sent to update the player's inventory window (0). */ WindowID Byte // Byte /* See State ID */ StateID VarInt // VarInt /* The slot that should be updated. */ Slot Short // Short SlotData *data.Slot // Slot }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x16 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x16 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x16
func (*PlaySetSlot_758_0) DecodeFrom ¶
func (p *PlaySetSlot_758_0) DecodeFrom(r *PacketReader) error
func (PlaySetSlot_758_0) Encode ¶
func (p PlaySetSlot_758_0) Encode(b *PacketBuilder)
type PlaySetSubtitleText_763_0 ¶
type PlaySetSubtitleText_763_0 struct {
SubtitleText Object // Chat
}
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5d Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5d Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x59 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5b Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x58
func (*PlaySetSubtitleText_763_0) DecodeFrom ¶
func (p *PlaySetSubtitleText_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetSubtitleText_763_0) Encode ¶
func (p PlaySetSubtitleText_763_0) Encode(b *PacketBuilder)
type PlaySetTabListHeaderAndFooter_763_0 ¶
type PlaySetTabListHeaderAndFooter_763_0 struct { // Chat Footer Object // Chat }Header Object
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x65 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x65 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x61 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x63 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x60
func (*PlaySetTabListHeaderAndFooter_763_0) DecodeFrom ¶
func (p *PlaySetTabListHeaderAndFooter_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetTabListHeaderAndFooter_763_0) Encode ¶
func (p PlaySetTabListHeaderAndFooter_763_0) Encode(b *PacketBuilder)
type PlaySetTitleAnimationTimes_763_0 ¶
type PlaySetTitleAnimationTimes_763_0 struct { /* Ticks to spend fading in. */ FadeIn Int // Int /* Ticks to keep the title displayed. */ Stay Int // Int /* Ticks to spend fading out, not when to start fading out. */ FadeOut Int // Int }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x60 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x60 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5c Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5e Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5b
func (*PlaySetTitleAnimationTimes_763_0) DecodeFrom ¶
func (p *PlaySetTitleAnimationTimes_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetTitleAnimationTimes_763_0) Encode ¶
func (p PlaySetTitleAnimationTimes_763_0) Encode(b *PacketBuilder)
type PlaySetTitleSubTitle_758_0 ¶
type PlaySetTitleSubTitle_758_0 struct {
SubtitleText Object // Chat
}
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x58 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x58 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x57 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x57
func (*PlaySetTitleSubTitle_758_0) DecodeFrom ¶
func (p *PlaySetTitleSubTitle_758_0) DecodeFrom(r *PacketReader) error
func (PlaySetTitleSubTitle_758_0) Encode ¶
func (p PlaySetTitleSubTitle_758_0) Encode(b *PacketBuilder)
type PlaySetTitleText_763_0 ¶
type PlaySetTitleText_763_0 struct {
TitleText Object // Chat
}
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5f Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5f Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5b Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5d Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5a Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5a Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5a Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x59 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x59
func (*PlaySetTitleText_763_0) DecodeFrom ¶
func (p *PlaySetTitleText_763_0) DecodeFrom(r *PacketReader) error
func (PlaySetTitleText_763_0) Encode ¶
func (p PlaySetTitleText_763_0) Encode(b *PacketBuilder)
type PlaySetTitleTimes_758_0 ¶
type PlaySetTitleTimes_758_0 struct { /* Ticks to spend fading in. */ FadeIn Int // Int /* Ticks to keep the title displayed. */ Stay Int // Int /* Ticks to spend out, not when to start fading out. */ FadeOut Int // Int }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5b Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5b Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5a Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5a
func (*PlaySetTitleTimes_758_0) DecodeFrom ¶
func (p *PlaySetTitleTimes_758_0) DecodeFrom(r *PacketReader) error
func (PlaySetTitleTimes_758_0) Encode ¶
func (p PlaySetTitleTimes_758_0) Encode(b *PacketBuilder)
type PlaySoundEffect_758_2 ¶
type PlaySoundEffect_758_2 struct { /* ID of hardcoded sound event (events as of 1.12.2) */ SoundID VarInt // VarInt /* The category that this sound will be played from (current categories) */ SoundCategory VarInt // VarInt Enum /* Effect X multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part) */ EffectPositionX Int // Int /* Effect Y multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part) */ EffectPositionY Int // Int /* Effect Z multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part) */ EffectPositionZ Int // Int /* 1.0 is 100%, capped between 0.0 and 1.0 by Notchian clients */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients */ Pitch Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5d Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5d Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5c Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5c Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x51 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x51 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x52 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x51 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x4d Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x49 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x49 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x48 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x46 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x46 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x46
func (*PlaySoundEffect_758_2) DecodeFrom ¶
func (p *PlaySoundEffect_758_2) DecodeFrom(r *PacketReader) error
func (PlaySoundEffect_758_2) Encode ¶
func (p PlaySoundEffect_758_2) Encode(b *PacketBuilder)
type PlaySoundEffect_760_1 ¶
type PlaySoundEffect_760_1 struct { /* ID of hardcoded sound event (events). */ SoundID VarInt // VarInt /* The category that this sound will be played from (current categories). */ SoundCategory VarInt // VarInt Enum /* Effect X multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionX Int // Int /* Effect Y multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionY Int // Int /* Effect Z multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionZ Int // Int /* 1.0 is 100%, capped between 0.0 and 1.0 by Notchian clients. */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients. */ Pitch Float // Float /* Seed used to pick sound variant. */ Seed Long // long }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x60 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5d
func (*PlaySoundEffect_760_1) DecodeFrom ¶
func (p *PlaySoundEffect_760_1) DecodeFrom(r *PacketReader) error
func (PlaySoundEffect_760_1) Encode ¶
func (p PlaySoundEffect_760_1) Encode(b *PacketBuilder)
type PlaySoundEffect_763_0 ¶
type PlaySoundEffect_763_0 struct { /* Represents the Sound ID + 1. If the value is 0, the packet contains a sound specified by Identifier. */ SoundID VarInt // VarInt /* Only present if Sound ID is 0 */ SoundName Optional[String] // Optional Identifier /* Only present if Sound ID is 0. */ HasFixedRange Optional[Bool] // Optional Boolean /* The fixed range of the sound. Only present if previous boolean is true and Sound ID is 0. */ Range Optional[Float] // Optional Float /* The category that this sound will be played from (current categories). */ SoundCategory VarInt // VarInt Enum /* Effect X multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionX Int // Int /* Effect Y multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionY Int // Int /* Effect Z multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part). */ EffectPositionZ Int // Int /* 1.0 is 100%, capped between 0.0 and 1.0 by Notchian clients. */ Volume Float // Float /* Float between 0.5 and 2.0 by Notchian clients. */ Pitch Float // Float /* Seed used to pick sound variant. */ Seed Long // Long }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x62 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x62 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5e
func (*PlaySoundEffect_763_0) DecodeFrom ¶
func (p *PlaySoundEffect_763_0) DecodeFrom(r *PacketReader) error
func (PlaySoundEffect_763_0) Encode ¶
func (p PlaySoundEffect_763_0) Encode(b *PacketBuilder)
type PlaySpawnEntity_758_1 ¶
type PlaySpawnEntity_758_1 struct { /* EID of the entity */ EntityID VarInt // VarInt ObjectUUID UUID // UUID /* The type of entity (same as in Spawn Living Entity) */ Type VarInt // VarInt X Double // Double Y Double // Double Z Double // Double Pitch Angle // Angle Yaw Angle // Angle /* Meaning dependent on the value of the Type field, see Object Data for details. */ Data Int // Int /* Same units as Entity Velocity. Always sent, but only used when Data is greater than 0 (except for some entities which always ignore it; see Object Data for details). */ VelocityX Short // Short VelocityY Short // Short VelocityZ Short // Short }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x0 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x0 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x0 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x0 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x0 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x0 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x0
func (*PlaySpawnEntity_758_1) DecodeFrom ¶
func (p *PlaySpawnEntity_758_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnEntity_758_1) Encode ¶
func (p PlaySpawnEntity_758_1) Encode(b *PacketBuilder)
type PlaySpawnEntity_763_0 ¶
type PlaySpawnEntity_763_0 struct { /* A unique integer ID mostly used in the protocol to identify the entity. */ EntityID VarInt // VarInt /* A unique identifier that is mostly used in persistence and places where the uniqueness matters more. */ EntityUUID UUID // UUID /* The type of the entity (see "type" field of the list of Mob types). */ Type VarInt // VarInt X Double // Double Y Double // Double Z Double // Double /* To get the real pitch, you must divide this by (256.0F / 360.0F) */ Pitch Angle // Angle /* To get the real yaw, you must divide this by (256.0F / 360.0F) */ Yaw Angle // Angle /* Only used by living entities, where the head of the entity may differ from the general body rotation. */ HeadYaw Angle // Angle /* Meaning dependent on the value of the Type field, see Object Data for details. */ Data VarInt // VarInt /* Same units as Set Entity Velocity. */ VelocityX Short // Short VelocityY Short // Short VelocityZ Short // Short }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x0 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x0 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x0
func (*PlaySpawnEntity_763_0) DecodeFrom ¶
func (p *PlaySpawnEntity_763_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnEntity_763_0) Encode ¶
func (p PlaySpawnEntity_763_0) Encode(b *PacketBuilder)
type PlaySpawnExperienceOrb_763_0 ¶
type PlaySpawnExperienceOrb_763_0 struct { EntityID VarInt // VarInt X Double // Double Y Double // Double Z Double // Double /* The amount of experience this orb will reward once collected */ Count Short // Short }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x1 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1
func (*PlaySpawnExperienceOrb_763_0) DecodeFrom ¶
func (p *PlaySpawnExperienceOrb_763_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnExperienceOrb_763_0) Encode ¶
func (p PlaySpawnExperienceOrb_763_0) Encode(b *PacketBuilder)
type PlaySpawnGlobalEntity_498_0 ¶
type PlaySpawnGlobalEntity_498_0 struct { /* The EID of the thunderbolt */ EntityID VarInt // VarInt /* The global entity type, currently always 1 for thunderbolt */ Type Byte // Byte Enum X Double // Double Y Double // Double Z Double // Double }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x2 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2
func (*PlaySpawnGlobalEntity_498_0) DecodeFrom ¶
func (p *PlaySpawnGlobalEntity_498_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnGlobalEntity_498_0) Encode ¶
func (p PlaySpawnGlobalEntity_498_0) Encode(b *PacketBuilder)
type PlaySpawnLivingEntity_757_1 ¶
type PlaySpawnLivingEntity_757_1 struct { EntityID VarInt // VarInt EntityUUID UUID // UUID /* The type of mob. See Entities#Mobs */ Type VarInt // VarInt X Double // Double Y Double // Double Z Double // Double Yaw Angle // Angle Pitch Angle // Angle HeadPitch Angle // Angle /* Same units as Entity Velocity */ VelocityX Short // Short /* Same units as Entity Velocity */ VelocityY Short // Short /* Same units as Entity Velocity */ VelocityZ Short // Short }
Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x3
func (*PlaySpawnLivingEntity_757_1) DecodeFrom ¶
func (p *PlaySpawnLivingEntity_757_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnLivingEntity_757_1) Encode ¶
func (p PlaySpawnLivingEntity_757_1) Encode(b *PacketBuilder)
type PlaySpawnMob_210_1 ¶
type PlaySpawnMob_210_1 struct { EntityID VarInt // VarInt EntityUUID UUID // UUID /* The type of mob. See Entities#Mobs */ Type UByte // Unsigned Byte X Double // Double Y Double // Double Z Double // Double Yaw Angle // Angle Pitch Angle // Angle HeadPitch Angle // Angle /* Same units as Entity Velocity */ VelocityX Short // Short /* Same units as Entity Velocity */ VelocityY Short // Short /* Same units as Entity Velocity */ VelocityZ Short // Short Metadata *data.EntityMetadata // Entity Metadata }
Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3
func (*PlaySpawnMob_210_1) DecodeFrom ¶
func (p *PlaySpawnMob_210_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnMob_210_1) Encode ¶
func (p PlaySpawnMob_210_1) Encode(b *PacketBuilder)
type PlaySpawnMob_498_0 ¶
type PlaySpawnMob_498_0 struct { EntityID VarInt // VarInt EntityUUID UUID // UUID /* The type of mob. See Entities#Mobs */ Type VarInt // VarInt X Double // Double Y Double // Double Z Double // Double Yaw Angle // Angle Pitch Angle // Angle HeadPitch Angle // Angle /* Same units as Entity Velocity */ VelocityX Short // Short /* Same units as Entity Velocity */ VelocityY Short // Short /* Same units as Entity Velocity */ VelocityZ Short // Short Metadata *data.EntityMetadata // Entity Metadata }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x3 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x3 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x3 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x3 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x3 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3
func (*PlaySpawnMob_498_0) DecodeFrom ¶
func (p *PlaySpawnMob_498_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnMob_498_0) Encode ¶
func (p PlaySpawnMob_498_0) Encode(b *PacketBuilder)
type PlaySpawnObject_404_1 ¶
type PlaySpawnObject_404_1 struct { /* EID of the object */ EntityID VarInt // VarInt ObjectUUID UUID // UUID /* The type of object (see Entities#Objects) */ Type Byte // Byte X Double // Double Y Double // Double Z Double // Double Pitch Angle // Angle Yaw Angle // Angle /* Meaning dependent on the value of the Type field, see Object Data for details. */ Data Int // Int /* Same units as Entity Velocity. Always sent, but only used when Data is greater than 0 (except for some entities which always ignore it; see Object Data for details). */ VelocityX Short // Short VelocityY Short // Short VelocityZ Short // Short }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x0 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x0 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x0 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x0 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x0 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x0 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x0 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x0
func (*PlaySpawnObject_404_1) DecodeFrom ¶
func (p *PlaySpawnObject_404_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnObject_404_1) Encode ¶
func (p PlaySpawnObject_404_1) Encode(b *PacketBuilder)
type PlaySpawnPainting_340_1 ¶
type PlaySpawnPainting_340_1 struct { EntityID VarInt // VarInt EntityUUID UUID // UUID /* Name of the painting. Max length 13 */ Title String // String (13) /* Center coordinates (see below) */ Location Position // Position /* Direction the painting faces (North = 2, South = 0, West = 1, East = 3) */ Direction Byte // Byte Enum }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x4 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x4 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x4 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x4 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x4
func (*PlaySpawnPainting_340_1) DecodeFrom ¶
func (p *PlaySpawnPainting_340_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnPainting_340_1) Encode ¶
func (p PlaySpawnPainting_340_1) Encode(b *PacketBuilder)
type PlaySpawnPainting_758_0 ¶
type PlaySpawnPainting_758_0 struct { EntityID VarInt // VarInt EntityUUID UUID // UUID /* Panting's ID, see below */ Motive VarInt // VarInt /* Center coordinates (see below) */ Location Position // Position /* Direction the painting faces (North = 2, South = 0, West = 1, East = 3) */ Direction Byte // Byte Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x3 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x3 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x3 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x3 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x3 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x4 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x4
func (*PlaySpawnPainting_758_0) DecodeFrom ¶
func (p *PlaySpawnPainting_758_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnPainting_758_0) Encode ¶
func (p PlaySpawnPainting_758_0) Encode(b *PacketBuilder)
type PlaySpawnPlayer_498_1 ¶
type PlaySpawnPlayer_498_1 struct { /* Player's EID */ EntityID VarInt // VarInt /* See below for notes on offline mode and NPCs */ PlayerUUID UUID // UUID X Double // Double Y Double // Double Z Double // Double Yaw Angle // Angle Pitch Angle // Angle Metadata *data.EntityMetadata // Entity Metadata }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x5 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x5 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x5 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x5 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x5 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x5 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x5 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x5 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x5
func (*PlaySpawnPlayer_498_1) DecodeFrom ¶
func (p *PlaySpawnPlayer_498_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnPlayer_498_1) Encode ¶
func (p PlaySpawnPlayer_498_1) Encode(b *PacketBuilder)
type PlaySpawnPlayer_763_0 ¶
type PlaySpawnPlayer_763_0 struct { /* Player's EID */ EntityID VarInt // VarInt /* See below for notes on offline mode and NPCs */ PlayerUUID UUID // UUID X Double // Double Y Double // Double Z Double // Double Yaw Angle // Angle Pitch Angle // Angle }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x2 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x4 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x5
func (*PlaySpawnPlayer_763_0) DecodeFrom ¶
func (p *PlaySpawnPlayer_763_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnPlayer_763_0) Encode ¶
func (p PlaySpawnPlayer_763_0) Encode(b *PacketBuilder)
type PlaySpawnPosition_754_1 ¶
type PlaySpawnPosition_754_1 struct { /* Spawn location */ Location Position // Position }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x42 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x42 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4e Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x4d Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x49 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x46 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x46 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x45 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x43 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x43 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x43 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x43 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x5
func (*PlaySpawnPosition_754_1) DecodeFrom ¶
func (p *PlaySpawnPosition_754_1) DecodeFrom(r *PacketReader) error
func (PlaySpawnPosition_754_1) Encode ¶
func (p PlaySpawnPosition_754_1) Encode(b *PacketBuilder)
type PlaySpawnPosition_758_0 ¶
type PlaySpawnPosition_758_0 struct { /* Spawn location. */ Location Position // Position /* The angle at which to respawn at. */ Angle Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4b Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4b Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4b Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4b
func (*PlaySpawnPosition_758_0) DecodeFrom ¶
func (p *PlaySpawnPosition_758_0) DecodeFrom(r *PacketReader) error
func (PlaySpawnPosition_758_0) Encode ¶
func (p PlaySpawnPosition_758_0) Encode(b *PacketBuilder)
type PlaySpectate_758_0 ¶
type PlaySpectate_758_0 struct { /* UUID of the player to teleport to (can also be an entity UUID) */ TargetPlayer UUID // UUID }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2d Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2d Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2d Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2d Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2d Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2d Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x2b Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x2b Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x28 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1e Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1e Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x1e Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x1b Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x1b Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x1b Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x1b Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x18
func (*PlaySpectate_758_0) DecodeFrom ¶
func (p *PlaySpectate_758_0) DecodeFrom(r *PacketReader) error
func (PlaySpectate_758_0) Encode ¶
func (p PlaySpectate_758_0) Encode(b *PacketBuilder)
type PlayStatistics_315_5 ¶
type PlayStatistics_315_5 struct { }
Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x7 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x7 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x7
type PlayStatistics_340_4 ¶
type PlayStatistics_340_4 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x7 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x7 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x7 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x7
type PlayStatistics_498_3 ¶
type PlayStatistics_498_3 struct { }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x7 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x7
type PlayStatistics_754_1 ¶
type PlayStatistics_754_1 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x6 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x6
type PlayStatistics_758_0 ¶
type PlayStatistics_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x7 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x7 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x7 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x7
type PlaySteerBoat_340_1 ¶
type PlaySteerBoat_340_1 struct { RightPaddleTurning Bool // Boolean LeftPaddleTurning Bool // Boolean }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x11 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x11 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x12 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x11 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x11 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x11 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x11
func (*PlaySteerBoat_340_1) DecodeFrom ¶
func (p *PlaySteerBoat_340_1) DecodeFrom(r *PacketReader) error
func (PlaySteerBoat_340_1) Encode ¶
func (p PlaySteerBoat_340_1) Encode(b *PacketBuilder)
type PlaySteerBoat_758_0 ¶
type PlaySteerBoat_758_0 struct { LeftPaddleTurning Bool // Boolean RightPaddleTurning Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x16 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x16 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x16 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x16 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x17 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x17 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x16 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x16 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x14
func (*PlaySteerBoat_758_0) DecodeFrom ¶
func (p *PlaySteerBoat_758_0) DecodeFrom(r *PacketReader) error
func (PlaySteerBoat_758_0) Encode ¶
func (p PlaySteerBoat_758_0) Encode(b *PacketBuilder)
type PlaySteerVehicle_758_0 ¶
type PlaySteerVehicle_758_0 struct { /* Positive to the left of the player */ Sideways Float // Float /* Positive forward */ Forward Float // Float /* Bit mask. 0x1: jump, 0x2: unmount */ Flags UByte // Unsigned Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1c Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1c Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1c Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1c Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1d Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1d Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x1c Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x1c Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x1a Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x16 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x16 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x16 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x15 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x15 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x15 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x15 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0xc
func (*PlaySteerVehicle_758_0) DecodeFrom ¶
func (p *PlaySteerVehicle_758_0) DecodeFrom(r *PacketReader) error
func (PlaySteerVehicle_758_0) Encode ¶
func (p PlaySteerVehicle_758_0) Encode(b *PacketBuilder)
type PlayStopSound_763_0 ¶
type PlayStopSound_763_0 struct { /* Controls which fields are present. */ Flags Byte // Byte /* Only if flags is 3 or 1 (bit mask 0x1). See below. If not present, then sounds from all sources are cleared. */ Source Optional[VarInt] // Optional VarInt enum /* Only if flags is 2 or 3 (bit mask 0x2). A sound effect name, see Named Sound Effect. If not present, then all sounds are cleared. */ Sound Optional[String] // Optional Identifier }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x63 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x63 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5f Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x61 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5e Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5e Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5e Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5d Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5d Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x52 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x52 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x53 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x52 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x4c
func (*PlayStopSound_763_0) DecodeFrom ¶
func (p *PlayStopSound_763_0) DecodeFrom(r *PacketReader) error
func (PlayStopSound_763_0) Encode ¶
func (p PlayStopSound_763_0) Encode(b *PacketBuilder)
type PlaySwingArm_763_0 ¶
type PlaySwingArm_763_0 struct { /* Hand used for the animation. 0: main hand, 1: off hand. */ Hand VarInt // VarInt Enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x2f Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2f Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2f Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2f Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2e
func (*PlaySwingArm_763_0) DecodeFrom ¶
func (p *PlaySwingArm_763_0) DecodeFrom(r *PacketReader) error
func (PlaySwingArm_763_0) Encode ¶
func (p PlaySwingArm_763_0) Encode(b *PacketBuilder)
type PlaySynchronizePlayerPosition_761_1 ¶
type PlaySynchronizePlayerPosition_761_1 struct { /* Absolute or relative position, depending on Flags. */ X Double // Double /* Absolute or relative position, depending on Flags. */ Y Double // Double /* Absolute or relative position, depending on Flags. */ Z Double // Double /* Absolute or relative rotation on the X axis, in degrees. */ Yaw Float // Float /* Absolute or relative rotation on the Y axis, in degrees. */ Pitch Float // Float /* Bit field, see below. */ Flags Byte // Byte /* Client should confirm this packet with Confirm Teleportation containing the same Teleport ID. */ TeleportID VarInt // VarInt /* True if the player should dismount their vehicle. */ DismountVehicle Bool // Boolean }
Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x38 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x39 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x36
func (*PlaySynchronizePlayerPosition_761_1) DecodeFrom ¶
func (p *PlaySynchronizePlayerPosition_761_1) DecodeFrom(r *PacketReader) error
func (PlaySynchronizePlayerPosition_761_1) Encode ¶
func (p PlaySynchronizePlayerPosition_761_1) Encode(b *PacketBuilder)
type PlaySynchronizePlayerPosition_763_0 ¶
type PlaySynchronizePlayerPosition_763_0 struct { /* Absolute or relative position, depending on Flags. */ X Double // Double /* Absolute or relative position, depending on Flags. */ Y Double // Double /* Absolute or relative position, depending on Flags. */ Z Double // Double /* Absolute or relative rotation on the X axis, in degrees. */ Yaw Float // Float /* Absolute or relative rotation on the Y axis, in degrees. */ Pitch Float // Float /* Bit field, see below. */ Flags Byte // Byte /* Client should confirm this packet with Confirm Teleportation containing the same Teleport ID. */ TeleportID VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3c Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3c
func (*PlaySynchronizePlayerPosition_763_0) DecodeFrom ¶
func (p *PlaySynchronizePlayerPosition_763_0) DecodeFrom(r *PacketReader) error
func (PlaySynchronizePlayerPosition_763_0) Encode ¶
func (p PlaySynchronizePlayerPosition_763_0) Encode(b *PacketBuilder)
type PlaySystemChatMessage_760_1 ¶
type PlaySystemChatMessage_760_1 struct { /* Limited to 262144 bytes. */ JSONData Object // Chat /* Whether the message is an actionbar or chat message. */ Overlay Bool // Boolean }
Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x62 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x5f
func (*PlaySystemChatMessage_760_1) DecodeFrom ¶
func (p *PlaySystemChatMessage_760_1) DecodeFrom(r *PacketReader) error
func (PlaySystemChatMessage_760_1) Encode ¶
func (p PlaySystemChatMessage_760_1) Encode(b *PacketBuilder)
type PlaySystemChatMessage_763_0 ¶
type PlaySystemChatMessage_763_0 struct { /* Limited to 262144 bytes. */ Content Object // Chat /* Whether the message is an actionbar or chat message. */ Overlay Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x64 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x64 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x60
func (*PlaySystemChatMessage_763_0) DecodeFrom ¶
func (p *PlaySystemChatMessage_763_0) DecodeFrom(r *PacketReader) error
func (PlaySystemChatMessage_763_0) Encode ¶
func (p PlaySystemChatMessage_763_0) Encode(b *PacketBuilder)
type PlayTabCompleteServer_340_1 ¶
type PlayTabCompleteServer_340_1 struct { /* All text behind the cursor (e.g. to the left of the cursor in left-to-right languages like English) */ Text String // String (32767) /* If true, the server will parse Text as a command even if it doesn't start with a /. Used in the command block GUI. */ AssumeCommand Bool // Boolean HasPosition Bool // Boolean /* The position of the block being looked at. Only sent if Has Position is true. */ LookedAtBlock Optional[Position] // Optional Position }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x2 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x1 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x1 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x1 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x1
func (*PlayTabCompleteServer_340_1) DecodeFrom ¶
func (p *PlayTabCompleteServer_340_1) DecodeFrom(r *PacketReader) error
func (PlayTabCompleteServer_340_1) Encode ¶
func (p PlayTabCompleteServer_340_1) Encode(b *PacketBuilder)
type PlayTabCompleteServer_758_0 ¶
type PlayTabCompleteServer_758_0 struct { /* The id received in the tab completion request packet, must match or the client will ignore this packet. Client generates this and increments it each time it sends another tab completion that doesn't get a response. */ TransactionId VarInt // VarInt /* All text behind the cursor without the / (e.g. to the left of the cursor in left-to-right languages like English) */ Text String // String (32500) }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x6 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x6 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x6 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x6 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x6 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x6 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x6 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x6 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x5
func (*PlayTabCompleteServer_758_0) DecodeFrom ¶
func (p *PlayTabCompleteServer_758_0) DecodeFrom(r *PacketReader) error
func (PlayTabCompleteServer_758_0) Encode ¶
func (p PlayTabCompleteServer_758_0) Encode(b *PacketBuilder)
type PlayTabComplete_340_5 ¶
type PlayTabComplete_340_5 struct { /* Number of elements in the following array */ Count VarInt // VarInt /* One eligible command, note that each command is sent separately instead of in a single string, hence the need for Count */ Matches []String // Array of String (32767) }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0xe Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0xe Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0xe Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0xe Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0xe Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0xe Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0xe Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x3a
func (*PlayTabComplete_340_5) DecodeFrom ¶
func (p *PlayTabComplete_340_5) DecodeFrom(r *PacketReader) error
func (PlayTabComplete_340_5) Encode ¶
func (p PlayTabComplete_340_5) Encode(b *PacketBuilder)
type PlayTabComplete_498_4 ¶
type PlayTabComplete_498_4 struct { }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x10 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x10
type PlayTabComplete_758_0 ¶
type PlayTabComplete_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x11 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x11 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x11 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x11
type PlayTagQueryResponse_763_0 ¶
type PlayTagQueryResponse_763_0 struct { /* Can be compared to the one sent in the original query packet. */ TransactionID VarInt // VarInt /* The NBT of the block or entity. May be a TAG_END (0) in which case no NBT is present. */ NBT nbt.NBT // NBT Tag }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x66 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x66 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x62 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x64 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x61
func (*PlayTagQueryResponse_763_0) DecodeFrom ¶
func (p *PlayTagQueryResponse_763_0) DecodeFrom(r *PacketReader) error
func (PlayTagQueryResponse_763_0) Encode ¶
func (p PlayTagQueryResponse_763_0) Encode(b *PacketBuilder)
type PlayTags_754_2 ¶
type PlayTags_754_2 struct { /* IDs are block IDs */ BlockTags []Tag // (See below) /* IDs are item IDs */ ItemTags []Tag // (See below) /* IDs are fluid IDs */ FluidTags []Tag // (See below) /* IDs are entity IDs */ EntityTags []Tag // (See below) }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x5b Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x5b Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x5c Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x5b
func (*PlayTags_754_2) DecodeFrom ¶
func (p *PlayTags_754_2) DecodeFrom(r *PacketReader) error
func (PlayTags_754_2) Encode ¶
func (p PlayTags_754_2) Encode(b *PacketBuilder)
type PlayTags_756_1 ¶
type PlayTags_756_1 struct { }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x66 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x66
type PlayTags_758_0 ¶
type PlayTags_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x67 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x67
type PlayTeams_315_8 ¶
type PlayTeams_315_8 struct { }
Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x41 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x41 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x41
type PlayTeams_340_5 ¶
type PlayTeams_340_5 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x44 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x44
type PlayTeams_753_2 ¶
type PlayTeams_753_2 struct { }
Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4c Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4c
type PlayTeams_758_0 ¶
type PlayTeams_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x55 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x55 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x55 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x55
type PlayTeleportConfirm_758_0 ¶
type PlayTeleportConfirm_758_0 struct { /* The ID given by the Player Position And Look packet */ TeleportID VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x0 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x0 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x0 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x0 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x0 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x0 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x0 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x0 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x0 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x0 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x0 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x0 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x0 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x0 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x0 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x0
func (*PlayTeleportConfirm_758_0) DecodeFrom ¶
func (p *PlayTeleportConfirm_758_0) DecodeFrom(r *PacketReader) error
func (PlayTeleportConfirm_758_0) Encode ¶
func (p PlayTeleportConfirm_758_0) Encode(b *PacketBuilder)
type PlayTeleportEntity_763_0 ¶
type PlayTeleportEntity_763_0 struct { EntityID VarInt // VarInt X Double // Double Y Double // Double Z Double // Double /* (Y Rot)New angle, not a delta. */ Yaw Angle // Angle /* (X Rot)New angle, not a delta. */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x68 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x68 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x64 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x66 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x63
func (*PlayTeleportEntity_763_0) DecodeFrom ¶
func (p *PlayTeleportEntity_763_0) DecodeFrom(r *PacketReader) error
func (PlayTeleportEntity_763_0) Encode ¶
func (p PlayTeleportEntity_763_0) Encode(b *PacketBuilder)
type PlayTeleportToEntity_763_0 ¶
type PlayTeleportToEntity_763_0 struct { /* UUID of the player to teleport to (can also be an entity UUID). */ TargetPlayer UUID // UUID }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x30 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x30 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x30 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x30 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2f
func (*PlayTeleportToEntity_763_0) DecodeFrom ¶
func (p *PlayTeleportToEntity_763_0) DecodeFrom(r *PacketReader) error
func (PlayTeleportToEntity_763_0) Encode ¶
func (p PlayTeleportToEntity_763_0) Encode(b *PacketBuilder)
type PlayTimeUpdate_758_0 ¶
type PlayTimeUpdate_758_0 struct { /* In ticks; not changed by server commands */ WorldAge Long // Long /* The world (or region) time, in ticks. If negative the sun will stop moving at the Math.abs of the time */ TimeOfDay Long // Long }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x59 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x59 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x58 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x58 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x4e Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4e Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4f Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x4e Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x4a Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x47 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x47 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x46 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x44 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x44 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x44 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x44 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x3
func (*PlayTimeUpdate_758_0) DecodeFrom ¶
func (p *PlayTimeUpdate_758_0) DecodeFrom(r *PacketReader) error
func (PlayTimeUpdate_758_0) Encode ¶
func (p PlayTimeUpdate_758_0) Encode(b *PacketBuilder)
type PlayTitle_210_6 ¶
type PlayTitle_210_6 struct { }
Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x45 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x45
type PlayTitle_316_5 ¶
type PlayTitle_316_5 struct { }
Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x45 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x45
type PlayTitle_340_3 ¶
type PlayTitle_340_3 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x48 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x48
type PlayTitle_754_0 ¶
type PlayTitle_754_0 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x4f Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4f Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x4f
type PlayTradeList_754_1 ¶
type PlayTradeList_754_1 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x26 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x26
type PlayTradeList_758_0 ¶
type PlayTradeList_758_0 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x28 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x28 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x28 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x28
type PlayUnloadChunk_763_0 ¶
type PlayUnloadChunk_763_0 struct { /* Block coordinate divided by 16, rounded down */ ChunkX Int // Int /* Block coordinate divided by 16, rounded down */ ChunkZ Int // Int }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x1e Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x1e Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x1b Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x1c Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x1a Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x1d Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x1d Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x1d Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x1d Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x1c Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x1c Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x1e Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x1d Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x1f Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x1d Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x1d Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x1d Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x1d Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x1d Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x1d Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x1d
func (*PlayUnloadChunk_763_0) DecodeFrom ¶
func (p *PlayUnloadChunk_763_0) DecodeFrom(r *PacketReader) error
func (PlayUnloadChunk_763_0) Encode ¶
func (p PlayUnloadChunk_763_0) Encode(b *PacketBuilder)
type PlayUnlockRecipes_340_3 ¶
type PlayUnlockRecipes_340_3 struct { /* 0: init, 1: add, 2: remove */ Action VarInt // VarInt /* If true, then the crafting book will be open when the player opens its inventory. */ CraftingBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ FilteringCraftable Bool // Boolean /* Number of elements in the following array */ ArraySize1 VarInt // VarInt RecipeIDs []VarInt // Array of VarInt /* Number of elements in the following array, only present if mode is 0 (init) */ ArraySize2 Optional[VarInt] // Optional VarInt RecipeIDs2 Optional[[]VarInt] // Optional Array of VarInt, only present if mode is 0 (init) }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x31 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x31 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x30
func (*PlayUnlockRecipes_340_3) DecodeFrom ¶
func (p *PlayUnlockRecipes_340_3) DecodeFrom(r *PacketReader) error
func (PlayUnlockRecipes_340_3) Encode ¶
func (p PlayUnlockRecipes_340_3) Encode(b *PacketBuilder)
type PlayUnlockRecipes_578_2 ¶
type PlayUnlockRecipes_578_2 struct { /* 0: init, 1: add, 2: remove */ Action VarInt // VarInt /* If true, then the crafting recipe book will be open when the player opens its inventory. */ CraftingRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ CraftingRecipeBookFilterActive Bool // Boolean /* If true, then the smelting recipe book will be open when the player opens its inventory. */ SmeltingRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ SmeltingRecipeBookFilterActive Bool // Boolean /* Number of elements in the following array */ ArraySize1 VarInt // VarInt RecipeIDs []String // Array of Identifier /* Number of elements in the following array, only present if mode is 0 (init) */ ArraySize2 Optional[VarInt] // Optional VarInt RecipeIDs2 Optional[[]String] // Optional Array of Identifier, only present if mode is 0 (init) }
Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x37 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x36 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x34
func (*PlayUnlockRecipes_578_2) DecodeFrom ¶
func (p *PlayUnlockRecipes_578_2) DecodeFrom(r *PacketReader) error
func (PlayUnlockRecipes_578_2) Encode ¶
func (p PlayUnlockRecipes_578_2) Encode(b *PacketBuilder)
type PlayUnlockRecipes_758_0 ¶
type PlayUnlockRecipes_758_0 struct { /* 0: init, 1: add, 2: remove. */ Action VarInt // VarInt /* If true, then the crafting recipe book will be open when the player opens its inventory. */ CraftingRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ CraftingRecipeBookFilterActive Bool // Boolean /* If true, then the smelting recipe book will be open when the player opens its inventory. */ SmeltingRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ SmeltingRecipeBookFilterActive Bool // Boolean /* If true, then the blast furnace recipe book will be open when the player opens its inventory. */ BlastFurnaceRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ BlastFurnaceRecipeBookFilterActive Bool // Boolean /* If true, then the smoker recipe book will be open when the player opens its inventory. */ SmokerRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ SmokerRecipeBookFilterActive Bool // Boolean /* Number of elements in the following array. */ ArraySize1 VarInt // VarInt RecipeIDs []String // Array of Identifier /* Number of elements in the following array, only present if mode is 0 (init). */ ArraySize2 Optional[VarInt] // Optional VarInt /* Only present if mode is 0 (init) */ RecipeIDs2 Optional[[]String] // Optional Array of Identifier }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x39 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x39 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x39 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x39 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x35
func (*PlayUnlockRecipes_758_0) DecodeFrom ¶
func (p *PlayUnlockRecipes_758_0) DecodeFrom(r *PacketReader) error
func (PlayUnlockRecipes_758_0) Encode ¶
func (p PlayUnlockRecipes_758_0) Encode(b *PacketBuilder)
type PlayUpdateAdvancements_763_0 ¶
type PlayUpdateAdvancements_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x69 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x69
type PlayUpdateAttributes_763_0 ¶
type PlayUpdateAttributes_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x6a Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x6a
type PlayUpdateBlockEntity_498_0 ¶
type PlayUpdateBlockEntity_498_0 struct { Location Position // Position /* The type of update to perform, see below */ Action UByte // Unsigned Byte /* Data to set. May be a TAG_END (0), in which case the block entity at the given location is removed (though this is not required since the client will remove the block entity automatically on chunk unload or block removal) */ NBTData nbt.NBT // NBT Tag }
Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x9 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x9 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x9 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x9 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x9 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x9 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x9 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x9 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x9
func (*PlayUpdateBlockEntity_498_0) DecodeFrom ¶
func (p *PlayUpdateBlockEntity_498_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateBlockEntity_498_0) Encode ¶
func (p PlayUpdateBlockEntity_498_0) Encode(b *PacketBuilder)
type PlayUpdateCommandBlockMinecart_758_0 ¶
type PlayUpdateCommandBlockMinecart_758_0 struct { EntityID VarInt // VarInt Command String // String /* If false, the output of the previous command will not be stored within the command block. */ TrackOutput Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x27 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x27 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x27 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x27 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x27 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x27 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x25 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x25 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x23
func (*PlayUpdateCommandBlockMinecart_758_0) DecodeFrom ¶
func (p *PlayUpdateCommandBlockMinecart_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateCommandBlockMinecart_758_0) Encode ¶
func (p PlayUpdateCommandBlockMinecart_758_0) Encode(b *PacketBuilder)
type PlayUpdateCommandBlock_758_0 ¶
type PlayUpdateCommandBlock_758_0 struct { Location Position // Position Command String // String (32767) /* One of SEQUENCE (0), AUTO (1), or REDSTONE (2) */ Mode VarInt // VarInt enum /* 0x01: Track Output (if false, the output of the previous command will not be stored within the command block); 0x02: Is conditional; 0x04: Automatic */ Flags Byte // Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x26 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x26 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x26 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x26 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x26 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x26 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x24 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x24 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x22
func (*PlayUpdateCommandBlock_758_0) DecodeFrom ¶
func (p *PlayUpdateCommandBlock_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateCommandBlock_758_0) Encode ¶
func (p PlayUpdateCommandBlock_758_0) Encode(b *PacketBuilder)
type PlayUpdateEntityPositionAndRotation_763_0 ¶
type PlayUpdateEntityPositionAndRotation_763_0 struct { EntityID VarInt // VarInt /* Change in X position as (currentX * 32 - prevX * 32) * 128. */ DeltaX Short // Short /* Change in Y position as (currentY * 32 - prevY * 32) * 128. */ DeltaY Short // Short /* Change in Z position as (currentZ * 32 - prevZ * 32) * 128. */ DeltaZ Short // Short /* New angle, not a delta. */ Yaw Angle // Angle /* New angle, not a delta. */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2c Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2c Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x28 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x29 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x27
func (*PlayUpdateEntityPositionAndRotation_763_0) DecodeFrom ¶
func (p *PlayUpdateEntityPositionAndRotation_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateEntityPositionAndRotation_763_0) Encode ¶
func (p PlayUpdateEntityPositionAndRotation_763_0) Encode(b *PacketBuilder)
type PlayUpdateEntityPosition_763_0 ¶
type PlayUpdateEntityPosition_763_0 struct { EntityID VarInt // VarInt /* Change in X position as (currentX * 32 - prevX * 32) * 128. */ DeltaX Short // Short /* Change in Y position as (currentY * 32 - prevY * 32) * 128. */ DeltaY Short // Short /* Change in Z position as (currentZ * 32 - prevZ * 32) * 128. */ DeltaZ Short // Short OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2b Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2b Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x27 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x28 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x26
func (*PlayUpdateEntityPosition_763_0) DecodeFrom ¶
func (p *PlayUpdateEntityPosition_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateEntityPosition_763_0) Encode ¶
func (p PlayUpdateEntityPosition_763_0) Encode(b *PacketBuilder)
type PlayUpdateEntityRotation_763_0 ¶
type PlayUpdateEntityRotation_763_0 struct { EntityID VarInt // VarInt /* New angle, not a delta. */ Yaw Angle // Angle /* New angle, not a delta. */ Pitch Angle // Angle OnGround Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x2d Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x2d Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x29 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x2a Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x28
func (*PlayUpdateEntityRotation_763_0) DecodeFrom ¶
func (p *PlayUpdateEntityRotation_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateEntityRotation_763_0) Encode ¶
func (p PlayUpdateEntityRotation_763_0) Encode(b *PacketBuilder)
type PlayUpdateHealth_758_0 ¶
type PlayUpdateHealth_758_0 struct { /* 0 or less = dead, 20 = full HP */ Health Float // Float /* 0–20 */ Food VarInt // VarInt /* Seems to vary from 0.0 to 5.0 in integer increments */ FoodSaturation Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x52 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x52 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x52 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x52 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x49 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x49 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x49 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x48 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x44 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x41 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x41 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x40 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x3e Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x3e Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x3e Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x3e Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x6
func (*PlayUpdateHealth_758_0) DecodeFrom ¶
func (p *PlayUpdateHealth_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateHealth_758_0) Encode ¶
func (p PlayUpdateHealth_758_0) Encode(b *PacketBuilder)
type PlayUpdateJigsawBlock_578_1 ¶
type PlayUpdateJigsawBlock_578_1 struct { /* Block entity location */ Location Position // Position AttachmentType String // Identifier TargetPool String // Identifier /* "Turns into" on the GUI, final_state in NBT */ FinalState String // String }
Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x27 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x27
func (*PlayUpdateJigsawBlock_578_1) DecodeFrom ¶
func (p *PlayUpdateJigsawBlock_578_1) DecodeFrom(r *PacketReader) error
func (PlayUpdateJigsawBlock_578_1) Encode ¶
func (p PlayUpdateJigsawBlock_578_1) Encode(b *PacketBuilder)
type PlayUpdateJigsawBlock_758_0 ¶
type PlayUpdateJigsawBlock_758_0 struct { /* Block entity location */ Location Position // Position Name String // Identifier Target String // Identifier Pool String // Identifier /* "Turns into" on the GUI, final_state in NBT */ FinalState String // String /* rollable if the attached piece can be rotated, else aligned */ JointType String // String }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x29 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x29 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x29 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x29 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x29 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x28
func (*PlayUpdateJigsawBlock_758_0) DecodeFrom ¶
func (p *PlayUpdateJigsawBlock_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateJigsawBlock_758_0) Encode ¶
func (p PlayUpdateJigsawBlock_758_0) Encode(b *PacketBuilder)
type PlayUpdateLight_754_7 ¶
type PlayUpdateLight_754_7 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x23 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x23
type PlayUpdateLight_756_6 ¶
type PlayUpdateLight_756_6 struct { }
Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x25 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x25
type PlayUpdateLight_758_5 ¶
type PlayUpdateLight_758_5 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x25 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x25
type PlayUpdateObjectives_763_0 ¶
type PlayUpdateObjectives_763_0 struct { /* A unique name for the objective. */ ObjectiveName String // String (16) /* 0 to create the scoreboard. 1 to remove the scoreboard. 2 to update the display text. */ Mode Byte // Byte /* Only if mode is 0 or 2. The text to be displayed for the score. */ ObjectiveValue Optional[Object] // Optional Chat /* Only if mode is 0 or 2. 0 = "integer", 1 = "hearts". */ Type Optional[VarInt] // Optional VarInt Enum }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x58 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x58 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x54 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x56 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x53
func (*PlayUpdateObjectives_763_0) DecodeFrom ¶
func (p *PlayUpdateObjectives_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateObjectives_763_0) Encode ¶
func (p PlayUpdateObjectives_763_0) Encode(b *PacketBuilder)
type PlayUpdateRecipeBook_763_0 ¶
type PlayUpdateRecipeBook_763_0 struct { /* 0: init, 1: add, 2: remove. */ Action VarInt // VarInt /* If true, then the crafting recipe book will be open when the player opens its inventory. */ CraftingRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ CraftingRecipeBookFilterActive Bool // Boolean /* If true, then the smelting recipe book will be open when the player opens its inventory. */ SmeltingRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ SmeltingRecipeBookFilterActive Bool // Boolean /* If true, then the blast furnace recipe book will be open when the player opens its inventory. */ BlastFurnaceRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ BlastFurnaceRecipeBookFilterActive Bool // Boolean /* If true, then the smoker recipe book will be open when the player opens its inventory. */ SmokerRecipeBookOpen Bool // Boolean /* If true, then the filtering option is active when the players opens its inventory. */ SmokerRecipeBookFilterActive Bool // Boolean /* Number of elements in the following array. */ ArraySize1 VarInt // VarInt RecipeIDs []String // Array of Identifier /* Number of elements in the following array, only present if mode is 0 (init). */ ArraySize2 Optional[VarInt] // Optional VarInt /* Only present if mode is 0 (init) */ RecipeIDs2 Optional[[]String] // Optional Array of Identifier }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3d Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3d Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x39 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x3a Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x37
func (*PlayUpdateRecipeBook_763_0) DecodeFrom ¶
func (p *PlayUpdateRecipeBook_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateRecipeBook_763_0) Encode ¶
func (p PlayUpdateRecipeBook_763_0) Encode(b *PacketBuilder)
type PlayUpdateRecipes_763_0 ¶
type PlayUpdateRecipes_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x6d Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x6d
type PlayUpdateScore_315_2 ¶
type PlayUpdateScore_315_2 struct { /* The name of the score to be updated or removed */ ScoreName String // String /* 0 to create/update an item. 1 to remove an item. */ Action Byte // Byte /* The name of the objective the score belongs to */ ObjectiveName String // String /* The score to be displayed next to the entry. Only sent when Action does not equal 1. */ Value Optional[VarInt] // Optional VarInt }
Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x42 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x42 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x42 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x3c
func (*PlayUpdateScore_315_2) DecodeFrom ¶
func (p *PlayUpdateScore_315_2) DecodeFrom(r *PacketReader) error
func (PlayUpdateScore_315_2) Encode ¶
func (p PlayUpdateScore_315_2) Encode(b *PacketBuilder)
type PlayUpdateScore_757_1 ¶
type PlayUpdateScore_757_1 struct { /* The entity whose score this is. For players, this is their username; for other entities, it is their UUID. */ EntityName String // String (40) /* 0 to create/update an item. 1 to remove an item. */ Action Byte // Byte /* The name of the objective the score belongs to */ ObjectiveName String // String (16) /* The score to be displayed next to the entry. Only sent when Action does not equal 1. */ Value Optional[VarInt] // Optional VarInt }
Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x56 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x56 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x56 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x4d Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x4d Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x4d Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x4c Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x48 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x45 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x45 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x44 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x42
func (*PlayUpdateScore_757_1) DecodeFrom ¶
func (p *PlayUpdateScore_757_1) DecodeFrom(r *PacketReader) error
func (PlayUpdateScore_757_1) Encode ¶
func (p PlayUpdateScore_757_1) Encode(b *PacketBuilder)
type PlayUpdateScore_763_0 ¶
type PlayUpdateScore_763_0 struct { /* The entity whose score this is. For players, this is their username; for other entities, it is their UUID. */ EntityName String // String (40) /* 0 to create/update an item. 1 to remove an item. */ Action VarInt // VarInt Enum /* The name of the objective the score belongs to. */ ObjectiveName String // String (16) /* The score to be displayed next to the entry. Only sent when Action does not equal 1. */ Value Optional[VarInt] // Optional VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5b Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5b Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x57 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x59 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x56 Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x56
func (*PlayUpdateScore_763_0) DecodeFrom ¶
func (p *PlayUpdateScore_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateScore_763_0) Encode ¶
func (p PlayUpdateScore_763_0) Encode(b *PacketBuilder)
type PlayUpdateSectionBlocks_762_1 ¶
type PlayUpdateSectionBlocks_762_1 struct { /* Chunk section coordinate (encoded chunk x and z with each 22 bits, and section y with 20 bits, from left to right). */ ChunkSectionPosition Long // Long /* Whether to ignore light updates caused by the contained changes. Always inverse the preceding Update Light packet's "Trust Edges" bool */ SuppressLightUpdates Bool // Boolean /* Number of elements in the following array. */ BlocksArraySize VarInt // VarInt /* Each entry is composed of the block state id, shifted left by 12, and the relative block position in the chunk section (4 bits for x, z, and y, from left to right). */ Blocks []VarLong // Array of VarLong }
Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x43 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x3f Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x40 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x3d
func (*PlayUpdateSectionBlocks_762_1) DecodeFrom ¶
func (p *PlayUpdateSectionBlocks_762_1) DecodeFrom(r *PacketReader) error
func (PlayUpdateSectionBlocks_762_1) Encode ¶
func (p PlayUpdateSectionBlocks_762_1) Encode(b *PacketBuilder)
type PlayUpdateSign_762_1 ¶
type PlayUpdateSign_762_1 struct { /* Block Coordinates */ Location Position // Position /* First line of text in the sign */ Line1 String // String (384) /* Second line of text in the sign */ Line2 String // String (384) /* Third line of text in the sign */ Line3 String // String (384) /* Fourth line of text in the sign */ Line4 String // String (384) }
Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x2e Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x2e Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x2e Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x2d Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2b Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2b Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2b Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2b Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2b Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2b Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x29 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x29 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x26 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1c Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1c Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x1c Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x19 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x19 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x19 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x19
func (*PlayUpdateSign_762_1) DecodeFrom ¶
func (p *PlayUpdateSign_762_1) DecodeFrom(r *PacketReader) error
func (PlayUpdateSign_762_1) Encode ¶
func (p PlayUpdateSign_762_1) Encode(b *PacketBuilder)
type PlayUpdateSimulationDistance_758_0 ¶
type PlayUpdateSimulationDistance_758_0 struct { /* The distance that the client will process specific things, such as entities. */ SimulationDistance VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x57 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x57
func (*PlayUpdateSimulationDistance_758_0) DecodeFrom ¶
func (p *PlayUpdateSimulationDistance_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateSimulationDistance_758_0) Encode ¶
func (p PlayUpdateSimulationDistance_758_0) Encode(b *PacketBuilder)
type PlayUpdateStructureBlock_758_0 ¶
type PlayUpdateStructureBlock_758_0 struct { /* Block entity location */ Location Position // Position /* An additional action to perform beyond simply saving the given data; see below */ Action VarInt // VarInt enum /* One of SAVE (0), LOAD (1), CORNER (2), DATA (3). */ Mode VarInt // VarInt enum Name String // String /* Between -32 and 32 */ OffsetX Byte // Byte /* Between -32 and 32 */ OffsetY Byte // Byte /* Between -32 and 32 */ OffsetZ Byte // Byte /* Between 0 and 32 */ SizeX Byte // Byte /* Between 0 and 32 */ SizeY Byte // Byte /* Between 0 and 32 */ SizeZ Byte // Byte /* One of NONE (0), LEFT_RIGHT (1), FRONT_BACK (2). */ Mirror VarInt // VarInt enum /* One of NONE (0), CLOCKWISE_90 (1), CLOCKWISE_180 (2), COUNTERCLOCKWISE_90 (3). */ Rotation VarInt // VarInt enum Metadata String // String /* Between 0 and 1 */ Integrity Float // Float Seed VarLong // VarLong /* 0x01: Ignore entities; 0x02: Show air; 0x04: Show bounding box */ Flags Byte // Byte }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2a Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2a Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2a Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2a Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2a Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2a Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x28 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x28 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x25
func (*PlayUpdateStructureBlock_758_0) DecodeFrom ¶
func (p *PlayUpdateStructureBlock_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateStructureBlock_758_0) Encode ¶
func (p PlayUpdateStructureBlock_758_0) Encode(b *PacketBuilder)
type PlayUpdateTags_763_0 ¶
type PlayUpdateTags_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x6e Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x6e
type PlayUpdateTeams_763_0 ¶
type PlayUpdateTeams_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5a Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5a
type PlayUpdateTime_763_0 ¶
type PlayUpdateTime_763_0 struct { /* In ticks; not changed by server commands. */ WorldAge Long // Long /* The world (or region) time, in ticks. If negative the sun will stop moving at the Math.abs of the time. */ TimeOfDay Long // Long }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x5e Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x5e Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x5a Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x5c Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x59
func (*PlayUpdateTime_763_0) DecodeFrom ¶
func (p *PlayUpdateTime_763_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateTime_763_0) Encode ¶
func (p PlayUpdateTime_763_0) Encode(b *PacketBuilder)
type PlayUpdateViewDistance_758_0 ¶
type PlayUpdateViewDistance_758_0 struct { /* Render distance (2-32) */ ViewDistance VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x4a Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x4a Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x4a Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x4a Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x41 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x41 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x42 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x41
func (*PlayUpdateViewDistance_758_0) DecodeFrom ¶
func (p *PlayUpdateViewDistance_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateViewDistance_758_0) Encode ¶
func (p PlayUpdateViewDistance_758_0) Encode(b *PacketBuilder)
type PlayUpdateViewPosition_758_0 ¶
type PlayUpdateViewPosition_758_0 struct { /* Chunk X coordinate of the player's position */ ChunkX VarInt // VarInt /* Chunk Z coordinate of the player's position */ ChunkZ VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x49 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x49 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x49 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x49 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x40 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x40 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x41 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x40
func (*PlayUpdateViewPosition_758_0) DecodeFrom ¶
func (p *PlayUpdateViewPosition_758_0) DecodeFrom(r *PacketReader) error
func (PlayUpdateViewPosition_758_0) Encode ¶
func (p PlayUpdateViewPosition_758_0) Encode(b *PacketBuilder)
type PlayUseBed_404_0 ¶
type PlayUseBed_404_0 struct { /* Sleeping player's EID */ EntityID VarInt // VarInt /* Block location of the head part of the bed */ Location Position // Position }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x33 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x30 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x30 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2f Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2f Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2f Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2f Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2f Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0xa
func (*PlayUseBed_404_0) DecodeFrom ¶
func (p *PlayUseBed_404_0) DecodeFrom(r *PacketReader) error
func (PlayUseBed_404_0) Encode ¶
func (p PlayUseBed_404_0) Encode(b *PacketBuilder)
type PlayUseEntity_404_0 ¶
type PlayUseEntity_404_0 struct { Target VarInt // VarInt /* 0: interact, 1: attack, 2: interact at */ Type VarInt // VarInt Enum /* Only if Type is interact at */ TargetX Optional[Float] // Optional Float /* Only if Type is interact at */ TargetY Optional[Float] // Optional Float /* Only if Type is interact at */ TargetZ Optional[Float] // Optional Float /* Only if Type is interact or interact at; 0: main hand, 1: off hand */ Hand Optional[VarInt] // Optional VarInt Enum }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0xd Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0xa Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0xa Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0xb Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0xa Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0xa Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0xa Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0xa
func (*PlayUseEntity_404_0) DecodeFrom ¶
func (p *PlayUseEntity_404_0) DecodeFrom(r *PacketReader) error
func (PlayUseEntity_404_0) Encode ¶
func (p PlayUseEntity_404_0) Encode(b *PacketBuilder)
type PlayUseItemOn_763_0 ¶
type PlayUseItemOn_763_0 struct { /* The hand from which the block is placed; 0: main hand, 1: off hand. */ Hand VarInt // VarInt Enum /* Block position. */ Location Position // Position /* The face on which the block is placed (as documented at Player Action). */ Face VarInt // VarInt Enum /* The position of the crosshair on the block, from 0 to 1 increasing from west to east. */ CursorPositionX Float // Float /* The position of the crosshair on the block, from 0 to 1 increasing from bottom to top. */ CursorPositionY Float // Float /* The position of the crosshair on the block, from 0 to 1 increasing from north to south. */ CursorPositionZ Float // Float /* True when the player's head is inside of a block. */ InsideBlock Bool // Boolean Sequence VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x31 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x31 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x31 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x31 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x30
func (*PlayUseItemOn_763_0) DecodeFrom ¶
func (p *PlayUseItemOn_763_0) DecodeFrom(r *PacketReader) error
func (PlayUseItemOn_763_0) Encode ¶
func (p PlayUseItemOn_763_0) Encode(b *PacketBuilder)
type PlayUseItem_758_1 ¶
type PlayUseItem_758_1 struct { /* Hand used for the animation. 0: main hand, 1: off hand. */ Hand VarInt // VarInt Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2f Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2f Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2f Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2f Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2f Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2f Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x2d Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x2d Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x2a Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x20 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x20 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x20 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x1d Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x1d Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x1d Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x1d
func (*PlayUseItem_758_1) DecodeFrom ¶
func (p *PlayUseItem_758_1) DecodeFrom(r *PacketReader) error
func (PlayUseItem_758_1) Encode ¶
func (p PlayUseItem_758_1) Encode(b *PacketBuilder)
type PlayUseItem_763_0 ¶
type PlayUseItem_763_0 struct { /* Hand used for the animation. 0: main hand, 1: off hand. */ Hand VarInt // VarInt Enum Sequence VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x32 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x32 Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x32 Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x32 Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x31
func (*PlayUseItem_763_0) DecodeFrom ¶
func (p *PlayUseItem_763_0) DecodeFrom(r *PacketReader) error
func (PlayUseItem_763_0) Encode ¶
func (p PlayUseItem_763_0) Encode(b *PacketBuilder)
type PlayVehicleMoveServer_758_0 ¶
type PlayVehicleMoveServer_758_0 struct { /* Absolute position (X coordinate) */ X Double // Double /* Absolute position (Y coordinate) */ Y Double // Double /* Absolute position (Z coordinate) */ Z Double // Double /* Absolute rotation on the vertical axis, in degrees */ Yaw Float // Float /* Absolute rotation on the horizontal axis, in degrees */ Pitch Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x15 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x15 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x15 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x15 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x16 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x16 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x15 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x15 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x13 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x10 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x10 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x11 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x10 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x10 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x10 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x10
func (*PlayVehicleMoveServer_758_0) DecodeFrom ¶
func (p *PlayVehicleMoveServer_758_0) DecodeFrom(r *PacketReader) error
func (PlayVehicleMoveServer_758_0) Encode ¶
func (p PlayVehicleMoveServer_758_0) Encode(b *PacketBuilder)
type PlayVehicleMove_758_0 ¶
type PlayVehicleMove_758_0 struct { /* Absolute position (X coordinate) */ X Double // Double /* Absolute position (Y coordinate) */ Y Double // Double /* Absolute position (Z coordinate) */ Z Double // Double /* Absolute rotation on the vertical axis, in degrees */ Yaw Float // Float /* Absolute rotation on the horizontal axis, in degrees */ Pitch Float // Float }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x2c Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x2c Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x2c Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x2c Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x2b Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x2b Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x2d Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x2c Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x2b Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x29 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x29 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x29 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x29 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x29 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x29 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x29
func (*PlayVehicleMove_758_0) DecodeFrom ¶
func (p *PlayVehicleMove_758_0) DecodeFrom(r *PacketReader) error
func (PlayVehicleMove_758_0) Encode ¶
func (p PlayVehicleMove_758_0) Encode(b *PacketBuilder)
type PlayWindowConfirmationServer_754_0 ¶
type PlayWindowConfirmationServer_754_0 struct { /* The ID of the window that the action occurred in */ WindowID Byte // Byte /* Every action that is to be accepted has a unique number. This number is an incrementing integer (starting at 1) with separate counts for each window ID. */ ActionNumber Short // Short /* Whether the action was accepted */ Accepted Bool // Boolean }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x7 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x7 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x7 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x7
func (*PlayWindowConfirmationServer_754_0) DecodeFrom ¶
func (p *PlayWindowConfirmationServer_754_0) DecodeFrom(r *PacketReader) error
func (PlayWindowConfirmationServer_754_0) Encode ¶
func (p PlayWindowConfirmationServer_754_0) Encode(b *PacketBuilder)
type PlayWindowConfirmation_754_0 ¶
type PlayWindowConfirmation_754_0 struct { /* The ID of the window that the action occurred in */ WindowID Byte // Byte /* Every action that is to be accepted has a unique number. This number is an incrementing integer (starting at 0) with separate counts for each window ID. */ ActionNumber Short // Short /* Whether the action was accepted */ Accepted Bool // Boolean }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x11 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x11 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x13 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x12
func (*PlayWindowConfirmation_754_0) DecodeFrom ¶
func (p *PlayWindowConfirmation_754_0) DecodeFrom(r *PacketReader) error
func (PlayWindowConfirmation_754_0) Encode ¶
func (p PlayWindowConfirmation_754_0) Encode(b *PacketBuilder)
type PlayWindowItems_755_1 ¶
type PlayWindowItems_755_1 struct { /* The ID of window which items are being sent for. 0 for player inventory. */ WindowID UByte // Unsigned Byte /* Number of elements in the following array */ Count Short // Short SlotData []*data.Slot // Array of Slot }
Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x14 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x13 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x13 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x15 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x14 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x15 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x14 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x14 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x14 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x14 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x14 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x14 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x14 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x30
func (*PlayWindowItems_755_1) DecodeFrom ¶
func (p *PlayWindowItems_755_1) DecodeFrom(r *PacketReader) error
func (PlayWindowItems_755_1) Encode ¶
func (p PlayWindowItems_755_1) Encode(b *PacketBuilder)
type PlayWindowItems_758_0 ¶
type PlayWindowItems_758_0 struct { /* The ID of window which items are being sent for. 0 for player inventory. */ WindowID UByte // Unsigned Byte /* See State ID */ StateID VarInt // VarInt /* Number of elements in the following array. */ Count VarInt // VarInt SlotData []*data.Slot // Array of Slot /* Item held by player. */ CarriedItem *data.Slot // Slot }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x14 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x14 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x14
func (*PlayWindowItems_758_0) DecodeFrom ¶
func (p *PlayWindowItems_758_0) DecodeFrom(r *PacketReader) error
func (PlayWindowItems_758_0) Encode ¶
func (p PlayWindowItems_758_0) Encode(b *PacketBuilder)
type PlayWindowProperty_758_0 ¶
type PlayWindowProperty_758_0 struct { WindowID UByte // Unsigned Byte /* The property to be updated, see below */ Property Short // Short /* The new value for the property, see below */ Value Short // Short }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x15 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x15 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x15 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x15 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x14 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x14 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x16 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x15 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x16 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x15 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x15 Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x15 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x15 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x15 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x15 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x15 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x31
func (*PlayWindowProperty_758_0) DecodeFrom ¶
func (p *PlayWindowProperty_758_0) DecodeFrom(r *PacketReader) error
func (PlayWindowProperty_758_0) Encode ¶
func (p PlayWindowProperty_758_0) Encode(b *PacketBuilder)
type PlayWorldBorderCenter_758_0 ¶
type PlayWorldBorderCenter_758_0 struct { X Double // Double Z Double // Double }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x42 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x42 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x42 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x42
func (*PlayWorldBorderCenter_758_0) DecodeFrom ¶
func (p *PlayWorldBorderCenter_758_0) DecodeFrom(r *PacketReader) error
func (PlayWorldBorderCenter_758_0) Encode ¶
func (p PlayWorldBorderCenter_758_0) Encode(b *PacketBuilder)
type PlayWorldBorderLerpSize_758_0 ¶
type PlayWorldBorderLerpSize_758_0 struct { /* Current length of a single side of the world border, in meters. */ OldDiameter Double // Double /* Target length of a single side of the world border, in meters. */ NewDiameter Double // Double /* Number of real-time milliseconds until New Diameter is reached. It appears that Notchian server does not sync world border speed to game ticks, so it gets out of sync with server lag. If the world border is not moving, this is set to 0. */ Speed VarLong // VarLong }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x43 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x43 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x43 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x43
func (*PlayWorldBorderLerpSize_758_0) DecodeFrom ¶
func (p *PlayWorldBorderLerpSize_758_0) DecodeFrom(r *PacketReader) error
func (PlayWorldBorderLerpSize_758_0) Encode ¶
func (p PlayWorldBorderLerpSize_758_0) Encode(b *PacketBuilder)
type PlayWorldBorderSize_758_0 ¶
type PlayWorldBorderSize_758_0 struct { /* Length of a single side of the world border, in meters. */ Diameter Double // Double }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x44 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x44 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x44 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x44
func (*PlayWorldBorderSize_758_0) DecodeFrom ¶
func (p *PlayWorldBorderSize_758_0) DecodeFrom(r *PacketReader) error
func (PlayWorldBorderSize_758_0) Encode ¶
func (p PlayWorldBorderSize_758_0) Encode(b *PacketBuilder)
type PlayWorldBorderWarningDelay_758_0 ¶
type PlayWorldBorderWarningDelay_758_0 struct { /* In seconds as set by /worldborder warning time. */ WarningTime VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x45 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x45 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x45 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x45
func (*PlayWorldBorderWarningDelay_758_0) DecodeFrom ¶
func (p *PlayWorldBorderWarningDelay_758_0) DecodeFrom(r *PacketReader) error
func (PlayWorldBorderWarningDelay_758_0) Encode ¶
func (p PlayWorldBorderWarningDelay_758_0) Encode(b *PacketBuilder)
type PlayWorldBorderWarningReach_758_0 ¶
type PlayWorldBorderWarningReach_758_0 struct { /* In meters. */ WarningBlocks VarInt // VarInt }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x46 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x46 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x46 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x46
func (*PlayWorldBorderWarningReach_758_0) DecodeFrom ¶
func (p *PlayWorldBorderWarningReach_758_0) DecodeFrom(r *PacketReader) error
func (PlayWorldBorderWarningReach_758_0) Encode ¶
func (p PlayWorldBorderWarningReach_758_0) Encode(b *PacketBuilder)
type PlayWorldBorder_316_6 ¶
type PlayWorldBorder_316_6 struct { }
Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x35 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x35 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x35 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x35
type PlayWorldBorder_340_4 ¶
type PlayWorldBorder_340_4 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x38 Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x38
type PlayWorldBorder_753_1 ¶
type PlayWorldBorder_753_1 struct { }
Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x3d Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x3d
type PlayWorldEvent_763_0 ¶
type PlayWorldEvent_763_0 struct { /* The event, see below. */ Event Int // Int /* The location of the event. */ Location Position // Position /* Extra data for certain events, see below. */ Data Int // Int /* See above. */ DisableRelativeVolume Bool // Boolean }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x25 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x25 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x21 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x22 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x20
func (*PlayWorldEvent_763_0) DecodeFrom ¶
func (p *PlayWorldEvent_763_0) DecodeFrom(r *PacketReader) error
func (PlayWorldEvent_763_0) Encode ¶
func (p PlayWorldEvent_763_0) Encode(b *PacketBuilder)
type PlayerAbilitiesServer_578_1 ¶
type PlayerAbilitiesServer_578_1 struct { /* Bit mask. 0x08: damage disabled (god mode), 0x04: can fly, 0x02: is flying, 0x01: is Creative */ Flags Byte // Byte FlyingSpeed Float // Float WalkingSpeed Float // Float }
Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x19 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x19 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x17 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x13 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x13 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x13 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x12 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x12 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x12 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x12 Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x13
func (*PlayerAbilitiesServer_578_1) DecodeFrom ¶
func (p *PlayerAbilitiesServer_578_1) DecodeFrom(r *PacketReader) error
func (PlayerAbilitiesServer_578_1) Encode ¶
func (p PlayerAbilitiesServer_578_1) Encode(b *PacketBuilder)
type PlayerAbilitiesServer_763_0 ¶
type PlayerAbilitiesServer_763_0 struct { /* Bit mask. 0x02: is flying */ Flags Byte // Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1c Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1c Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1b Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1c Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1b Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x19 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x19 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x19 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x19 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1a Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1a
func (*PlayerAbilitiesServer_763_0) DecodeFrom ¶
func (p *PlayerAbilitiesServer_763_0) DecodeFrom(r *PacketReader) error
func (PlayerAbilitiesServer_763_0) Encode ¶
func (p PlayerAbilitiesServer_763_0) Encode(b *PacketBuilder)
type PlayerAbilities_763_0 ¶
type PlayerAbilities_763_0 struct { /* Bit field, see below */ Flags Byte // Byte FlyingSpeed Float // Float /* Modifies the field of view, like a speed potion. A Notchian server will use the same value as the movement speed (send in the Entity Properties packet). */ FieldOfViewModifier Float // Float }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x34 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x34 Protocol=761; ProtocolName=1.19.3; State=play; Bound=client; ID=0x30 Protocol=760; ProtocolName=1.19.2; State=play; Bound=client; ID=0x31 Protocol=759; ProtocolName=1.19; State=play; Bound=client; ID=0x2f Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x32 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x32 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x32 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x32 Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x30 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x30 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x32 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x31 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x2e Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2c Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2c Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2b Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2b Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2b Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2b Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2b Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x39
func (*PlayerAbilities_763_0) DecodeFrom ¶
func (p *PlayerAbilities_763_0) DecodeFrom(r *PacketReader) error
func (PlayerAbilities_763_0) Encode ¶
func (p PlayerAbilities_763_0) Encode(b *PacketBuilder)
type PlayerAction_763_0 ¶
type PlayerAction_763_0 struct { /* The action the player is taking against the block (see below). */ Status VarInt // VarInt Enum /* Block position. */ Location Position // Position /* The face being hit (see below). */ Face Byte // Byte Enum Sequence VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1d Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1d Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1c Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1d Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1c
func (*PlayerAction_763_0) DecodeFrom ¶
func (p *PlayerAction_763_0) DecodeFrom(r *PacketReader) error
func (PlayerAction_763_0) Encode ¶
func (p PlayerAction_763_0) Encode(b *PacketBuilder)
type PlayerBlockPlacement_210_2 ¶
type PlayerBlockPlacement_210_2 struct { /* Block position */ Location Position // Position /* The face on which the block is placed (as documented at Player Digging) */ Face VarInt // VarInt Enum /* The hand from which the block is placed; 0: main hand, 1: off hand */ Hand VarInt // VarInt Enum /* The position of the crosshair on the block, from 0 to 15 increasing from west to east */ CursorPositionX UByte // Unsigned Byte /* The position of the crosshair on the block, from 0 to 15 increasing from bottom to top */ CursorPositionY UByte // Unsigned Byte /* The position of the crosshair on the block, from 0 to 15 increasing from north to south */ CursorPositionZ UByte // Unsigned Byte }
Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x1c Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x1c
func (*PlayerBlockPlacement_210_2) DecodeFrom ¶
func (p *PlayerBlockPlacement_210_2) DecodeFrom(r *PacketReader) error
func (PlayerBlockPlacement_210_2) Encode ¶
func (p PlayerBlockPlacement_210_2) Encode(b *PacketBuilder)
type PlayerBlockPlacement_404_1 ¶
type PlayerBlockPlacement_404_1 struct { /* Block position */ Location Position // Position /* The face on which the block is placed (as documented at Player Digging) */ Face VarInt // VarInt Enum /* The hand from which the block is placed; 0: main hand, 1: off hand */ Hand VarInt // VarInt Enum /* The position of the crosshair on the block, from 0 to 1 increasing from west to east */ CursorPositionX Float // Float /* The position of the crosshair on the block, from 0 to 1 increasing from bottom to top */ CursorPositionY Float // Float /* The position of the crosshair on the block, from 0 to 1 increasing from north to south */ CursorPositionZ Float // Float }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x29 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x1f Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x1f Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x1f Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x1c Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x1c
func (*PlayerBlockPlacement_404_1) DecodeFrom ¶
func (p *PlayerBlockPlacement_404_1) DecodeFrom(r *PacketReader) error
func (PlayerBlockPlacement_404_1) Encode ¶
func (p PlayerBlockPlacement_404_1) Encode(b *PacketBuilder)
type PlayerBlockPlacement_758_0 ¶
type PlayerBlockPlacement_758_0 struct { /* The hand from which the block is placed; 0: main hand, 1: off hand */ Hand VarInt // VarInt Enum /* Block position */ Location Position // Position /* The face on which the block is placed (as documented at Player Digging) */ Face VarInt // VarInt Enum /* The position of the crosshair on the block, from 0 to 1 increasing from west to east */ CursorPositionX Float // Float /* The position of the crosshair on the block, from 0 to 1 increasing from bottom to top */ CursorPositionY Float // Float /* The position of the crosshair on the block, from 0 to 1 increasing from north to south */ CursorPositionZ Float // Float /* True when the player's head is inside of a block. */ InsideBlock Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x2e Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x2e Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x2e Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x2e Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x2e Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x2e Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x2c Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x2c
func (*PlayerBlockPlacement_758_0) DecodeFrom ¶
func (p *PlayerBlockPlacement_758_0) DecodeFrom(r *PacketReader) error
func (PlayerBlockPlacement_758_0) Encode ¶
func (p PlayerBlockPlacement_758_0) Encode(b *PacketBuilder)
type PlayerChatMessage_763_0 ¶
type PlayerChatMessage_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x35 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x35
type PlayerCommand_763_0 ¶
type PlayerCommand_763_0 struct { /* Player ID */ EntityID VarInt // VarInt /* The ID of the action, see below. */ ActionID VarInt // VarInt Enum /* Only used by the “start jump with horse” action, in which case it ranges from 0 to 100. In all other cases it is 0. */ JumpBoost VarInt // VarInt }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1e Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1e Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1d Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1e Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1d
func (*PlayerCommand_763_0) DecodeFrom ¶
func (p *PlayerCommand_763_0) DecodeFrom(r *PacketReader) error
func (PlayerCommand_763_0) Encode ¶
func (p PlayerCommand_763_0) Encode(b *PacketBuilder)
type PlayerDigging_758_0 ¶
type PlayerDigging_758_0 struct { /* The action the player is taking against the block (see below) */ Status VarInt // VarInt Enum /* Block position */ Location Position // Position /* The face being hit (see below) */ Face Byte // Byte Enum }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x1a Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x1a Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x1a Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x1a Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x1b Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x1b Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x1a Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x1a Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x18 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0x14 Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0x14 Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x14 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0x13 Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0x13 Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0x13 Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0x13
func (*PlayerDigging_758_0) DecodeFrom ¶
func (p *PlayerDigging_758_0) DecodeFrom(r *PacketReader) error
func (PlayerDigging_758_0) Encode ¶
func (p PlayerDigging_758_0) Encode(b *PacketBuilder)
type PlayerInfoRemove_763_0 ¶
type PlayerInfoRemove_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x39 Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x39
type PlayerInfoUpdate_763_0 ¶
type PlayerInfoUpdate_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=client; ID=0x3a Protocol=762; ProtocolName=1.19.4; State=play; Bound=client; ID=0x3a
type PlayerInfo_754_3 ¶
type PlayerInfo_754_3 struct { }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x32 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x32
type PlayerInfo_758_2 ¶
type PlayerInfo_758_2 struct { }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x36 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x36 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x36 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x36
type PlayerInput_763_0 ¶
type PlayerInput_763_0 struct { /* Positive to the left of the player. */ Sideways Float // Float /* Positive forward. */ Forward Float // Float /* Bit mask. 0x1: jump, 0x2: unmount. */ Flags UByte // Unsigned Byte }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x1f Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x1f Protocol=761; ProtocolName=1.19.3; State=play; Bound=server; ID=0x1e Protocol=760; ProtocolName=1.19.2; State=play; Bound=server; ID=0x1f Protocol=759; ProtocolName=1.19; State=play; Bound=server; ID=0x1e
func (*PlayerInput_763_0) DecodeFrom ¶
func (p *PlayerInput_763_0) DecodeFrom(r *PacketReader) error
func (PlayerInput_763_0) Encode ¶
func (p PlayerInput_763_0) Encode(b *PacketBuilder)
type PlayerListHeaderAndFooter_758_0 ¶
type PlayerListHeaderAndFooter_758_0 struct { // Chat Footer Object // Chat }Header Object
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x5f Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x5f Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x5e Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x5e Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x53 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x53 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x54 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x53 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x4e Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x4a Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x4a Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x49 Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x47 Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x47 Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x47 Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x47 Protocol=47; ProtocolName=1.8.9; State=play; Bound=client; ID=0x47
func (*PlayerListHeaderAndFooter_758_0) DecodeFrom ¶
func (p *PlayerListHeaderAndFooter_758_0) DecodeFrom(r *PacketReader) error
func (PlayerListHeaderAndFooter_758_0) Encode ¶
func (p PlayerListHeaderAndFooter_758_0) Encode(b *PacketBuilder)
type PlayerListItem_315_2 ¶
type PlayerListItem_315_2 struct { }
Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2d Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2d Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2d
type PlayerListItem_335_1 ¶
type PlayerListItem_335_1 struct { }
Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2d Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2d
type PlayerListItem_340_0 ¶
type PlayerListItem_340_0 struct { }
Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2e Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2e
type PlayerLook_404_0 ¶
type PlayerLook_404_0 struct { /* Absolute rotation on the X Axis, in degrees */ Yaw Float // Float /* Absolute rotation on the Y Axis, in degrees */ Pitch Float // Float /* True if the client is on the ground, False otherwise */ OnGround Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x12 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0xf Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0xf Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0x10 Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0xe Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0xe Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0xe Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0xe Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x5
func (*PlayerLook_404_0) DecodeFrom ¶
func (p *PlayerLook_404_0) DecodeFrom(r *PacketReader) error
func (PlayerLook_404_0) Encode ¶
func (p PlayerLook_404_0) Encode(b *PacketBuilder)
type PlayerMovement_758_0 ¶
type PlayerMovement_758_0 struct { /* True if the client is on the ground, false otherwise */ OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x14 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x14 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x14 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x14 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x15 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x15 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x14 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x14
func (*PlayerMovement_758_0) DecodeFrom ¶
func (p *PlayerMovement_758_0) DecodeFrom(r *PacketReader) error
func (PlayerMovement_758_0) Encode ¶
func (p PlayerMovement_758_0) Encode(b *PacketBuilder)
type PlayerPositionAndLookServer_404_0 ¶
type PlayerPositionAndLookServer_404_0 struct { /* Absolute position */ X Double // Double /* Absolute feet position, normally Head Y - 1.62 */ FeetY Double // Double /* Absolute position */ Z Double // Double /* Absolute rotation on the X Axis, in degrees */ Yaw Float // Float /* Absolute rotation on the Y Axis, in degrees */ Pitch Float // Float /* True if the client is on the ground, false otherwise */ OnGround Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x11 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0xe Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0xe Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0xf Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0xd Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0xd Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0xd Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0xd Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x6
func (*PlayerPositionAndLookServer_404_0) DecodeFrom ¶
func (p *PlayerPositionAndLookServer_404_0) DecodeFrom(r *PacketReader) error
func (PlayerPositionAndLookServer_404_0) Encode ¶
func (p PlayerPositionAndLookServer_404_0) Encode(b *PacketBuilder)
type PlayerPositionAndLook_754_1 ¶
type PlayerPositionAndLook_754_1 struct { /* Absolute or relative position, depending on Flags */ X Double // Double /* Absolute or relative position, depending on Flags */ Y Double // Double /* Absolute or relative position, depending on Flags */ Z Double // Double /* Absolute or relative rotation on the X axis, in degrees */ Yaw Float // Float /* Absolute or relative rotation on the Y axis, in degrees */ Pitch Float // Float /* Bit field, see below */ Flags Byte // Byte /* Client should confirm this packet with Teleport Confirm containing the same Teleport ID */ TeleportID VarInt // VarInt }
Protocol=754; ProtocolName=1.16.5; State=play; Bound=client; ID=0x34 Protocol=753; ProtocolName=1.16.3; State=play; Bound=client; ID=0x34 Protocol=578; ProtocolName=1.15.2; State=play; Bound=client; ID=0x36 Protocol=498; ProtocolName=1.14.4; State=play; Bound=client; ID=0x35 Protocol=404; ProtocolName=1.13.2; State=play; Bound=client; ID=0x32 Protocol=340; ProtocolName=1.12.2; State=play; Bound=client; ID=0x2f Protocol=338; ProtocolName=1.12.1; State=play; Bound=client; ID=0x2f Protocol=335; ProtocolName=1.12; State=play; Bound=client; ID=0x2e Protocol=316; ProtocolName=1.11.2; State=play; Bound=client; ID=0x2e Protocol=315; ProtocolName=1.11; State=play; Bound=client; ID=0x2e Protocol=210; ProtocolName=1.10.2; State=play; Bound=client; ID=0x2e Protocol=110; ProtocolName=1.9.4; State=play; Bound=client; ID=0x2e
func (*PlayerPositionAndLook_754_1) DecodeFrom ¶
func (p *PlayerPositionAndLook_754_1) DecodeFrom(r *PacketReader) error
func (PlayerPositionAndLook_754_1) Encode ¶
func (p PlayerPositionAndLook_754_1) Encode(b *PacketBuilder)
type PlayerPositionAndLook_758_0 ¶
type PlayerPositionAndLook_758_0 struct { /* Absolute or relative position, depending on Flags. */ X Double // Double /* Absolute or relative position, depending on Flags. */ Y Double // Double /* Absolute or relative position, depending on Flags. */ Z Double // Double /* Absolute or relative rotation on the X axis, in degrees. */ Yaw Float // Float /* Absolute or relative rotation on the Y axis, in degrees. */ Pitch Float // Float /* Bit field, see below. */ Flags Byte // Byte /* Client should confirm this packet with Teleport Confirm containing the same Teleport ID. */ TeleportID VarInt // VarInt /* True if the player should dismount their vehicle. */ DismountVehicle Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=client; ID=0x38 Protocol=757; ProtocolName=1.18.1; State=play; Bound=client; ID=0x38 Protocol=756; ProtocolName=1.17.1; State=play; Bound=client; ID=0x38 Protocol=755; ProtocolName=1.17; State=play; Bound=client; ID=0x38
func (*PlayerPositionAndLook_758_0) DecodeFrom ¶
func (p *PlayerPositionAndLook_758_0) DecodeFrom(r *PacketReader) error
func (PlayerPositionAndLook_758_0) Encode ¶
func (p PlayerPositionAndLook_758_0) Encode(b *PacketBuilder)
type PlayerPositionAndRotation_758_0 ¶
type PlayerPositionAndRotation_758_0 struct { /* Absolute position */ X Double // Double /* Absolute feet position, normally Head Y - 1.62 */ FeetY Double // Double /* Absolute position */ Z Double // Double /* Absolute rotation on the X Axis, in degrees */ Yaw Float // Float /* Absolute rotation on the Y Axis, in degrees */ Pitch Float // Float /* True if the client is on the ground, false otherwise */ OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x12 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x12 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x12 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x12 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x13 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x13 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x12 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x12
func (*PlayerPositionAndRotation_758_0) DecodeFrom ¶
func (p *PlayerPositionAndRotation_758_0) DecodeFrom(r *PacketReader) error
func (PlayerPositionAndRotation_758_0) Encode ¶
func (p PlayerPositionAndRotation_758_0) Encode(b *PacketBuilder)
type PlayerPosition_758_0 ¶
type PlayerPosition_758_0 struct { /* Absolute position */ X Double // Double /* Absolute feet position, normally Head Y - 1.62 */ FeetY Double // Double /* Absolute position */ Z Double // Double /* True if the client is on the ground, false otherwise */ OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x11 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x11 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x11 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x11 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x12 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x12 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x11 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x11 Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0x10 Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0xd Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0xd Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0xe Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0xc Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0xc Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0xc Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0xc Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x4
func (*PlayerPosition_758_0) DecodeFrom ¶
func (p *PlayerPosition_758_0) DecodeFrom(r *PacketReader) error
func (PlayerPosition_758_0) Encode ¶
func (p PlayerPosition_758_0) Encode(b *PacketBuilder)
type PlayerRotation_758_0 ¶
type PlayerRotation_758_0 struct { /* Absolute rotation on the X Axis, in degrees */ Yaw Float // Float /* Absolute rotation on the Y Axis, in degrees */ Pitch Float // Float /* True if the client is on the ground, False otherwise */ OnGround Bool // Boolean }
Protocol=758; ProtocolName=1.18.2; State=play; Bound=server; ID=0x13 Protocol=757; ProtocolName=1.18.1; State=play; Bound=server; ID=0x13 Protocol=756; ProtocolName=1.17.1; State=play; Bound=server; ID=0x13 Protocol=755; ProtocolName=1.17; State=play; Bound=server; ID=0x13 Protocol=754; ProtocolName=1.16.5; State=play; Bound=server; ID=0x14 Protocol=753; ProtocolName=1.16.3; State=play; Bound=server; ID=0x14 Protocol=578; ProtocolName=1.15.2; State=play; Bound=server; ID=0x13 Protocol=498; ProtocolName=1.14.4; State=play; Bound=server; ID=0x13
func (*PlayerRotation_758_0) DecodeFrom ¶
func (p *PlayerRotation_758_0) DecodeFrom(r *PacketReader) error
func (PlayerRotation_758_0) Encode ¶
func (p PlayerRotation_758_0) Encode(b *PacketBuilder)
type PlayerSession_763_0 ¶
type PlayerSession_763_0 struct { }
Protocol=763; ProtocolName=1.20; State=play; Bound=server; ID=0x6 Protocol=762; ProtocolName=1.19.4; State=play; Bound=server; ID=0x6
type Player_404_0 ¶
type Player_404_0 struct { /* True if the client is on the ground, false otherwise */ OnGround Bool // Boolean }
Protocol=404; ProtocolName=1.13.2; State=play; Bound=server; ID=0xf Protocol=340; ProtocolName=1.12.2; State=play; Bound=server; ID=0xc Protocol=338; ProtocolName=1.12.1; State=play; Bound=server; ID=0xc Protocol=335; ProtocolName=1.12; State=play; Bound=server; ID=0xd Protocol=316; ProtocolName=1.11.2; State=play; Bound=server; ID=0xf Protocol=315; ProtocolName=1.11; State=play; Bound=server; ID=0xf Protocol=210; ProtocolName=1.10.2; State=play; Bound=server; ID=0xf Protocol=110; ProtocolName=1.9.4; State=play; Bound=server; ID=0xf Protocol=47; ProtocolName=1.8.9; State=play; Bound=server; ID=0x3
func (*Player_404_0) DecodeFrom ¶
func (p *Player_404_0) DecodeFrom(r *PacketReader) error
func (Player_404_0) Encode ¶
func (p Player_404_0) Encode(b *PacketBuilder)