Package-level declarations

Types

Link copied to clipboard
data class AbilitiesPacket(val flags: Byte) : ServerBoundPacket

Player Abilities | 0x1b | play | serverbound

Link copied to clipboard
data class AdvancementTabPacket(val action: Int, val tabId: String?) : ServerBoundPacket

Seen Advancements | 0x25 | play | serverbound

Link copied to clipboard
data class ArmAnimationPacket(val hand: Int) : ServerBoundPacket

Swing Arm | 0x2f | play | serverbound

Link copied to clipboard
data class BlockDigPacket(val status: Int, val location: Position, val face: Byte, val sequence: Int) : ServerBoundPacket

Player Action | 0x1c | play | serverbound

Link copied to clipboard
data class BlockPlacePacket(val hand: Int, val location: Position, val direction: Int, val cursorX: Float, val cursorY: Float, val cursorZ: Float, val insideBlock: Boolean, val sequence: Int) : ServerBoundPacket

Use Item On | 0x31 | play | serverbound

Link copied to clipboard
data class ChatSessionUpdatePacket(val sessionUUID: UUID, val expireTime: Long, val publicKey: ByteArray, val signature: ByteArray) : ServerBoundPacket

Player Session | 0x20 | play | serverbound

Link copied to clipboard
data class ClientCommandPacket(val actionId: Int) : ServerBoundPacket

Client Command | 0x06 | play | serverbound

Link copied to clipboard
data class CloseWindowPacket(val windowId: UByte) : ServerBoundPacket

Close Container | 0x0b | play | serverbound

Link copied to clipboard
data class CraftRecipeRequestPacket(val windowId: Byte, val recipe: String, val makeAll: Boolean) : ServerBoundPacket

Place Recipe | 0x1a | play | serverbound

Link copied to clipboard
data class CustomPayloadPacket(val channel: String, val data: ByteArray) : ServerBoundPacket

Plugin Message | 0x0c | play | serverbound

Link copied to clipboard
data class DisplayedRecipePacket(val recipeId: String) : ServerBoundPacket

Set Seen Recipe | 0x22 | play | serverbound

Link copied to clipboard
data class EditBookPacket(val hand: Int, val pages: List<String>, val hasTitle: Boolean, val title: String?) : ServerBoundPacket

Edit Book | 0x0d | play | serverbound

Link copied to clipboard
data class EnchantItemPacket(val windowId: Byte, val enchantment: Byte) : ServerBoundPacket

Click Container Button | 0x09 | play | serverbound

Link copied to clipboard
data class EntityActionPacket(val entityId: Int, val actionId: Int, val jumpBoost: Int) : ServerBoundPacket

Player Command | 0x1d | play | serverbound

Link copied to clipboard
data class FlyingPacket(val onGround: Boolean) : ServerBoundPacket

Set Player On Ground | 0x16 | play | serverbound

Link copied to clipboard
data class GenerateStructurePacket(val location: Position, val levels: Int, val keepJigsaws: Boolean) : ServerBoundPacket

Jigsaw Generate | 0x10 | play | serverbound

Link copied to clipboard
data class HeldItemSlotPacket(val slotId: Short) : ServerBoundPacket

Set Held Item | 0x28 | play | serverbound

Link copied to clipboard
data class KeepAlivePacket(val keepAliveId: Long) : ServerBoundPacket

Keep Alive | 0x11 | play | serverbound

Link copied to clipboard

Lock Difficulty | 0x12 | play | serverbound

Link copied to clipboard
data class LookPacket(val yaw: Float, val pitch: Float, val onGround: Boolean) : ServerBoundPacket

Set Player Rotation | 0x15 | play | serverbound

Link copied to clipboard

Message Acknowledgment | 0x03 | play | serverbound

Link copied to clipboard
data class NameItemPacket(val name: String) : ServerBoundPacket

Rename Item | 0x23 | play | serverbound

Link copied to clipboard
data class PickItemPacket(val slot: Int) : ServerBoundPacket

Pick Item | 0x19 | play | serverbound

Link copied to clipboard
data class PongPacket(val id: Int) : ServerBoundPacket

Pong (play) | 0x1f | play | serverbound

Link copied to clipboard
data class PositionLookPacket(val x: Double, val y: Double, val z: Double, val yaw: Float, val pitch: Float, val onGround: Boolean) : ServerBoundPacket

Set Player Position and Rotation | 0x14 | play | serverbound

Link copied to clipboard
data class PositionPacket(val x: Double, val y: Double, val z: Double, val onGround: Boolean) : ServerBoundPacket

Set Player Position | 0x13 | play | serverbound

Link copied to clipboard
data class QueryBlockNbtPacket(val transactionId: Int, val location: Position) : ServerBoundPacket

Query Block Entity Tag | 0x01 | play | serverbound

