@minecraft
    正在准备搜索索引...

    枚举 PacketId

    Represents the unique type of network packet.

    索引

    枚举成员

    ActorEventPacket ActorPickRequestPacket AddActorPacket AddBehaviorTreePacket AddItemActorPacket AddPaintingPacket AddPlayerPacket AddVolumeEntityPacket AgentActionEventPacket AgentAnimationPacket AnimateEntityPacket AnimatePacket AnvilDamagePacket AutomationClientConnectPacket AvailableActorIdentifiersPacket AvailableCommandsPacket AwardAchievementPacket BiomeDefinitionListPacket BlockActorDataPacket BlockEventPacket BlockPickRequestPacket BookEditPacket BossEventPacket CameraAimAssistActorPriorityPacket CameraAimAssistPacket CameraAimAssistPresetsPacket CameraInstructionPacket CameraPacket CameraPresetsPacket CameraShakePacket CameraSplinePacket ChangeDimensionPacket ChangeMobPropertyPacket ChunkRadiusUpdatedPacket ClientboundAttributeLayerSyncPacket ClientboundCloseFormPacket ClientboundControlSchemeSetPacket ClientboundDataDrivenUICloseScreenPacket ClientboundDataDrivenUIReloadPacket ClientboundDataDrivenUIShowScreenPacket ClientboundDataStorePacket ClientboundDebugRendererPacket ClientboundMapItemDataPacket ClientboundTextureShiftPacket ClientCacheBlobStatusPacket ClientCacheMissResponsePacket ClientCacheStatusPacket ClientCameraAimAssistPacket ClientMovementPredictionSyncPacket ClientToServerHandshakePacket CodeBuilderPacket CodeBuilderSourcePacket CommandBlockUpdatePacket CommandOutputPacket CommandRequestPacket CompletedUsingItemPacket ContainerClosePacket ContainerOpenPacket ContainerRegistryCleanupPacket ContainerSetDataPacket CorrectPlayerMovePredictionPacket CraftingDataPacket CreatePhotoPacket CreativeContentPacket CurrentStructureFeaturePacket DeathInfoPacket DebugDrawerPacket DebugInfoPacket DimensionDataPacket DisconnectPacket EditorNetworkPacket EducationSettingsPacket EduUriResourcePacket EmoteListPacket EmotePacket FeatureRegistryPacket GameRulesChangedPacket GameTestRequestPacket GameTestResultsPacket GraphicsOverrideParameterPacket GuiDataPickItemPacket HurtArmorPacket InteractPacket InventoryContentPacket InventorySlotPacket InventoryTransactionPacket ItemRegistryPacket ItemStackRequestPacket ItemStackResponsePacket JigsawStructureDataPacket LabTablePacket LecternUpdatePacket LegacyTelemetryEventPacket LessonProgressPacket LevelChunkPacket LevelEventGenericPacket LevelEventPacket LevelSoundEventPacket LocatorBarPacket LoginPacket MapCreateLockedCopyPacket MapInfoRequestPacket MobArmorEquipmentPacket MobEffectPacket MobEquipmentPacket ModalFormRequestPacket ModalFormResponsePacket MotionPredictionHintsPacket MoveActorAbsolutePacket MoveActorDeltaPacket MovementEffectPacket MovePlayerPacket MultiplayerSettingsPacket NetworkChunkPublisherUpdatePacket NetworkSettingsPacket NetworkStackLatencyPacket NpcDialoguePacket NpcRequestPacket OnScreenTextureAnimationPacket OpenSignPacket PacketViolationWarningPacket PartyChangedPacket PhotoTransferPacket PlayerActionPacket PlayerArmorDamagePacket PlayerAuthInputPacket PlayerEnchantOptionsPacket PlayerFogPacket PlayerHotbarPacket PlayerListPacket PlayerLocationPacket PlayerSkinPacket PlayerStartItemCooldownPacket PlayerToggleCrafterSlotRequestPacket PlayerUpdateEntityOverridesPacket PlaySoundPacket PlayStatusPacket PositionTrackingDBClientRequestPacket PositionTrackingDBServerBroadcastPacket PurchaseReceiptPacket RefreshEntitlementsPacket RemoveActorPacket RemoveObjectivePacket RemoveVolumeEntityPacket RequestAbilityPacket RequestChunkRadiusPacket RequestNetworkSettingsPacket RequestPermissionsPacket ResourcePackChunkDataPacket ResourcePackChunkRequestPacket ResourcePackClientResponsePacket ResourcePackDataInfoPacket ResourcePacksInfoPacket ResourcePacksReadyForValidationPacket ResourcePackStackPacket RespawnPacket ScriptMessagePacket ServerboundDataDrivenScreenClosedPacket ServerboundDataStorePacket ServerboundDiagnosticsPacket ServerboundLoadingScreenPacket ServerboundPackSettingChangePacket ServerPlayerPostMovePositionPacket ServerSettingsRequestPacket ServerSettingsResponsePacket ServerStatsPacket ServerToClientHandshakePacket SetActorDataPacket SetActorLinkPacket SetActorMotionPacket SetCommandsEnabledPacket SetDefaultGameTypePacket SetDifficultyPacket SetDisplayObjectivePacket SetHealthPacket SetHudPacket SetLastHurtByPacket SetLocalPlayerAsInitializedPacket SetPlayerGameTypePacket SetPlayerInventoryOptionsPacket SetScoreboardIdentityPacket SetScorePacket SetSpawnPositionPacket SetTimePacket SettingsCommandPacket SetTitlePacket ShowCreditsPacket ShowProfilePacket ShowStoreOfferPacket SimpleEventPacket SimulationTypePacket SpawnExperienceOrbPacket SpawnParticleEffectPacket StartGamePacket StopSoundPacket StructureBlockUpdatePacket StructureTemplateDataRequestPacket StructureTemplateDataResponsePacket SubChunkPacket SubChunkRequestPacket SubClientLoginPacket SyncActorPropertyPacket SyncWorldClocksPacket TakeItemActorPacket TextPacket TickingAreasLoadStatusPacket ToastRequestPacket TransferPacket TrimDataPacket UnlockedRecipesPacket UpdateAbilitiesPacket UpdateAdventureSettingsPacket UpdateAttributesPacket UpdateBlockPacket UpdateBlockSyncedPacket UpdateClientInputLocksPacket UpdateClientOptionsPacket UpdateEquipPacket UpdatePlayerGameTypePacket UpdateSoftEnumPacket UpdateSubChunkBlocksPacket UpdateTradePacket VoxelShapesPacket

    枚举成员

    ActorEventPacket: "ActorEventPacket"

    All kinds of actor state changes (see Actor::handleEntityEvent).

    ActorPickRequestPacket: "ActorPickRequestPacket"

    Player clicks on an actor in the world, eg a chicken.

    AddActorPacket: "AddActorPacket"
    AddBehaviorTreePacket: "AddBehaviorTreePacket"

    Add Behavior Tree

    AddItemActorPacket: "AddItemActorPacket"
    AddPaintingPacket: "AddPaintingPacket"

    Sends the information for a new painting actor from server to client.

    AddPlayerPacket: "AddPlayerPacket"
    AddVolumeEntityPacket: "AddVolumeEntityPacket"

    Sends a volume entity's definition and components from server to client.

    AgentActionEventPacket: "AgentActionEventPacket"

    packet containing data of Agent Action Type

    AgentAnimationPacket: "AgentAnimationPacket"

    Broadcasted to other players when an Agent performs an animation so it gets properly replicated.

    AnimateEntityPacket: "AnimateEntityPacket"

    The AnimateEntityPacket is used to trigger a one - off animation on the client it is sent to.

    AnimatePacket: "AnimatePacket"

    Animate Actor

    AnvilDamagePacket: "AnvilDamagePacket"

    Requests an anvil to be damaged.

    AutomationClientConnectPacket: "AutomationClientConnectPacket"

    Initiates websocket connection

    AvailableActorIdentifiersPacket: "AvailableActorIdentifiersPacket"

    Sends the whole list of actor identifiers at game start from the server.

    AvailableCommandsPacket: "AvailableCommandsPacket"

    Contains all the available commands.

    AwardAchievementPacket: "AwardAchievementPacket"

    Contains the ID of the achievement to award

    BiomeDefinitionListPacket: "BiomeDefinitionListPacket"
    BlockActorDataPacket: "BlockActorDataPacket"

    Sends the entire user data compound tag and the block position to the client.

    BlockEventPacket: "BlockEventPacket"

    Whenever a block event happens it is sent from the server to sync client and server, with arbitrarily encoded information in b0 and b1.

    BlockPickRequestPacket: "BlockPickRequestPacket"

    Player picks up a block in the world; client to server.

    BookEditPacket: "BookEditPacket"

    Sends the updated state of the Book and Quill item from client to server during use.

    BossEventPacket: "BossEventPacket"
    CameraAimAssistActorPriorityPacket: "CameraAimAssistActorPriorityPacket"

    Camera aim-assist actor priority data sent from the server to clients.

    CameraAimAssistPacket: "CameraAimAssistPacket"

    CameraAimAssist

    CameraAimAssistPresetsPacket: "CameraAimAssistPresetsPacket"

    Camera aim-assist registry presets/categories data sent from the server to clients.

    CameraInstructionPacket: "CameraInstructionPacket"

    Used to send a CameraInstruction from the server to the specified clients.

    CameraPacket: "CameraPacket"

    Used only in EDU through the tripod camera item or the TakePictureCommand. Sends the camera actor id and the target player id from the server.

    CameraPresetsPacket: "CameraPresetsPacket"

    Used to sync CameraPresets data from server to clients.

    CameraShakePacket: "CameraShakePacket"

    Used to control trigger camera shake movements on the client's player camera

    CameraSplinePacket: "CameraSplinePacket"

    Camera custom spline data sent from server to client.

    ChangeDimensionPacket: "ChangeDimensionPacket"

    The server sends this packet from the level to kick off dimension changing process.

    ChangeMobPropertyPacket: "ChangeMobPropertyPacket"

    packet containing data for changing mob property

    ChunkRadiusUpdatedPacket: "ChunkRadiusUpdatedPacket"

    Sent when the world is loading. We don't know why it is sent four times. Defines the tick distance.

    ClientboundAttributeLayerSyncPacket: "ClientboundAttributeLayerSyncPacket"
    ClientboundCloseFormPacket: "ClientboundCloseFormPacket"

    Sent from the server to client to force close all server forms on the stack and return to the HUD screen.

    ClientboundControlSchemeSetPacket: "ClientboundControlSchemeSetPacket"

    Set the control scheme that the player should use

    ClientboundDataDrivenUICloseScreenPacket: "ClientboundDataDrivenUICloseScreenPacket"
    ClientboundDataDrivenUIReloadPacket: "ClientboundDataDrivenUIReloadPacket"

    Allows the server to tell the client to reload the Data Driven UI.

    ClientboundDataDrivenUIShowScreenPacket: "ClientboundDataDrivenUIShowScreenPacket"

    Allows the server to tell the client to show a Data Driven UI screen.

    ClientboundDataStorePacket: "ClientboundDataStorePacket"

    Sends a list of data store properties from the server to the client.

    ClientboundDebugRendererPacket: "ClientboundDebugRendererPacket"

    Used to add/remove debug rendering objects.

    ClientboundMapItemDataPacket: "ClientboundMapItemDataPacket"
    ClientboundTextureShiftPacket: "ClientboundTextureShiftPacket"

    Sends a set of update properties for the texture shift system from the server to the client.

    ClientCacheBlobStatusPacket: "ClientCacheBlobStatusPacket"
    ClientCacheMissResponsePacket: "ClientCacheMissResponsePacket"
    ClientCacheStatusPacket: "ClientCacheStatusPacket"

    It is sent by the Client once, at login, to communicate if it supports the cache or not.

    ClientCameraAimAssistPacket: "ClientCameraAimAssistPacket"

    Client-side activation of aim-assist

    ClientMovementPredictionSyncPacket: "ClientMovementPredictionSyncPacket"
    ClientToServerHandshakePacket: "ClientToServerHandshakePacket"

    Sets up encryption and authenticates in educational version once at level startup from client.

    CodeBuilderPacket: "CodeBuilderPacket"

    Code Builder Packet

    CodeBuilderSourcePacket: "CodeBuilderSourcePacket"

    This is EDU exclusive, used in getInterface() of WebviewSystem

    CommandBlockUpdatePacket: "CommandBlockUpdatePacket"
    CommandOutputPacket: "CommandOutputPacket"

    "slash" command execution output, server to client.

    CommandRequestPacket: "CommandRequestPacket"

    "slash" command execution, client to server.

    CompletedUsingItemPacket: "CompletedUsingItemPacket"

    Send server to client to complete the using item process. An example is when you finish drinking or eating.

    ContainerClosePacket: "ContainerClosePacket"

    After the game deletes the container manager on the client, the client sends this packet. Then the server deletes its container manager, and sends a packet back to the client that closes the container screen.

    ContainerOpenPacket: "ContainerOpenPacket"

    Sent from the server so that the client knows to open the container screen and do the chest opening animation.

    ContainerRegistryCleanupPacket: "ContainerRegistryCleanupPacket"

    This is used to trigger a clientside cleanup of the dynamic container registry.

    ContainerSetDataPacket: "ContainerSetDataPacket"

    This is sent from the server basically any time that the "cooking" state of the brewing stand or the furnace changes (i.e. the loading bar)

    CorrectPlayerMovePredictionPacket: "CorrectPlayerMovePredictionPacket"

    Sent to a player when their simulation of movement mismatches enough from the server that it wants to correct the client.

    CraftingDataPacket: "CraftingDataPacket"
    CreatePhotoPacket: "CreatePhotoPacket"

    Players now have the possibility to export photos from their portfolios into photo items in their inventory. EDU.

    CreativeContentPacket: "CreativeContentPacket"
    CurrentStructureFeaturePacket: "CurrentStructureFeaturePacket"

    Informs the client of which Structure Feature they are currently occupying.

    DeathInfoPacket: "DeathInfoPacket"

    Sent from the server to client when player dies (Level::onPlayerDeath).

    DebugDrawerPacket: "DebugDrawerPacket"

    Send debug drawing shape info (from scripting) to the client for rendering

    DebugInfoPacket: "DebugInfoPacket"

    The system sends debug information via a generic network packet. This enables rendering of any server information on the client in for instance ImGui.

    DimensionDataPacket: "DimensionDataPacket"
    DisconnectPacket: "DisconnectPacket"
    EditorNetworkPacket: "EditorNetworkPacket"

    General use Editor specific packet - carries a payload of whatever serialized data that the individual IEditorNetworkPayload generates.

    EducationSettingsPacket: "EducationSettingsPacket"

    Transmits EducationLevelSettings to all clients.

    EduUriResourcePacket: "EduUriResourcePacket"

    Transmits Edu Shared Uri Resource settings to all clients.

    EmoteListPacket: "EmoteListPacket"

    Allows clients to download emotes that other clients have equipped.

    EmotePacket: "EmotePacket"

    A client sends this to the server to notify other clients about the emote.

    FeatureRegistryPacket: "FeatureRegistryPacket"

    This is the packet that tracks the active feature registry data from the server so that client can place the features themselves.

    GameRulesChangedPacket: "GameRulesChangedPacket"

    Updates game rules.

    GameTestRequestPacket: "GameTestRequestPacket"

    Internal Text Packet

    GameTestResultsPacket: "GameTestResultsPacket"

    Game Test Results Packet

    GraphicsOverrideParameterPacket: "GraphicsOverrideParameterPacket"

    Sent from the server to the client when a server script changes the rendering settings

    GuiDataPickItemPacket: "GuiDataPickItemPacket"

    The server telling the client what item slot to hover over in the hotbar.

    HurtArmorPacket: "HurtArmorPacket"

    Hurt Armor

    InteractPacket: "InteractPacket"

    Interact

    InventoryContentPacket: "InventoryContentPacket"
    InventorySlotPacket: "InventorySlotPacket"
    InventoryTransactionPacket: "InventoryTransactionPacket"
    ItemRegistryPacket: "ItemRegistryPacket"

    Item data from the server. Contains component information.

    ItemStackRequestPacket: "ItemStackRequestPacket"
    ItemStackResponsePacket: "ItemStackResponsePacket"
    JigsawStructureDataPacket: "JigsawStructureDataPacket"

    Jigsaw Structure data used by client jigsaw structure worldgen. This packet contains a copy of the behavior pack jigsaw structure rules.

    LabTablePacket: "LabTablePacket"

    For the EDU Chemistry Lab Table block actor.

    LecternUpdatePacket: "LecternUpdatePacket"

    This is used for the Lectern Block Actor.

    LegacyTelemetryEventPacket: "LegacyTelemetryEventPacket"

    Sends telemetry events to the client so the client can then send that on to the eventing system

    LessonProgressPacket: "LessonProgressPacket"

    Lesson Progress

    LevelChunkPacket: "LevelChunkPacket"
    LevelEventGenericPacket: "LevelEventGenericPacket"

    LevelEventGenericPacket

    LevelEventPacket: "LevelEventPacket"

    Splash Potions, weather events, global pause, simlock commands, oh my!

    LevelSoundEventPacket: "LevelSoundEventPacket"

    Level Sound Event

    LocatorBarPacket: "LocatorBarPacket"
    LoginPacket: "LoginPacket"

    Sent once from client to server at login. About 100k.

    MapCreateLockedCopyPacket: "MapCreateLockedCopyPacket"

    This is fired when the user locks a map item utilizing the Cartography Table in game.

    MapInfoRequestPacket: "MapInfoRequestPacket"

    In the case of the client being unable to find map data for a map item it sends a uuid for a map to the server.

    MobArmorEquipmentPacket: "MobArmorEquipmentPacket"
    MobEffectPacket: "MobEffectPacket"

    Mob Effect

    MobEquipmentPacket: "MobEquipmentPacket"
    ModalFormRequestPacket: "ModalFormRequestPacket"

    Modal Form Request

    ModalFormResponsePacket: "ModalFormResponsePacket"

    Fired in response to third party server request to show the custom UI screen.

    MotionPredictionHintsPacket: "MotionPredictionHintsPacket"

    It is essentially a SetActionMotionPacket with a bool indicating if the actor was on the ground at the time the packet is sent or not.

    MoveActorAbsolutePacket: "MoveActorAbsolutePacket"

    This is used primarily for motion updates of all actors from server to client.

    MoveActorDeltaPacket: "MoveActorDeltaPacket"
    MovementEffectPacket: "MovementEffectPacket"

    These packets are sent to the client to update specific MovementEffects

    MovePlayerPacket: "MovePlayerPacket"
    MultiplayerSettingsPacket: "MultiplayerSettingsPacket"

    Syncs multiplayer settings

    NetworkChunkPublisherUpdatePacket: "NetworkChunkPublisherUpdatePacket"

    Tells clients to update the chunk view for the local player.

    NetworkSettingsPacket: "NetworkSettingsPacket"

    Sends tunable options from host to client (compression threshold and algorithm)

    NetworkStackLatencyPacket: "NetworkStackLatencyPacket"

    Ping Packet

    NpcDialoguePacket: "NpcDialoguePacket"

    Sent from the server to client when remote firing an NPC dialogue window for a client

    NpcRequestPacket: "NpcRequestPacket"

    Used for a number of interactions with the NPC Component

    OnScreenTextureAnimationPacket: "OnScreenTextureAnimationPacket"

    On-Screen Texture Animation

    OpenSignPacket: "OpenSignPacket"

    Sent from the server so that the client knows to open the sign screen.

    PacketViolationWarningPacket: "PacketViolationWarningPacket"

    This is sent when the client detects a malformed packet

    PartyChangedPacket: "PartyChangedPacket"
    PhotoTransferPacket: "PhotoTransferPacket"

    There is a camera item in EDU and they can use it to take screenshots and add them to a scrapbook.

    PlayerActionPacket: "PlayerActionPacket"

    Sent from the client whenever the player performs an action (dashing, un-dashing, use an item, mine/hit, use a block, etc).

    PlayerArmorDamagePacket: "PlayerArmorDamagePacket"

    Sent from server whenever the player's armor takes damage.

    PlayerAuthInputPacket: "PlayerAuthInputPacket"
    PlayerEnchantOptionsPacket: "PlayerEnchantOptionsPacket"
    PlayerFogPacket: "PlayerFogPacket"

    Player Fog Packet

    PlayerHotbarPacket: "PlayerHotbarPacket"

    Sent from the server when the player uses pick block on actors or blocks, in addition to the player uses the clear, give, or replace item command or if the serverplayer uses _sendAdditionalLevelData().

    PlayerListPacket: "PlayerListPacket"
    PlayerLocationPacket: "PlayerLocationPacket"
    PlayerSkinPacket: "PlayerSkinPacket"
    PlayerStartItemCooldownPacket: "PlayerStartItemCooldownPacket"

    Player Start Item Cooldown

    PlayerToggleCrafterSlotRequestPacket: "PlayerToggleCrafterSlotRequestPacket"

    PlayerToggleCrafterSlotRequestPacket

    PlayerUpdateEntityOverridesPacket: "PlayerUpdateEntityOverridesPacket"
    PlaySoundPacket: "PlaySoundPacket"

    This packet is only used via command or script event. This is for 3rd party content.

    PlayStatusPacket: "PlayStatusPacket"

    Describes the login status of the player

    PositionTrackingDBClientRequestPacket: "PositionTrackingDBClientRequestPacket"

    Position Tracking DB Client Request

    PositionTrackingDBServerBroadcastPacket: "PositionTrackingDBServerBroadcastPacket"

    Server to client packet for server authoratative runtime database (with persistent LevelStorage backup) designed primarily to track lodestone stuff. See Position Tracking DB Notes.md in bedrock-docs.

    PurchaseReceiptPacket: "PurchaseReceiptPacket"

    Sent from client to server

    RefreshEntitlementsPacket: "RefreshEntitlementsPacket"

    Refresh Entitlements

    RemoveActorPacket: "RemoveActorPacket"

    Occasionally, during the server player tick some time is taken to remove nearby actors from the world.

    RemoveObjectivePacket: "RemoveObjectivePacket"

    Using the scoreboard command, users can remove objectives that are tracked on the scoreboard.

    RemoveVolumeEntityPacket: "RemoveVolumeEntityPacket"

    Sends a volume entity to be removed from server to client.

    RequestAbilityPacket: "RequestAbilityPacket"

    Sent from client to server. Used to request an ability change.

    RequestChunkRadiusPacket: "RequestChunkRadiusPacket"

    The client can't just change the view radius without the server's approval, otherwise there could be holes on unrendered area.

    RequestNetworkSettingsPacket: "RequestNetworkSettingsPacket"

    Requests tunable options from host to client (compression threshold and algorithm).

    RequestPermissionsPacket: "RequestPermissionsPacket"

    Sent from client to server. Used to request a new Permissions Levels.

    ResourcePackChunkDataPacket: "ResourcePackChunkDataPacket"

    Resource Pack Chunk Data

    ResourcePackChunkRequestPacket: "ResourcePackChunkRequestPacket"

    Resource Pack Chunk Request

    ResourcePackClientResponsePacket: "ResourcePackClientResponsePacket"
    ResourcePackDataInfoPacket: "ResourcePackDataInfoPacket"

    Resource Pack Data Info

    ResourcePacksInfoPacket: "ResourcePacksInfoPacket"
    ResourcePacksReadyForValidationPacket: "ResourcePacksReadyForValidationPacket"
    ResourcePackStackPacket: "ResourcePackStackPacket"
    RespawnPacket: "RespawnPacket"

    Sent as a handshake between the client and server to respawn the player.

    ScriptMessagePacket: "ScriptMessagePacket"

    Used to send custom messages between client and server.

    ServerboundDataDrivenScreenClosedPacket: "ServerboundDataDrivenScreenClosedPacket"
    ServerboundDataStorePacket: "ServerboundDataStorePacket"

    Applies a single update to the server data store from the client.

    ServerboundDiagnosticsPacket: "ServerboundDiagnosticsPacket"

    Sent from the client to the server IF ProfilerLite is enabled AND the creator toggle for additional client telemetry is enabled AND new telemetry data is ready (every 500 ms).

    ServerboundLoadingScreenPacket: "ServerboundLoadingScreenPacket"

    Sent from the client to the server to message to the server about the state of the loading screen.

    ServerboundPackSettingChangePacket: "ServerboundPackSettingChangePacket"

    Sent from the client to the server when players change Pack Settings (pack UI).

    ServerPlayerPostMovePositionPacket: "ServerPlayerPostMovePositionPacket"

    Used to send a player's server position to the respective client at the end of movement.

    ServerSettingsRequestPacket: "ServerSettingsRequestPacket"

    Sent during the initialization of world settings on the client.

    ServerSettingsResponsePacket: "ServerSettingsResponsePacket"

    Server Settings Response

    ServerStatsPacket: "ServerStatsPacket"

    Used to send performance and other valuable stats back to the client

    ServerToClientHandshakePacket: "ServerToClientHandshakePacket"

    Server->Client Handshake

    SetActorDataPacket: "SetActorDataPacket"
    SetActorLinkPacket: "SetActorLinkPacket"

    Sent by both client and server, only received by LegacyClientHandler.

    SetActorMotionPacket: "SetActorMotionPacket"

    This is used for the server to set the velocity of a client actor.

    SetCommandsEnabledPacket: "SetCommandsEnabledPacket"

    This is used by the world settings screen, cheats, EDU builds for teachers, and various other places to enable cheats/commands

    SetDefaultGameTypePacket: "SetDefaultGameTypePacket"

    Same as SetPlayerGameTypePacket & UpdatePlayerGameTypePacket, the only difference is that this changes the default for all clients.

    SetDifficultyPacket: "SetDifficultyPacket"

    Set Difficulty

    SetDisplayObjectivePacket: "SetDisplayObjectivePacket"

    Sent from the server for 3rd party content to display current objectives and status

    SetHealthPacket: "SetHealthPacket"

    This packet is sent to the client when the player is spawned in and when they respawn.

    SetHudPacket: "SetHudPacket"

    This packet is only used via the set hud command. This is for 3rd party content.

    SetLastHurtByPacket: "SetLastHurtByPacket"

    Any time a player is hit, the id of the last mob that attacked them is sent to the client

    SetLocalPlayerAsInitializedPacket: "SetLocalPlayerAsInitializedPacket"

    Set Local Player As Initialized

    SetPlayerGameTypePacket: "SetPlayerGameTypePacket"

    Set Player Game Type

    SetPlayerInventoryOptionsPacket: "SetPlayerInventoryOptionsPacket"

    SetPlayerInventoryOptionsPacket

    SetScoreboardIdentityPacket: "SetScoreboardIdentityPacket"
    SetScorePacket: "SetScorePacket"
    SetSpawnPositionPacket: "SetSpawnPositionPacket"

    When a player logs in or the SetWorldSpawnCommand is used this is sent from the server to the client. Does not change when using a bed, that is a separate packet (RespawnPacket)

    SetTimePacket: "SetTimePacket"

    Set Time

    SettingsCommandPacket: "SettingsCommandPacket"

    Requests a setting to be changed through commands.

    SetTitlePacket: "SetTitlePacket"

    Used by 3rd party content for the purpose of showing ui banners

    ShowCreditsPacket: "ShowCreditsPacket"

    Starts on server when the credits screen should pop up.

    ShowProfilePacket: "ShowProfilePacket"

    Show Profile

    ShowStoreOfferPacket: "ShowStoreOfferPacket"

    Used for redirecting a user to the right offer.

    SimpleEventPacket: "SimpleEventPacket"

    This packet is used for enabling/disabling commands and for unlocking world template settings (both unlocking UI buttons on client and the actual setting on the server).

    SimulationTypePacket: "SimulationTypePacket"

    Sent from the server to the client when setting the simulation type for toolbox mode. (Not yet suported)

    SpawnExperienceOrbPacket: "SpawnExperienceOrbPacket"

    Spawn Experience Orb

    SpawnParticleEffectPacket: "SpawnParticleEffectPacket"

    Tell client to spawn a particle effect.

    StartGamePacket: "StartGamePacket"
    StopSoundPacket: "StopSoundPacket"

    Allows you to stop a sound or all sounds on all clients, only used in a /command

    StructureBlockUpdatePacket: "StructureBlockUpdatePacket"
    StructureTemplateDataRequestPacket: "StructureTemplateDataRequestPacket"

    Used to request structure information from a server.

    StructureTemplateDataResponsePacket: "StructureTemplateDataResponsePacket"

    This is used in exporting from load, exporting from save, and querying saved structures from structure blocks.

    SubChunkPacket: "SubChunkPacket"
    SubChunkRequestPacket: "SubChunkRequestPacket"
    SubClientLoginPacket: "SubClientLoginPacket"
    SyncActorPropertyPacket: "SyncActorPropertyPacket"

    Allows us to synchronize Actor properties across the network.

    SyncWorldClocksPacket: "SyncWorldClocksPacket"
    TakeItemActorPacket: "TakeItemActorPacket"

    A packet sent to the server when deal with picking up an item off the ground in the world.

    TextPacket: "TextPacket"

    Represents a text message that needs to be displayed in-game

    TickingAreasLoadStatusPacket: "TickingAreasLoadStatusPacket"

    Used to inform the client that the server is waiting for ticking areas to finish preloading.

    ToastRequestPacket: "ToastRequestPacket"

    Pushes a UI toast message to be displayed by the client

    TransferPacket: "TransferPacket"

    Used to kick off transferring the client between online games, or it can be used to cause players to quit the world and rejoin.

    TrimDataPacket: "TrimDataPacket"
    UnlockedRecipesPacket: "UnlockedRecipesPacket"

    Sent from server to client, for all previously unlocked recipes on load and for any newly unlocked recipes during gameplay.

    UpdateAbilitiesPacket: "UpdateAbilitiesPacket"
    UpdateAdventureSettingsPacket: "UpdateAdventureSettingsPacket"

    UpdateAdventureSettingsPacket

    UpdateAttributesPacket: "UpdateAttributesPacket"
    UpdateBlockPacket: "UpdateBlockPacket"

    Occasional packets sent from server when blocks update or are ticked. (For example, when digging.)

    UpdateBlockSyncedPacket: "UpdateBlockSyncedPacket"

    Used to sync moving blocks with clients so they render correctly

    UpdateClientInputLocksPacket: "UpdateClientInputLocksPacket"

    UpdateClientInputLocksPacket

    UpdateClientOptionsPacket: "UpdateClientOptionsPacket"

    Sync the player's options (mostly settings) to the server.

    UpdateEquipPacket: "UpdateEquipPacket"

    Seemingly only used for the Horse Inventory... More specifically when the player opens the horse inventory.

    UpdatePlayerGameTypePacket: "UpdatePlayerGameTypePacket"

    The server will send this back to all clients on receipt of the SetPlayerGameTypePacket so that cached game type and permissions flags in mLevel on all clients is kept up to date.

    UpdateSoftEnumPacket: "UpdateSoftEnumPacket"

    This is used for the scoreboard and tag systems (overwhelmingly used by 3rd party content)

    UpdateSubChunkBlocksPacket: "UpdateSubChunkBlocksPacket"

    Packet sent for every set of blocks changed in a sub chunk every tick.

    UpdateTradePacket: "UpdateTradePacket"

    This is used when the player trades with an npc. This sends all of the updated trade info in one big ol' packet.

    VoxelShapesPacket: "VoxelShapesPacket"

    Syncs client with server voxel shape data on world join. This packet contains a copy of all behavior pack voxel shapes data.