Documentation ¶
Index ¶
Constants ¶
View Source
const ( LoginDisconnect = iota LoginEncryptionRequest LoginSuccess LoginCompression LoginPluginRequest )
Login Clientbound
View Source
const ( LoginStart = iota LoginEncryptionResponse LoginPluginResponse )
Login Serverbound
View Source
const ( StatusResponse = iota StatusPongResponse )
Status Clientbound
View Source
const ( StatusRequest = iota StatusPingRequest )
Status Serverbound
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientboundPacketID ¶
type ClientboundPacketID int32
const ( ClientboundAddEntity ClientboundPacketID = iota ClientboundAddExperienceOrb ClientboundAddPlayer ClientboundAnimate ClientboundAwardStats ClientboundBlockChangedAck ClientboundBlockDestruction ClientboundBlockEntityData ClientboundBlockEvent ClientboundBlockUpdate ClientboundBossEvent ClientboundChangeDifficulty ClientboundClearTitles ClientboundCommandSuggestions ClientboundCommands ClientboundContainerClose ClientboundContainerSetContent ClientboundContainerSetData ClientboundContainerSetSlot ClientboundCooldown ClientboundCustomChatCompletions ClientboundCustomPayload ClientboundDeleteChat ClientboundDisconnect ClientboundDisguisedChat ClientboundEntityEvent ClientboundExplode ClientboundForgetLevelChunk ClientboundGameEvent ClientboundHorseScreenOpen ClientboundInitializeBorder ClientboundKeepAlive ClientboundLevelChunkWithLight ClientboundLevelEvent ClientboundLevelParticles ClientboundLightUpdate ClientboundLogin ClientboundMapItemData ClientboundMerchantOffers ClientboundMoveEntityPos ClientboundMoveEntityPosRot ClientboundMoveEntityRot ClientboundMoveVehicle ClientboundOpenBook ClientboundOpenScreen ClientboundOpenSignEditor ClientboundPing ClientboundPlaceGhostRecipe ClientboundPlayerAbilities ClientboundPlayerChat ClientboundPlayerCombatEnd ClientboundPlayerCombatEnter ClientboundPlayerCombatKill ClientboundPlayerInfoRemove ClientboundPlayerInfoUpdate ClientboundPlayerLookAt ClientboundPlayerPosition ClientboundRecipe ClientboundRemoveEntities ClientboundRemoveMobEffect ClientboundResourcePack ClientboundRespawn ClientboundRotateHead ClientboundSectionBlocksUpdate ClientboundSelectAdvancementsTab ClientboundServerData ClientboundSetActionBarText ClientboundSetBorderCenter ClientboundSetBorderLerpSize ClientboundSetBorderSize ClientboundSetBorderWarningDelay ClientboundSetBorderWarningDistance ClientboundSetCamera ClientboundSetCarriedItem ClientboundSetChunkCacheCenter ClientboundSetChunkCacheRadius ClientboundSetDefaultSpawnPosition ClientboundSetDisplayObjective ClientboundSetEntityData ClientboundSetEntityLink ClientboundSetEntityMotion ClientboundSetEquipment ClientboundSetExperience ClientboundSetHealth ClientboundSetObjective ClientboundSetPassengers ClientboundSetPlayerTeam ClientboundSetScore ClientboundSetSimulationDistance ClientboundSetSubtitleText ClientboundSetTime ClientboundSetTitleText ClientboundSetTitlesAnimation ClientboundSoundEntity ClientboundSound ClientboundStopSound ClientboundSystemChat ClientboundTabList ClientboundTagQuery ClientboundTakeItemEntity ClientboundTeleportEntity ClientboundUpdateAdvancements ClientboundUpdateAttributes ClientboundUpdateEnabledFeatures ClientboundUpdateMobEffect ClientboundUpdateRecipes ClientboundUpdateTags ClientboundPacketIDGuard )
Game Clientbound
func (ClientboundPacketID) String ¶
func (i ClientboundPacketID) String() string
type ServerboundPacketID ¶
type ServerboundPacketID int32
const ( ServerboundAcceptTeleportation ServerboundPacketID = iota ServerboundBlockEntityTagQuery ServerboundChangeDifficulty ServerboundChatAck ServerboundChatCommand ServerboundChat ServerboundClientCommand ServerboundClientInformation ServerboundCommandSuggestion ServerboundContainerButtonClick ServerboundContainerClick ServerboundContainerClose ServerboundCustomPayload ServerboundEditBook ServerboundEntityTagQuery ServerboundInteract ServerboundJigsawGenerate ServerboundKeepAlive ServerboundLockDifficulty ServerboundMovePlayerPos ServerboundMovePlayerPosRot ServerboundMovePlayerRot ServerboundMovePlayerStatusOnly ServerboundMoveVehicle ServerboundPaddleBoat ServerboundPickItem ServerboundPlaceRecipe ServerboundPlayerAbilities ServerboundPlayerAction ServerboundPlayerCommand ServerboundPlayerInput ServerboundPong ServerboundChatSessionUpdate ServerboundRecipeBookChangeSettings ServerboundRecipeBookSeenRecipe ServerboundRenameItem ServerboundResourcePack ServerboundSeenAdvancements ServerboundSelectTrade ServerboundSetBeacon ServerboundSetCarriedItem ServerboundSetCommandBlock ServerboundSetCommandMinecart ServerboundSetCreativeModeSlot ServerboundSetJigsawBlock ServerboundSetStructureBlock ServerboundSignUpdate ServerboundSwing ServerboundTeleportToEntity ServerboundUseItemOn ServerboundUseItem ServerboundPacketIDGuard )
Game Serverbound
func (ServerboundPacketID) String ¶
func (i ServerboundPacketID) String() string
Click to show internal directories.
Click to hide internal directories.