Link copied to clipboard
data class QueryEntityNbtPacket(val transactionId: Int, val entityId: Int) : ServerBoundPacket

Query Entity Tag | 0x0e | play | serverbound

Link copied to clipboard
data class RecipeBookPacket(val bookId: Int, val bookOpen: Boolean, val filterActive: Boolean) : ServerBoundPacket

Change Recipe Book Settings | 0x21 | play | serverbound

Link copied to clipboard

Resource Pack | 0x24 | play | serverbound

Link copied to clipboard
data class SelectTradePacket(val slot: Int) : ServerBoundPacket

Select Trade | 0x26 | play | serverbound

Link copied to clipboard
data class SetBeaconEffectPacket(val hasPrimaryEffect: Boolean, val primaryEffect: Int?, val hasSecondaryEffect: Boolean, val secondaryEffect: Int?) : ServerBoundPacket

Set Beacon Effect | 0x27 | play | serverbound

Link copied to clipboard

Set Creative Mode Slot | 0x2b | play | serverbound

Link copied to clipboard
data class SetDifficultyPacket(val newDifficulty: UByte) : ServerBoundPacket

Change Difficulty | 0x02 | play | serverbound

Link copied to clipboard
data class SettingsPacket(val locale: String, val viewDistance: Byte, val chatFlags: Int, val chatColors: Boolean, val skinParts: UByte, val mainHand: Int, val enableTextFiltering: Boolean, val enableServerListing: Boolean) : ServerBoundPacket

Client Information | 0x07 | play | serverbound

Link copied to clipboard
data class SpectatePacket(val target: UUID) : ServerBoundPacket

Teleport To Entity | 0x30 | play | serverbound

Link copied to clipboard
data class SteerBoatPacket(val leftPaddle: Boolean, val rightPaddle: Boolean) : ServerBoundPacket

Paddle Boat | 0x18 | play | serverbound

Link copied to clipboard
data class SteerVehiclePacket(val sideways: Float, val forward: Float, val jump: UByte) : ServerBoundPacket

Player Input | 0x1e | play | serverbound

Link copied to clipboard
data class TabCompletePacket(val transactionId: Int, val text: String) : ServerBoundPacket

Command Suggestions Request | 0x08 | play | serverbound

Link copied to clipboard
data class TeleportConfirmPacket(val teleportId: Int) : ServerBoundPacket

Confirm Teleportation | 0x00 | play | serverbound

Link copied to clipboard
data class UpdateCommandBlockMinecartPacket(val entityId: Int, val command: String, val trackOutput: Boolean) : ServerBoundPacket

Program Command Block Minecart | 0x2a | play | serverbound

Link copied to clipboard
data class UpdateCommandBlockPacket(val location: Position, val command: String, val mode: Int, val flags: UByte) : ServerBoundPacket

Program Command Block | 0x29 | play | serverbound

Link copied to clipboard
data class UpdateJigsawBlockPacket(val location: Position, val name: String, val target: String, val pool: String, val finalState: String, val jointType: String) : ServerBoundPacket

Program Jigsaw Block | 0x2c | play | serverbound

Link copied to clipboard
data class UpdateSignPacket(val location: Position, val text1: String, val text2: String, val text3: String, val text4: String) : ServerBoundPacket

Update Sign | 0x2e | play | serverbound

Link copied to clipboard
data class UpdateStructureBlockPacket(val location: Position, val action: Int, val mode: Int, val name: String, val offsetX: Byte, val offsetY: Byte, val offsetZ: Byte, val sizeX: Byte, val sizeY: Byte, val sizeZ: Byte, val mirror: Int, val rotation: Int, val metadata: String, val integrity: Float, val seed: Int, val flags: UByte) : ServerBoundPacket

Program Structure Block | 0x2d | play | serverbound

Link copied to clipboard
data class UseEntityPacket(val target: Int, val mouse: Int, val x: Float?, val y: Float?, val z: Float?, val hand: Int?, val sneaking: Boolean) : ServerBoundPacket

Interact | 0x0f | play | serverbound

Link copied to clipboard
data class UseItemPacket(val hand: Int, val sequence: Int) : ServerBoundPacket

Use Item | 0x32 | play | serverbound

Link copied to clipboard
data class VehicleMovePacket(val x: Double, val y: Double, val z: Double, val yaw: Float, val pitch: Float) : ServerBoundPacket

Move Vehicle | 0x17 | play | serverbound

Link copied to clipboard
data class WindowClickPacket(val windowId: UByte, val stateId: Int, val slot: Short, val mouseButton: Byte, val mode: Int, val changedSlots: List<WindowClickPacketChangedSlots>) : ServerBoundPacket

Click Container | 0x0a | play | serverbound

Link copied to clipboard
data class WindowClickPacketChangedSlots(val location: Short)

WindowClickPacketChangedSlots