Play Serverbound
For more information on what these packets do, visit https://wiki.vg/index.php?title=Protocol&oldid=7368#Serverbound_2
C00PacketKeepAlive
Type | Name | Description | Signature |
---|---|---|---|
field | key | Keep Alive ID | int |
Instantiation:
C01PacketChatMessage
Type | Name | Description | Signature |
---|---|---|---|
field | message | Message that was sent | string |
Instantiation:
C02PacketUseEntity
Type | Name | Description | Signature |
---|---|---|---|
field | entityId | ID of the Entity used | int |
field | action | Action that was performed, one of: interact, attack, interact_at | string |
field | hitVec | Hit vector, only present if the action is interact_at | Vec3 |
Instantiation:
C03PacketPlayer
Type | Name | Description | Signature |
---|---|---|---|
field | x | Player's X position | double |
field | y | Player's Y position | double |
field | z | Player's Z position | double |
field | yaw | Player's yaw rotation | float |
field | pitch | Player's pitch rotation | float |
field | onGround | Whether the player is on ground | boolean |
field | moving | Whether the player's position is updated in this packet | boolean |
field | rotating | Whether the player's rotation is updated in this packet | boolean |
Instantiation:
C04PacketPlayerPosition
Inherits C03PacketPlayer. Instantiation:
C05PacketPlayerLook
Inherits C03PacketPlayer. Instantiation:
C06PacketPlayerPosLook
Inherits C03PacketPlayer. Instantiation:
C07PacketPlayerDigging
Type | Name | Description | Signature |
---|---|---|---|
field | facing | Block placement facing | EnumFacing |
field | position | Block placement position | BlockPos |
field | status | Digging Type, one of: start_destroy_block, abort_destroy_block, stop_destory_block, drop_all_items, drop_item, release_use_item | string |
Instantiation:
C08PacketPlayerBlockPlacement
Type | Name | Description | Signature |
---|---|---|---|
field | facingX | Block placement X facing | double |
field | facingY | Block placement Y facing | double |
field | facingZ | Block placement Z facing | double |
field | placedBlockDIrection | Block placement direction | int |
field | position | Block placement position | BlockPos |
field | stack | Block ItemStack | ItemStack |
Instantiation:
C09PacketHeldItemChange
Type | Name | Description | Signature |
---|---|---|---|
field | slotId | Item slot ID | int |
Instantiation:
C0APacketAnimation
This Packet has no properties. Instantiation:
C0BPacketEntityAction
Type | Name | Description | Signature |
---|---|---|---|
field | action | Entity Action, one of: start_sneaking, stop_sneaking, stop_sleeping, start_sprinting, stop_sprinting, riding_jump, open_inventory, start_fall_flying | string |
field | entityID | Entity ID | int |
field | auxData | Only used for Horse Jump, ranges from 0 to 100 | int |
Instantiation:
C0CPacketInput
Type | Name | Description | Signature |
---|---|---|---|
field | forwardSpeed | Forward move speed | float |
field | strafeSpeed | Strafe move speed | float |
field | jumping | Whether the player is jumping | boolean |
field | sneaking | Whether the player is sneaking | boolean |
Instantiation:
C0DPacketCloseWindow
Type | Name | Description | Signature |
---|---|---|---|
field | windowId | Closed window ID | int |
Instantiation:
C0EPacketClickWindow
Type | Name | Description | Signature |
---|---|---|---|
field | clickedItem | Clicked Window Item | ItemStack |
field | actionNumber | Number of action, used for transaction handling | int |
field | slotId | Clicked Window Item's slot ID | int |
field | mode | Inventory operation mode | int |
field | usedButton | Used mouse button | int |
field | windowId | ID of the Window | int |
Instantiation:
C0FPacketConfirmTransaction
Type | Name | Description | Signature |
---|---|---|---|
field | accepted | Whether the request was accepted | boolean |
field | uid | Unique number for the transaction | int |
field | windowId | Window ID of the transaction | int |
Instantiation:
C10PacketCreativeInventoryAction
Type | Name | Description | Signature |
---|---|---|---|
field | slotId | Item slot ID | int |
field | stack | Item Stack | ItemStack |
Instantiation:
C11PacketEnchantItem
Type | Name | Description | Signature |
---|---|---|---|
field | windowId | Window ID of the enchantment table | int |
field | button | Button that was pressed | int |
Instantiation:
C12PacketUpdateSign
Type | Name | Description | Signature |
---|---|---|---|
field | lines | Sign Lines | IChatComponent[] |
field | pos | BlockPos of the Sign | BlockPos |
Instantiation:
C13PacketPlayerAbilities
Type | Name | Description | Signature |
---|---|---|---|
field | allowFlying | Whether the player is allowed to fly | boolean |
field | flying | Whether the player is flying | boolean |
field | creativeMode | Whether the player is in creative mode | boolean |
field | flySpeed | Player's flying speed | float |
field | invulnerable | Whether the player is invulnerable | boolean |
field | walkSpeed | Player's walking speed | float |
Instantiation:
C14PacketTabComplete
Type | Name | Description | Signature |
---|---|---|---|
field | message | Tab complete message | string |
field | targetBlock | Tab complete block position | BlockPos |
Instantiation:
C15PacketClientSettings
Type | Name | Description | Signature |
---|---|---|---|
field | chatVisibility | Chat visibility mode, one of: full, system, hidden | string |
field | enableColors | Whether the chat colors are enabled | boolean |
field | lang | Game Language | string |
field | modelPartFlags | Skin Layers flags | int |
field | view | Render distance in chunks amount | int |
Instantiation:
C16PacketClientStatus
Type | Name | Description | Signature |
---|---|---|---|
field | status | Game state, one of: perform_respawn, request_stats, open_inventory_achievement | string |
Instantiation:
C17PacketCustomPayload
Type | Name | Description | Signature |
---|---|---|---|
field | data | Byte Buffer of the data transmitted | PacketBuffer |
field | channel | Payload Channel | string |
Instantiation:
C18PacketSpectate
Type | Name | Description | Signature |
---|---|---|---|
field | id | UUID of the player being spectated | java.util.UUID |
Instantiation:
C19PacketResourcePackStatus
Type | Name | Description | Signature |
---|---|---|---|
field | hash | Hash of the resource pack file | string |
field | status | Resource pack acceptance status, one of: successfully_loaded, declined, failed_download, accepted | string |
Instantiation:
Last updated