Documentation
¶
Index ¶
Constants ¶
View Source
const ( LoginDisconnect = ClientboundLoginLoginDisconnect LoginEncryptionRequest = ClientboundLoginHello LoginSuccess = ClientboundLoginLoginFinished LoginCompression = ClientboundLoginLoginCompression LoginPluginRequest = ClientboundLoginCustomQuery ClientboundLoginDisconnect = ClientboundLoginLoginDisconnect ClientboundLoginEncryptionRequest = ClientboundLoginHello ClientboundLoginSuccess = ClientboundLoginLoginFinished ClientboundLoginCompression = ClientboundLoginLoginCompression ClientboundLoginPluginRequest = ClientboundLoginCustomQuery )
Login Clientbound
Deprecated: Legacy name, might be removed in future version
View Source
const ( LoginStart = ServerboundLoginHello LoginEncryptionResponse = ServerboundLoginKey LoginPluginResponse = ServerboundLoginCustomQueryAnswer ServerboundLoginStart = ServerboundLoginHello ServerboundLoginEncryptionResponse = ServerboundLoginKey ServerboundLoginPluginResponse = ServerboundLoginCustomQueryAnswer ServerboundLoginAcknowledged = ServerboundLoginLoginAcknowledged )
Login Serverbound
Deprecated: Legacy name, might be removed in future version
View Source
const ( StatusResponse = ClientboundStatusStatusResponse StatusPongResponse = ClientboundStatusPongResponse ClientboundStatusResponse = ClientboundStatusStatusResponse )
Status Clientbound
Deprecated: Legacy name, might be removed in future version
View Source
const ( StatusRequest = ServerboundStatusStatusRequest StatusPingRequest = ServerboundStatusPingRequest ServerboundStatusRequest = ServerboundStatusStatusRequest )
Status Serverbound
Deprecated: Legacy name, might be removed in future version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientboundPacketID ¶
type ClientboundPacketID int32
const ( ClientboundLoginLoginDisconnect ClientboundPacketID = iota ClientboundLoginHello ClientboundLoginLoginFinished ClientboundLoginLoginCompression ClientboundLoginCustomQuery ClientboundLoginCookieRequest )
Login Clientbound
const ( ClientboundStatusStatusResponse ClientboundPacketID = iota ClientboundStatusPongResponse )
Status Clientbound
const ( ClientboundConfigCookieRequest ClientboundPacketID = iota ClientboundConfigCustomPayload ClientboundConfigDisconnect ClientboundConfigFinishConfiguration ClientboundConfigKeepAlive ClientboundConfigPing ClientboundConfigResetChat ClientboundConfigRegistryData ClientboundConfigResourcePackPop ClientboundConfigResourcePackPush ClientboundConfigStoreCookie ClientboundConfigTransfer ClientboundConfigUpdateEnabledFeatures ClientboundConfigUpdateTags ClientboundConfigSelectKnownPacks ClientboundConfigCustomReportDetails ClientboundConfigServerLinks ClientboundConfigClearDialog ClientboundConfigShowDialog )
Configuration Clientbound
const ( BundleDelimiter ClientboundPacketID = iota ClientboundAddEntity ClientboundAnimate ClientboundAwardStats ClientboundBlockChangedAck ClientboundBlockDestruction ClientboundBlockEntityData ClientboundBlockEvent ClientboundBlockUpdate ClientboundBossEvent ClientboundChangeDifficulty ClientboundChunkBatchFinished ClientboundChunkBatchStart ClientboundChunksBiomes ClientboundClearTitles ClientboundCommandSuggestions ClientboundCommands ClientboundContainerClose ClientboundContainerSetContent ClientboundContainerSetData ClientboundContainerSetSlot ClientboundCookieRequest ClientboundCooldown ClientboundCustomChatCompletions ClientboundCustomPayload ClientboundDamageEvent ClientboundDebugSample ClientboundDeleteChat ClientboundDisconnect ClientboundDisguisedChat ClientboundEntityEvent ClientboundEntityPositionSync ClientboundExplode ClientboundForgetLevelChunk ClientboundGameEvent ClientboundHorseScreenOpen ClientboundHurtAnimation ClientboundInitializeBorder ClientboundKeepAlive ClientboundLevelChunkWithLight ClientboundLevelEvent ClientboundLevelParticles ClientboundLightUpdate ClientboundLogin ClientboundMapItemData ClientboundMerchantOffers ClientboundMoveEntityPos ClientboundMoveEntityPosRot ClientboundMoveMinecartAlongTrack ClientboundMoveEntityRot ClientboundMoveVehicle ClientboundOpenBook ClientboundOpenScreen ClientboundOpenSignEditor ClientboundPing ClientboundPongResponse ClientboundPlaceGhostRecipe ClientboundPlayerAbilities ClientboundPlayerChat ClientboundPlayerCombatEnd ClientboundPlayerCombatEnter ClientboundPlayerCombatKill ClientboundPlayerInfoRemove ClientboundPlayerInfoUpdate ClientboundPlayerLookAt ClientboundPlayerPosition ClientboundPlayerRotation ClientboundRecipeBookAdd ClientboundRecipeBookRemove ClientboundRecipeBookSettings ClientboundRemoveEntities ClientboundRemoveMobEffect ClientboundResetScore ClientboundResourcePackPop ClientboundResourcePackPush ClientboundRespawn ClientboundRotateHead ClientboundSectionBlocksUpdate ClientboundSelectAdvancementsTab ClientboundServerData ClientboundSetActionBarText ClientboundSetBorderCenter ClientboundSetBorderLerpSize ClientboundSetBorderSize ClientboundSetBorderWarningDelay ClientboundSetBorderWarningDistance ClientboundSetCamera ClientboundSetChunkCacheCenter ClientboundSetChunkCacheRadius ClientboundSetCursorItem ClientboundSetDefaultSpawnPosition ClientboundSetDisplayObjective ClientboundSetEntityData ClientboundSetEntityLink ClientboundSetEntityMotion ClientboundSetEquipment ClientboundSetExperience ClientboundSetHealth ClientboundSetHeldSlot ClientboundSetObjective ClientboundSetPassengers ClientboundSetPlayerInventory ClientboundSetPlayerTeam ClientboundSetScore ClientboundSetSimulationDistance ClientboundSetSubtitleText ClientboundSetTime ClientboundSetTitleText ClientboundSetTitlesAnimation ClientboundSoundEntity ClientboundSound ClientboundStartConfiguration ClientboundStopSound ClientboundStoreCookie ClientboundSystemChat ClientboundTabList ClientboundTagQuery ClientboundTakeItemEntity ClientboundTeleportEntity ClientboundTestInstanceBlockStatus ClientboundTickingState ClientboundTickingStep ClientboundTransfer ClientboundUpdateAdvancements ClientboundUpdateAttributes ClientboundUpdateMobEffect ClientboundUpdateRecipes ClientboundUpdateTags ClientboundProjectilePower ClientboundCustomReportDetails ClientboundServerLinks ClientboundWaypoint ClientboundClearDialog ClientboundShowDialog ClientboundPacketIDGuard )
Game Clientbound
func (ClientboundPacketID) String ¶
func (i ClientboundPacketID) String() string
type ServerboundPacketID ¶
type ServerboundPacketID int32
const ( ServerboundLoginHello ServerboundPacketID = iota ServerboundLoginKey ServerboundLoginCustomQueryAnswer ServerboundLoginLoginAcknowledged ServerboundLoginCookieResponse )
Login Serverbound
const ( ServerboundStatusStatusRequest ServerboundPacketID = iota ServerboundStatusPingRequest )
Status Serverbound
const ( ServerboundConfigClientInformation ServerboundPacketID = iota ServerboundConfigCookieResponse ServerboundConfigCustomPayload ServerboundConfigFinishConfiguration ServerboundConfigKeepAlive ServerboundConfigPong ServerboundConfigResourcePack ServerboundConfigSelectKnownPacks ServerboundConfigCustomClickAction )
Configuration Serverbound
const ( ServerboundAcceptTeleportation ServerboundPacketID = iota ServerboundBlockEntityTagQuery ServerboundBundleItemSelected ServerboundChangeDifficulty ServerboundChangeGameMode ServerboundChatAck ServerboundChatCommand ServerboundChatCommandSigned ServerboundChat ServerboundChatSessionUpdate ServerboundChunkBatchReceived ServerboundClientCommand ServerboundClientTickEnd ServerboundClientInformation ServerboundCommandSuggestion ServerboundConfigurationAcknowledged ServerboundContainerButtonClick ServerboundContainerClick ServerboundContainerClose ServerboundContainerSlotStateChanged ServerboundCookieResponse ServerboundCustomPayload ServerboundDebugSampleSubscription ServerboundEditBook ServerboundEntityTagQuery ServerboundInteract ServerboundJigsawGenerate ServerboundKeepAlive ServerboundLockDifficulty ServerboundMovePlayerPos ServerboundMovePlayerPosRot ServerboundMovePlayerRot ServerboundMovePlayerStatusOnly ServerboundMoveVehicle ServerboundPaddleBoat ServerboundPickItemFromBlock ServerboundPickItemFromEntity ServerboundPingRequest ServerboundPlaceRecipe ServerboundPlayerAbilities ServerboundPlayerAction ServerboundPlayerCommand ServerboundPlayerInput ServerboundPlayerLoaded ServerboundPong ServerboundRecipeBookChangeSettings ServerboundRecipeBookSeenRecipe ServerboundRenameItem ServerboundResourcePack ServerboundSeenAdvancements ServerboundSelectTrade ServerboundSetBeacon ServerboundSetCarriedItem ServerboundSetCommandBlock ServerboundSetCommandMinecart ServerboundSetCreativeModeSlot ServerboundSetJigsawBlock ServerboundSetStructureBlock ServerboundSetTestBlock ServerboundSignUpdate ServerboundSwing ServerboundTeleportToEntity ServerboundTestInstanceBlockAction ServerboundUseItemOn ServerboundUseItem ServerboundCustomClickAction ServerboundPacketIDGuard )
Game Serverbound
func (ServerboundPacketID) String ¶
func (i ServerboundPacketID) String() string
Click to show internal directories.
Click to hide internal directories.