packet_1_13_2

package
v0.0.0-...-88676e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginDisconnectPkt

type LoginDisconnectPkt = internal.LoginDisconnect_763_0

ID=0x0

type LoginEncryptionRequestPkt

type LoginEncryptionRequestPkt = internal.LoginEncryptionRequest_763_0

ID=0x1

type LoginEncryptionResponsePkt

type LoginEncryptionResponsePkt = internal.LoginEncryptionResponse_758_2

ID=0x1

type LoginPluginRequestPkt

type LoginPluginRequestPkt = internal.LoginPluginRequest_763_0

ID=0x4

type LoginPluginResponsePkt

type LoginPluginResponsePkt = internal.LoginPluginResponse_763_0

ID=0x2

type LoginSetCompressionPkt

type LoginSetCompressionPkt = internal.LoginSetCompression_763_0

ID=0x3

type LoginStartPkt

type LoginStartPkt = internal.LoginStart_758_2

ID=0x0

type LoginSuccessPkt

type LoginSuccessPkt = internal.LoginSuccess_578_2

ID=0x2

type PlayAdvancementTabPkt

type PlayAdvancementTabPkt = internal.PlayAdvancementTab_758_0

ID=0x1e

type PlayAdvancementsPkt

type PlayAdvancementsPkt struct {
}

ID=0x51

type PlayAnimationClientPkt

type PlayAnimationClientPkt = internal.PlayAnimation_404_1

ID=0x6

type PlayAnimationServerPkt

type PlayAnimationServerPkt = internal.PlayAnimationServer_404_0

ID=0x27

type PlayAttachEntityPkt

type PlayAttachEntityPkt = internal.PlayAttachEntity_758_0

ID=0x40

type PlayBlockActionPkt

type PlayBlockActionPkt = internal.PlayBlockAction_758_1

ID=0xa

type PlayBlockBreakAnimationPkt

type PlayBlockBreakAnimationPkt = internal.PlayBlockBreakAnimation_758_0

ID=0x8

type PlayBlockChangePkt

type PlayBlockChangePkt = internal.PlayBlockChange_758_0

ID=0xb

type PlayBossBarPkt

type PlayBossBarPkt = internal.PlayBossBar_404_5

ID=0xc

type PlayCameraPkt

type PlayCameraPkt = internal.PlayCamera_758_0

ID=0x3c

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 PlayClickWindowPkt

type PlayClickWindowPkt = internal.PlayClickWindow_754_4

ID=0x8

type PlayClientSettingsPkt

type PlayClientSettingsPkt = internal.PlayClientSettings_754_2

ID=0x4

type PlayClientStatusPkt

type PlayClientStatusPkt = internal.PlayClientStatus_758_0

ID=0x3

type PlayCloseWindowClientPkt

type PlayCloseWindowClientPkt = internal.PlayCloseWindow_758_0

ID=0x13

type PlayCloseWindowServerPkt

type PlayCloseWindowServerPkt = internal.PlayCloseWindowServer_758_0

ID=0x9

type PlayCollectItemPkt

type PlayCollectItemPkt = internal.PlayCollectItem_758_0

ID=0x4f

type PlayCombatEventPkt

type PlayCombatEventPkt struct {
}

ID=0x2f

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 PlayDeclareRecipesPkt

type PlayDeclareRecipesPkt struct {
}

ID=0x54

type PlayDestroyEntitiesPkt

type PlayDestroyEntitiesPkt = internal.PlayDestroyEntities_758_0

ID=0x35

type PlayDisconnectPkt

type PlayDisconnectPkt = internal.PlayDisconnect_763_0

ID=0x1b

type PlayDisplayScoreboardPkt

type PlayDisplayScoreboardPkt = internal.PlayDisplayScoreboard_758_0

ID=0x3e

type PlayEditBookPkt

type PlayEditBookPkt = internal.PlayEditBook_755_4

ID=0xb

type PlayEffectPkt

type PlayEffectPkt = internal.PlayEffect_758_0

ID=0x23

type PlayEnchantItemPkt

type PlayEnchantItemPkt = internal.PlayEnchantItem_404_0

ID=0x7

type PlayEntityActionPkt

type PlayEntityActionPkt = internal.PlayEntityAction_758_0

ID=0x19

type PlayEntityEffectPkt

type PlayEntityEffectPkt = internal.PlayEntityEffect_757_2

ID=0x53

type PlayEntityEquipmentPkt

type PlayEntityEquipmentPkt = internal.PlayEntityEquipment_578_2

ID=0x42

type PlayEntityHeadLookPkt

type PlayEntityHeadLookPkt = internal.PlayEntityHeadLook_758_0

ID=0x39

type PlayEntityLookAndRelativeMovePkt

type PlayEntityLookAndRelativeMovePkt = internal.PlayEntityLookAndRelativeMove_404_0

ID=0x29

type PlayEntityLookPkt

type PlayEntityLookPkt = internal.PlayEntityLook_404_0

ID=0x2a

type PlayEntityMetadataPkt

type PlayEntityMetadataPkt = internal.PlayEntityMetadata_758_0

