Skip to main content Module game Copy item path Source ability_flags Flags for player abilities bitfield.
These match vanilla Minecraftβs ability flags. c_add_entity π Packet sent to spawn an entity (including players) for the client. c_animate π Clientbound animate packet - sent to play an entity animation. c_award_stats π c_block_changed_ack π c_block_destruction π c_block_entity_data π Block entity data packet. c_block_event π c_block_update π c_bundle_delimiter π Clientbound bundle delimiter packet - marks the start/end of a packet bundle. c_change_difficulty π c_clear_titles π c_command_suggestions π c_commands π c_container_close π c_container_set_content π c_container_set_data π c_container_set_slot π c_cooldown π Clientbound item cooldown packet. c_damage_event π Clientbound damage event packet - tells the client an entity took damage. c_entity_event π c_entity_position_sync π Clientbound entity position sync packet - authoritative entity position update. c_explode π c_game_event π c_hurt_animation π c_level_event π c_level_particles π c_login π c_move_entity π Packets for entity movement updates. c_move_vehicle π c_open_screen π c_open_sign_editor π c_player_abilities π c_player_combat_kill π c_player_info_update π c_player_look_at π c_player_position π Clientbound player position packet - sent to teleport a player. c_remove_entities π Packet sent to remove entities from the client. c_remove_mob_effect π Clientbound remove mob effect packet. c_remove_player_info π Packet to remove players from the player list (tab menu). c_respawn π Clientbound respawn packet - sent to respawn a player or change dimensions. c_rotate_head π Packet for updating an entityβs head rotation. c_section_blocks_update π c_select_advancements_tab π c_set_action_bar_text π c_set_camera π c_set_cursor_item π c_set_default_spawn_position π Clientbound default spawn position packet. c_set_entity_data π Clientbound set entity data packet - sent to sync entity metadata. c_set_entity_link π Clientbound set entity link packet. c_set_entity_motion π Clientbound set entity motion packet - sent to update entity velocity. c_set_equipment π Clientbound set equipment packet. c_set_experience π c_set_health π c_set_held_slot π c_set_passengers π Clientbound set passengers packet. c_set_player_inventory π Clientbound player inventory slot update packet. c_set_subtitle_text π c_set_time π c_set_title_text π c_set_titles_animation π c_sound π c_stop_sound π c_swing_animation π Clientbound swing animation packet - sent when an entity swings a hand. c_tab_list π c_take_item_entity π Clientbound take item entity packet - sent when an entity picks up an item. c_teleport_entity π c_ticking_state π c_ticking_step π c_update_advancement π c_update_attributes π Clientbound update attributes packet - sent to sync entity attributes with modifiers. c_update_mob_effect π Clientbound update mob effect packet. chat π chunk π s_accept_teleportation π Serverbound accept teleportation packet - sent by client to acknowledge a teleport. s_attack π s_change_difficulty π s_change_game_mode π s_client_command π Serverbound client command packet - sent by the client to perform actions like respawning. s_client_tick_end π s_command_suggestion π s_container_button_click π s_container_click π s_container_close π s_container_slot_state_changed π s_interact π s_move_player π s_move_vehicle π s_pick_item_from_block π s_player_abilities π s_player_action π s_player_command π s_player_input π s_player_load π s_punch π Serverbound punch packet - sent when the player swings their main hand. s_rename_item π Serverbound packet for renaming the item inside of an anvilβs first slot s_seen_advancement π s_set_beacon π Serverbound packet for selecting a beaconβs primary and secondary effects. s_set_carried_item π s_set_creative_mode_slot π s_sign_update π s_spectator_action π s_use_item π s_use_item_on π world_border π ArgumentSignature Signature for a single command argument AttributeModifierData Represents a single attribute modifier within an attribute snapshot. AttributeSnapshot A snapshot of a single attributeβs state, including its base value and active modifiers. BlockChange BlockEntityInfo CAddEntity Spawns an entity on the client. CAnimate Sent to play an animation on an entity. CAwardStats Clientbound packet that updates the client with the stats that have been
marked dirty. CBlockChangedAck CBlockDestruction CBlockEntityData Packet sent to update a block entityβs data on the client. CBlockEvent Sent to trigger block-specific events on the client. CBlockUpdate CBundleDelimiter Marks the start or end of a packet bundle. CChangeDifficulty Clientbound packet that informs the client about the current world difficulty. CChunkBatchFinished CChunkBatchStart CClearTitles Clears the title display state on the client. CCommandSuggestions Sent by the server in response to a command suggestion request. CCommands CContainerClose CContainerSetContent CContainerSetData CContainerSetSlot CCooldown Starts or clears a client-side item cooldown group. CDamageEvent Sent when an entity takes damage. Used for hit animations and damage direction indicator. CDisguisedChat Clientbound packet for unsigned/disguised chat messages
This is sent when the server doesnβt have a signed message CEntityEvent Performs an entity event. CEntityPositionSync Synchronizes an entityβs absolute position and rotation. CExplode Sent to apply the client-visible effects of a server-side explosion. CForgetLevelChunk CGameEvent CHurtAnimation CInitializeBorder CLevelChunkWithLight CLevelEvent Sent to trigger level events (sounds, particles, animations) on the client. CLevelParticles Sent to create particles on the client. CLightUpdate CLogin CMoveEntityPos Updates an entityβs position with a delta from the position the client last acknowledged. CMoveEntityPosRot Updates an entityβs position and rotation. CMoveEntityRot Updates an entityβs rotation only. CMoveVehicle Clientbound controlled-vehicle position correction packet. COpenScreen COpenSignEditor Clientbound packet sent to open the sign editor GUI. CPlayerAbilities Sent by the server to update the playerβs abilities.
This tells the client whether the player can fly, is invulnerable, etc. CPlayerChat CPlayerCombatKill CPlayerInfoUpdate CPlayerLookAt Rotates the receiving player toward a position or tracked entity. CPlayerPosition Sent to teleport a player to a new position. CRemoveEntities Removes one or more entities from the client. CRemoveMobEffect Sent when the client should remove an entity mob effect. CRemovePlayerInfo Removes players from the clientβs player list. CRespawn Respawn a player in any dimension. CRotateHead Updates an entityβs head yaw rotation. CSectionBlocksUpdate CSelectAdvancementsTab CSetActionBarText Sets the action-bar text displayed by the client. CSetBorderCenter CSetBorderLerpSize CSetBorderSize CSetBorderWarningDelay CSetBorderWarningDistance CSetCamera CSetChunkCacheRadius CSetChunkCenter CSetCursorItem CSetDefaultSpawnPosition Updates the clientβs default world spawn marker. CSetEntityData Sent to synchronize entity metadata (health, pose, flags, etc.) with the client. CSetEntityLink Updates the leash/link holder for an entity. CSetEntityMotion Sent to update an entityβs velocity on the client. CSetEquipment Updates one or more equipment slots for an entity. CSetExperience CSetHealth CSetHeldSlot CSetPassengers Updates the direct passengers riding a vehicle entity. CSetPlayerInventory Updates one logical slot in the receiving playerβs inventory. CSetSubtitleText Sets the subtitle text displayed by the client. CSetTime CSetTitleText Sets the title text displayed by the client. CSetTitlesAnimation Sets the title fade-in, stay, and fade-out durations on the client. CSound Sent to play a sound effect at a specific position. CStopSound CSwingAnimation Sent to play an arm swing on an entity. CSystemChat CTabList Packet to set the tab list header and footer.
This allows servers to display custom text above and below the player list. CTakeItemEntity Sent when an entity picks up an item (item, experience orb, or arrow). CTeleportEntity Teleports an entity with optional relative position, rotation, and velocity flags. CTickingState Packet sent to clients to inform them of the current tick rate and frozen state.
This allows clients to adjust their local tick rate manager for smoother gameplay. CTickingStep Packet sent to clients to inform them of the number of frozen ticks to run.
This is used when stepping forward while the server is frozen. CUpdateAdvancements Updates the client advancement tree and progress CUpdateAttributes Clientbound packet sent to update entity attributes and their modifiers. CUpdateMobEffect Sent when the client should add or update an entity mob effect. ChatTypeBound Represents Minecraftβs ChatType.Bound structure
Contains a registry holder + sender name + optional target name ChunkPacketData CommandNodeInfo CommonPlayerSpawnInfo DeltaStep One leg of a stepped movement delta. EquipmentSlotItem One equipment slot update. ExplosionParticleInfo A block-debris particle and the client-side scaling applied to it. ExplosionParticlePalette A validated weighted palette for an explosionβs block particles. HashedPatchMap A hashed representation of component patches for verification.
Maps data component type IDs to their hash values. Heightmaps LastSeenMessagesUpdate Last seen messages update from client LightUpdatePacketData MobEffectPacketFlags PackedEntityDelta A fixed-point entity movement delta encoded as a protocol i16. PlayerInfoEntry PositionStep One position along a stepped movement path. PreviousMessage ProtocolRemoteChatSessionData Network-serializable chat session data. RelativeMovement Relative position/rotation flags. SAcceptTeleportation Sent by the client to acknowledge a server-initiated teleport. SAttack Serverbound packet sent when a player left-click attacks an entity. SChangeDifficulty Serverbound packet sent when the client requests a difficulty change. SChangeGameMode SChat SChatAck Client -> Server: Acknowledges messages received from the server. SChatCommand SChatCommandSigned Client -> Server: Executes a signed command. SChatSessionUpdate Client -> Server: Updates the playerβs chat session with their public key. SChunkBatchReceived SClientCommand Sent by the client when it wants to perform an action such as respawning after death. SClientTickEnd SCommandSuggestion Sent by the client when requesting command suggestions (tab completion). SContainerButtonClick SContainerClick Serverbound packet sent when a player clicks in a container. SContainerClose SContainerSlotStateChanged SInteract Serverbound packet sent when a player right-clicks an entity. SMovePlayer Constructed packet by the server to more easily be able to handle movement. SMovePlayerPos SMovePlayerPosRot SMovePlayerRot SMovePlayerStatusOnly Status-only movement packet (no position or rotation, just on_ground flag). SMoveVehicle Serverbound controlled-vehicle movement packet. SPickItemFromBlock Serverbound packet sent when a player uses the pick block key (middle click) on a block. SPlayerAbilities Sent by the client when the player starts or stops flying.
The server uses this to track the playerβs flying state. SPlayerAction Serverbound packet sent when a player performs an action like mining a block. SPlayerCommand Serverbound packet sent when a player performs a command action. SPlayerInput Player input state sent each tick when input changes. SPlayerLoad SPunch Sent when the player punches. The packet carries no payload; the swing is
always the main hand. SRenameItem Sent by the client when the player changes an anvilβs item name. SSetBeacon Sent when the player confirms a beaconβs effect selection. SSetCarriedItem SSetCreativeModeSlot Creative mode slot packet uses the delimited (untrusted) item format
where each component value is prefixed with a VarInt byte length. SSignUpdate Serverbound packet sent when a player finishes editing a sign. SSpectatorAction SUseItem Serverbound packet sent when a player uses an item (right-click in air). SUseItemOn Serverbound packet sent when a player uses an item on a block (right-click on block). SuggestionEntry A single command suggestion entry. AnimateAction Animation action types. ArgumentStringTypeBehavior ArgumentType AttributeModifierOperation The operation type for an attribute modifier. ClickType The type of click action performed on a container slot. ClientCommandAction The action the client wants to perform. CommandNode ExplosionParticleWeightError An invalid block-particle weight supplied for an explosion packet. FilterType GameEventType HashedStack A hashed representation of an ItemStack sent from client to server.
Used for verification without trusting client data. HeightmapType LookAtAnchor Entity position used as one endpoint of a player look-at operation. PlayerAction Action types for the player action packet. PlayerCommandAction Action types for the player command packet. PlayerInfoAction Actions for the player info update packet.
These match the vanilla Java ClientboundPlayerInfoUpdatePacket.Action enum. PlayerInfoTarget The player a PlayerInfoEntry refers to. PositionPath The path an entity took to reach its current position. RandomizationType Vanillaβs ClientboundLevelParticlesPacket.RandomizationType: controls how
the client jitters particle position/velocity around the given distribution. SSeenAdvancement SoundSource Sound source categories (matches vanilla SoundSource enum order). SuggestionType VecDelta A movement delta relative to the position the client last acknowledged. PLAYER_INFO_INIT_ACTIONS Bitmask combining all actions needed when a player first joins.
This matches vanillaβs createPlayerInitializing() method. calc_delta Calculates the delta for entity movement. to_angle_byte Converts degrees to a protocol angle byte (0-255 representing 0-360 degrees). write_lp_vec3 Writes a velocity vector in LpVec3 format.