Documentation
¶
Index ¶
- type LoginDisconnectPkt
- type LoginEncryptionRequestPkt
- type LoginEncryptionResponsePkt
- type LoginPluginRequestPkt
- type LoginPluginResponsePkt
- type LoginSetCompressionPkt
- type LoginStartPkt
- type LoginSuccessPkt
- type PlayAdvancementTabPkt
- type PlayAdvancementsPkt
- type PlayAnimationClientPkt
- type PlayAnimationServerPkt
- type PlayAttachEntityPkt
- type PlayBlockActionPkt
- type PlayBlockBreakAnimationPkt
- type PlayBlockChangePkt
- type PlayBossBarPkt
- type PlayCameraPkt
- type PlayChangeGameStatePkt
- type PlayChatMessageClientPkt
- type PlayChatMessageServerPkt
- type PlayChunkDataPkt
- type PlayClickWindowPkt
- type PlayClientSettingsPkt
- type PlayClientStatusPkt
- type PlayCloseWindowClientPkt
- type PlayCloseWindowServerPkt
- type PlayCollectItemPkt
- type PlayCombatEventPkt
- type PlayConfirmTransactionClientPkt
- type PlayConfirmTransactionServerPkt
- type PlayCraftRecipeRequestPkt
- type PlayCraftRecipeResponsePkt
- type PlayCreativeInventoryActionPkt
- type PlayDeclareCommandsPkt
- type PlayDeclareRecipesPkt
- type PlayDestroyEntitiesPkt
- type PlayDisconnectPkt
- type PlayDisplayScoreboardPkt
- type PlayEditBookPkt
- type PlayEffectPkt
- type PlayEnchantItemPkt
- type PlayEntityActionPkt
- type PlayEntityEffectPkt
- type PlayEntityEquipmentPkt
- type PlayEntityHeadLookPkt
- type PlayEntityLookAndRelativeMovePkt
- type PlayEntityLookPkt
- type PlayEntityMetadataPkt
- type PlayEntityPkt
- type PlayEntityPropertiesPkt
- type PlayEntityRelativeMovePkt
- type PlayEntityStatusPkt
- type PlayEntityTeleportPkt
- type PlayEntityVelocityPkt
- type PlayExplosionPkt
- type PlayFacePlayerPkt
- type PlayHeldItemChangeClientPkt
- type PlayHeldItemChangeServerPkt
- type PlayJoinGamePkt
- type PlayKeepAliveClientPkt
- type PlayKeepAliveServerPkt
- type PlayMapDataPkt
- type PlayMultiBlockChangePkt
- type PlayNBTQueryResponsePkt
- type PlayNameItemPkt
- type PlayNamedSoundEffectPkt
- type PlayOpenSignEditorPkt
- type PlayOpenWindowPkt
- type PlayParticlePkt
- type PlayPickItemPkt
- type PlayPluginMessageClientPkt
- type PlayPluginMessageServerPkt
- type PlayQueryBlockNBTPkt
- type PlayQueryEntityNBTPkt
- type PlayRecipeBookDataPkt
- type PlayRemoveEntityEffectPkt
- type PlayResourcePackSendPkt
- type PlayResourcePackStatusPkt
- type PlayRespawnPkt
- type PlayScoreboardObjectivePkt
- type PlaySelectAdvancementTabPkt
- type PlaySelectTradePkt
- type PlayServerDifficultyPkt
- type PlaySetBeaconEffectPkt
- type PlaySetCooldownPkt
- type PlaySetExperiencePkt
- type PlaySetPassengersPkt
- type PlaySetSlotPkt
- type PlaySoundEffectPkt
- type PlaySpawnExperienceOrbPkt
- type PlaySpawnGlobalEntityPkt
- type PlaySpawnMobPkt
- type PlaySpawnObjectPkt
- type PlaySpawnPaintingPkt
- type PlaySpawnPlayerPkt
- type PlaySpawnPositionPkt
- type PlaySpectatePkt
- type PlayStatisticsPkt
- type PlaySteerBoatPkt
- type PlaySteerVehiclePkt
- type PlayStopSoundPkt
- type PlayTabCompleteClientPkt
- type PlayTabCompleteServerPkt
- type PlayTagsPkt
- type PlayTeamsPkt
- type PlayTeleportConfirmPkt
- type PlayTimeUpdatePkt
- type PlayTitlePkt
- type PlayUnloadChunkPkt
- type PlayUnlockRecipesPkt
- type PlayUpdateBlockEntityPkt
- type PlayUpdateCommandBlockMinecartPkt
- type PlayUpdateCommandBlockPkt
- type PlayUpdateHealthPkt
- type PlayUpdateScorePkt
- type PlayUpdateSignPkt
- type PlayUpdateStructureBlockPkt
- type PlayUseBedPkt
- type PlayUseEntityPkt
- type PlayUseItemPkt
- type PlayVehicleMoveClientPkt
- type PlayVehicleMoveServerPkt
- type PlayWindowItemsPkt
- type PlayWindowPropertyPkt
- type PlayWorldBorderPkt
- type PlayerAbilitiesClientPkt
- type PlayerAbilitiesServerPkt
- type PlayerBlockPlacementPkt
- type PlayerDiggingPkt
- type PlayerInfoPkt
- type PlayerListHeaderAndFooterPkt
- type PlayerLookPkt
- type PlayerPkt
- type PlayerPositionAndLookClientPkt
- type PlayerPositionAndLookServerPkt
- type PlayerPositionPkt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginEncryptionRequestPkt ¶
type LoginEncryptionRequestPkt = internal.LoginEncryptionRequest_763_0
ID=0x1
type LoginEncryptionResponsePkt ¶
type LoginEncryptionResponsePkt = internal.LoginEncryptionResponse_758_2
ID=0x1
type LoginPluginResponsePkt ¶
type LoginPluginResponsePkt = internal.LoginPluginResponse_763_0
ID=0x2
type LoginSetCompressionPkt ¶
type LoginSetCompressionPkt = internal.LoginSetCompression_763_0
ID=0x3
type PlayAnimationServerPkt ¶
type PlayAnimationServerPkt = internal.PlayAnimationServer_404_0
ID=0x27
type PlayBlockBreakAnimationPkt ¶
type PlayBlockBreakAnimationPkt = internal.PlayBlockBreakAnimation_758_0
ID=0x8
type PlayChangeGameStatePkt ¶
type PlayChangeGameStatePkt = internal.PlayChangeGameState_758_0
ID=0x20
type PlayChatMessageClientPkt ¶
type PlayChatMessageClientPkt = internal.PlayChatMessage_578_4
ID=0xe
type PlayChatMessageServerPkt ¶
type PlayChatMessageServerPkt = internal.PlayChatMessageServer_758_0
ID=0x2
type PlayChunkDataPkt ¶
type PlayChunkDataPkt 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 /* 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 }
ID=0x22
func (*PlayChunkDataPkt) DecodeFrom ¶
func (p *PlayChunkDataPkt) DecodeFrom(r *PacketReader) error
func (PlayChunkDataPkt) Encode ¶
func (p PlayChunkDataPkt) Encode(b *PacketBuilder)
type PlayCloseWindowClientPkt ¶
type PlayCloseWindowClientPkt = internal.PlayCloseWindow_758_0
ID=0x13
type PlayCloseWindowServerPkt ¶
type PlayCloseWindowServerPkt = internal.PlayCloseWindowServer_758_0
ID=0x9
type PlayConfirmTransactionClientPkt ¶
type PlayConfirmTransactionClientPkt = internal.PlayConfirmTransaction_404_0
ID=0x12
type PlayConfirmTransactionServerPkt ¶
type PlayConfirmTransactionServerPkt = internal.PlayConfirmTransactionServer_404_0
ID=0x6
type PlayCraftRecipeRequestPkt ¶
type PlayCraftRecipeRequestPkt = internal.PlayCraftRecipeRequest_758_0
ID=0x16
type PlayCraftRecipeResponsePkt ¶
type PlayCraftRecipeResponsePkt = internal.PlayCraftRecipeResponse_758_0
ID=0x2d
type PlayCreativeInventoryActionPkt ¶
type PlayCreativeInventoryActionPkt = internal.PlayCreativeInventoryAction_758_0
ID=0x24
type PlayDeclareCommandsPkt ¶
type PlayDeclareCommandsPkt = internal.PlayDeclareCommands_758_0
ID=0x11
type PlayDestroyEntitiesPkt ¶
type PlayDestroyEntitiesPkt = internal.PlayDestroyEntities_758_0
ID=0x35
type PlayDisplayScoreboardPkt ¶
type PlayDisplayScoreboardPkt = internal.PlayDisplayScoreboard_758_0
ID=0x3e
type PlayEntityEquipmentPkt ¶
type PlayEntityEquipmentPkt = internal.PlayEntityEquipment_578_2
ID=0x42
type PlayEntityLookAndRelativeMovePkt ¶
type PlayEntityLookAndRelativeMovePkt = internal.PlayEntityLookAndRelativeMove_404_0
ID=0x29
type PlayEntityRelativeMovePkt ¶
type PlayEntityRelativeMovePkt = internal.PlayEntityRelativeMove_404_0
ID=0x28
type PlayHeldItemChangeClientPkt ¶
type PlayHeldItemChangeClientPkt = internal.PlayHeldItemChange_758_0
ID=0x3d
type PlayHeldItemChangeServerPkt ¶
type PlayHeldItemChangeServerPkt = internal.PlayHeldItemChangeServer_758_0
ID=0x21
type PlayKeepAliveServerPkt ¶
type PlayKeepAliveServerPkt = internal.PlayKeepAliveServer_763_0
ID=0xe
type PlayMultiBlockChangePkt ¶
type PlayMultiBlockChangePkt = internal.PlayMultiBlockChange_498_2
ID=0xf
type PlayNBTQueryResponsePkt ¶
type PlayNBTQueryResponsePkt = internal.PlayNBTQueryResponse_758_0
ID=0x1d
type PlayNamedSoundEffectPkt ¶
type PlayNamedSoundEffectPkt = internal.PlayNamedSoundEffect_758_0
ID=0x1a
type PlayPluginMessageClientPkt ¶
type PlayPluginMessageClientPkt = internal.PlayPluginMessage_763_0
ID=0x19
type PlayPluginMessageServerPkt ¶
type PlayPluginMessageServerPkt = internal.PlayPluginMessageServer_763_0
ID=0xa
type PlayRemoveEntityEffectPkt ¶
type PlayRemoveEntityEffectPkt = internal.PlayRemoveEntityEffect_757_1
ID=0x36
type PlayResourcePackSendPkt ¶
type PlayResourcePackSendPkt = internal.PlayResourcePackSend_754_1
ID=0x37
type PlayResourcePackStatusPkt ¶
type PlayResourcePackStatusPkt = internal.PlayResourcePackStatus_758_0
ID=0x1d
type PlayScoreboardObjectivePkt ¶
type PlayScoreboardObjectivePkt = internal.PlayScoreboardObjective_758_0
ID=0x45
type PlaySelectAdvancementTabPkt ¶
type PlaySelectAdvancementTabPkt = internal.PlaySelectAdvancementTab_758_0
ID=0x3a
type PlayServerDifficultyPkt ¶
type PlayServerDifficultyPkt = internal.PlayServerDifficulty_404_1
ID=0xd
type PlaySetBeaconEffectPkt ¶
type PlaySetBeaconEffectPkt = internal.PlaySetBeaconEffect_758_2
ID=0x20
type PlaySpawnExperienceOrbPkt ¶
type PlaySpawnExperienceOrbPkt = internal.PlaySpawnExperienceOrb_763_0
ID=0x1
type PlaySpawnGlobalEntityPkt ¶
type PlaySpawnGlobalEntityPkt = internal.PlaySpawnGlobalEntity_498_0
ID=0x2
type PlayTabCompleteClientPkt ¶
type PlayTabCompleteClientPkt = internal.PlayTabComplete_498_4
ID=0x10
type PlayTabCompleteServerPkt ¶
type PlayTabCompleteServerPkt = internal.PlayTabCompleteServer_758_0
ID=0x5
type PlayTagsPkt ¶
type PlayTagsPkt 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) }
ID=0x55
func (*PlayTagsPkt) DecodeFrom ¶
func (p *PlayTagsPkt) DecodeFrom(r *PacketReader) error
func (PlayTagsPkt) Encode ¶
func (p PlayTagsPkt) Encode(b *PacketBuilder)
type PlayTeleportConfirmPkt ¶
type PlayTeleportConfirmPkt = internal.PlayTeleportConfirm_758_0
ID=0x0
type PlayUpdateBlockEntityPkt ¶
type PlayUpdateBlockEntityPkt = internal.PlayUpdateBlockEntity_498_0
ID=0x9
type PlayUpdateCommandBlockMinecartPkt ¶
type PlayUpdateCommandBlockMinecartPkt = internal.PlayUpdateCommandBlockMinecart_758_0
ID=0x23
type PlayUpdateCommandBlockPkt ¶
type PlayUpdateCommandBlockPkt = internal.PlayUpdateCommandBlock_758_0
ID=0x22
type PlayUpdateStructureBlockPkt ¶
type PlayUpdateStructureBlockPkt = internal.PlayUpdateStructureBlock_758_0
ID=0x25
type PlayVehicleMoveClientPkt ¶
type PlayVehicleMoveClientPkt = internal.PlayVehicleMove_758_0
ID=0x2b
type PlayVehicleMoveServerPkt ¶
type PlayVehicleMoveServerPkt = internal.PlayVehicleMoveServer_758_0
ID=0x13
type PlayerAbilitiesClientPkt ¶
type PlayerAbilitiesClientPkt = internal.PlayerAbilities_763_0
ID=0x2e
type PlayerAbilitiesServerPkt ¶
type PlayerAbilitiesServerPkt = internal.PlayerAbilitiesServer_578_1
ID=0x17
type PlayerBlockPlacementPkt ¶
type PlayerBlockPlacementPkt = internal.PlayerBlockPlacement_404_1
ID=0x29
type PlayerListHeaderAndFooterPkt ¶
type PlayerListHeaderAndFooterPkt = internal.PlayerListHeaderAndFooter_758_0
ID=0x4e
type PlayerPositionAndLookClientPkt ¶
type PlayerPositionAndLookClientPkt = internal.PlayerPositionAndLook_754_1
ID=0x32
type PlayerPositionAndLookServerPkt ¶
type PlayerPositionAndLookServerPkt = internal.PlayerPositionAndLookServer_404_0
ID=0x11
Click to show internal directories.
Click to hide internal directories.