ID=0x3f

type PlayEntityPkt

type PlayEntityPkt = internal.PlayEntity_404_0

ID=0x27

type PlayEntityPropertiesPkt

type PlayEntityPropertiesPkt struct {
}

ID=0x52

type PlayEntityRelativeMovePkt

type PlayEntityRelativeMovePkt = internal.PlayEntityRelativeMove_404_0

ID=0x28

type PlayEntityStatusPkt

type PlayEntityStatusPkt = internal.PlayEntityStatus_758_0

ID=0x1c

type PlayEntityTeleportPkt

type PlayEntityTeleportPkt = internal.PlayEntityTeleport_758_0

ID=0x50

type PlayEntityVelocityPkt

type PlayEntityVelocityPkt = internal.PlayEntityVelocity_758_0

ID=0x41

type PlayExplosionPkt

type PlayExplosionPkt = internal.PlayExplosion_498_3

ID=0x1e

type PlayFacePlayerPkt

type PlayFacePlayerPkt = internal.PlayFacePlayer_757_0

ID=0x31

type PlayHeldItemChangeClientPkt

type PlayHeldItemChangeClientPkt = internal.PlayHeldItemChange_758_0

ID=0x3d

type PlayHeldItemChangeServerPkt

type PlayHeldItemChangeServerPkt = internal.PlayHeldItemChangeServer_758_0

ID=0x21

type PlayJoinGamePkt

type PlayJoinGamePkt = internal.PlayJoinGame_404_4

ID=0x25

type PlayKeepAliveClientPkt

type PlayKeepAliveClientPkt = internal.PlayKeepAlive_763_0

ID=0x21

type PlayKeepAliveServerPkt

type PlayKeepAliveServerPkt = internal.PlayKeepAliveServer_763_0

ID=0xe

type PlayMapDataPkt

type PlayMapDataPkt struct {
}

ID=0x26

type PlayMultiBlockChangePkt

type PlayMultiBlockChangePkt = internal.PlayMultiBlockChange_498_2

ID=0xf

type PlayNBTQueryResponsePkt

type PlayNBTQueryResponsePkt = internal.PlayNBTQueryResponse_758_0

ID=0x1d

type PlayNameItemPkt

type PlayNameItemPkt = internal.PlayNameItem_758_0

ID=0x1c

type PlayNamedSoundEffectPkt

type PlayNamedSoundEffectPkt = internal.PlayNamedSoundEffect_758_0

ID=0x1a

type PlayOpenSignEditorPkt

type PlayOpenSignEditorPkt = internal.PlayOpenSignEditor_762_1

ID=0x2c

type PlayOpenWindowPkt

type PlayOpenWindowPkt = internal.PlayOpenWindow_404_1

ID=0x14

type PlayParticlePkt

type PlayParticlePkt = internal.PlayParticle_498_2

ID=0x24

type PlayPickItemPkt

type PlayPickItemPkt = internal.PlayPickItem_763_0

ID=0x15

type PlayPluginMessageClientPkt

type PlayPluginMessageClientPkt = internal.PlayPluginMessage_763_0

ID=0x19

type PlayPluginMessageServerPkt

type PlayPluginMessageServerPkt = internal.PlayPluginMessageServer_763_0

ID=0xa

type PlayQueryBlockNBTPkt

type PlayQueryBlockNBTPkt = internal.PlayQueryBlockNBT_758_0

ID=0x1

type PlayQueryEntityNBTPkt

type PlayQueryEntityNBTPkt = internal.PlayQueryEntityNBT_758_0

ID=0xc

type PlayRecipeBookDataPkt

type PlayRecipeBookDataPkt struct {
}

ID=0x1b

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 PlayRespawnPkt

type PlayRespawnPkt = internal.PlayRespawn_404_8

ID=0x38

type PlayScoreboardObjectivePkt

type PlayScoreboardObjectivePkt = internal.PlayScoreboardObjective_758_0

ID=0x45

type PlaySelectAdvancementTabPkt

type PlaySelectAdvancementTabPkt = internal.PlaySelectAdvancementTab_758_0

ID=0x3a

type PlaySelectTradePkt

type PlaySelectTradePkt = internal.PlaySelectTrade_763_0

ID=0x1f

type PlayServerDifficultyPkt

type PlayServerDifficultyPkt = internal.PlayServerDifficulty_404_1

ID=0xd

type PlaySetBeaconEffectPkt

type PlaySetBeaconEffectPkt = internal.PlaySetBeaconEffect_758_2

ID=0x20

type PlaySetCooldownPkt

type PlaySetCooldownPkt = internal.PlaySetCooldown_763_0

ID=0x18

type PlaySetExperiencePkt

type PlaySetExperiencePkt = internal.PlaySetExperience_760_1

ID=0x43

type PlaySetPassengersPkt

type PlaySetPassengersPkt = internal.PlaySetPassengers_763_0

ID=0x46

type PlaySetSlotPkt

type PlaySetSlotPkt = internal.PlaySetSlot_755_1

ID=0x17

type PlaySoundEffectPkt

type PlaySoundEffectPkt = internal.PlaySoundEffect_758_2

ID=0x4d

type PlaySpawnExperienceOrbPkt

type PlaySpawnExperienceOrbPkt = internal.PlaySpawnExperienceOrb_763_0

ID=0x1

type PlaySpawnGlobalEntityPkt

type PlaySpawnGlobalEntityPkt = internal.PlaySpawnGlobalEntity_498_0

ID=0x2

type PlaySpawnMobPkt

type PlaySpawnMobPkt = internal.PlaySpawnMob_498_0

ID=0x3

type PlaySpawnObjectPkt

type PlaySpawnObjectPkt = internal.PlaySpawnObject_404_1

ID=0x0

type PlaySpawnPaintingPkt

type PlaySpawnPaintingPkt = internal.PlaySpawnPainting_758_0

ID=0x4

type PlaySpawnPlayerPkt

type PlaySpawnPlayerPkt = internal.PlaySpawnPlayer_498_1

ID=0x5

type PlaySpawnPositionPkt

type PlaySpawnPositionPkt = internal.PlaySpawnPosition_754_1

ID=0x49

type PlaySpectatePkt

type PlaySpectatePkt = internal.PlaySpectate_758_0

ID=0x28

type PlayStatisticsPkt

type PlayStatisticsPkt = internal.PlayStatistics_498_3

ID=0x7

type PlaySteerBoatPkt

type PlaySteerBoatPkt = internal.PlaySteerBoat_758_0

ID=0x14

type PlaySteerVehiclePkt

type PlaySteerVehiclePkt = internal.PlaySteerVehicle_758_0

ID=0x1a

type PlayStopSoundPkt

type PlayStopSoundPkt = internal.PlayStopSound_763_0

ID=0x4c

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 PlayTeamsPkt

type PlayTeamsPkt struct {
}

ID=0x47

type PlayTeleportConfirmPkt

type PlayTeleportConfirmPkt = internal.PlayTeleportConfirm_758_0

ID=0x0

type PlayTimeUpdatePkt

type PlayTimeUpdatePkt = internal.PlayTimeUpdate_758_0

ID=0x4a

type PlayTitlePkt

type PlayTitlePkt struct {
}

ID=0x4b

type PlayUnloadChunkPkt

type PlayUnloadChunkPkt = internal.PlayUnloadChunk_763_0

ID=0x1f

type PlayUnlockRecipesPkt

type PlayUnlockRecipesPkt = internal.PlayUnlockRecipes_578_2

ID=0x34

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 PlayUpdateHealthPkt

type PlayUpdateHealthPkt = internal.PlayUpdateHealth_758_0

ID=0x44

type PlayUpdateScorePkt

type PlayUpdateScorePkt = internal.PlayUpdateScore_757_1

ID=0x48

type PlayUpdateSignPkt

type PlayUpdateSignPkt = internal.PlayUpdateSign_762_1

ID=0x26

type PlayUpdateStructureBlockPkt

type PlayUpdateStructureBlockPkt = internal.PlayUpdateStructureBlock_758_0

ID=0x25

type PlayUseBedPkt

type PlayUseBedPkt = internal.PlayUseBed_404_0

ID=0x33

type PlayUseEntityPkt

type PlayUseEntityPkt = internal.PlayUseEntity_404_0

ID=0xd

type PlayUseItemPkt

type PlayUseItemPkt = internal.PlayUseItem_758_1

ID=0x2a

type PlayVehicleMoveClientPkt

type PlayVehicleMoveClientPkt = internal.PlayVehicleMove_758_0

ID=0x2b

type PlayVehicleMoveServerPkt

type PlayVehicleMoveServerPkt = internal.PlayVehicleMoveServer_758_0

ID=0x13

type PlayWindowItemsPkt

type PlayWindowItemsPkt = internal.PlayWindowItems_755_1

ID=0x15

type PlayWindowPropertyPkt

type PlayWindowPropertyPkt = internal.PlayWindowProperty_758_0

ID=0x16

type PlayWorldBorderPkt

type PlayWorldBorderPkt struct {
}

ID=0x3b

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 PlayerDiggingPkt

type PlayerDiggingPkt = internal.PlayerDigging_758_0

ID=0x18

type PlayerInfoPkt

type PlayerInfoPkt struct {
}

ID=0x30

type PlayerListHeaderAndFooterPkt

type PlayerListHeaderAndFooterPkt = internal.PlayerListHeaderAndFooter_758_0

ID=0x4e

type PlayerLookPkt

type PlayerLookPkt = internal.PlayerLook_404_0

ID=0x12

type PlayerPkt

type PlayerPkt = internal.Player_404_0

ID=0xf

type PlayerPositionAndLookClientPkt

type PlayerPositionAndLookClientPkt = internal.PlayerPositionAndLook_754_1

ID=0x32

type PlayerPositionAndLookServerPkt

type PlayerPositionAndLookServerPkt = internal.PlayerPositionAndLookServer_404_0

ID=0x11

type PlayerPositionPkt

type PlayerPositionPkt = internal.PlayerPosition_758_0

ID=0x10

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL