packets

Supported packets.

C0APacketAnimation

new C0A();

C0BPacketEntityAction

new C0B(String action, int horsePower);
C0B entityAction = (C0B) packet;
property
description
type

action

START_SNEAKING STOP_SNEAKING STOP_SLEEPING START_SPRINTING STOP_SPRINTING RIDING_JUMP OPEN_INVENTORY START_FALL_FLYING

String

horsePower

Horse jump power, 0-100

int

C0DPacketCloseWindow

new C0D(int windowId);
C0D closeWindow = (C0D) packet;
property
description
type

windowId

The ID of the window

int

C0EPacketClickWindow

new C0E(int windowId, int slot, int button, int mode, ItemStack itemStack);
C0E clickWindow = (C0E) packet;
property
description
type

windowId

window id

int

slot

inventory slot

int

button

button pressed

int

mode

button mode

int

itemStack

item stack

ItemStack

C0FPacketConfirmTransaction

property
description
type

windowId

The ID of the window

int

uid

Unique identifier for packet

short

C01PacketChatMessage

property
description
type

message

Chat message

String

C02PacketUseEntity

property
description
type

entity

Entity

Entity

action

ATTACK

INTERACT

INTERACT_AT

String

hitVec

Hit Vector

Vec3

C03PacketPlayer

property
description
type

ground

If player is on ground or not

boolean

C04PacketPlayerPosition

property
description
type

position

Player's position

Vec3

ground

If player is on ground or not

boolean

C05PacketPlayerLook

property
description
type

yaw

Player's yaw

float

pitch

Player's pitch

float

ground

If player is on ground or not

boolean

C06PacketPlayerPosLook

property
description
type

position

Player's position

Vec3

yaw

Player's yaw

float

pitch

Player's pitch

float

ground

If player is on ground or not

boolean

C07PacketPlayerDigging

property
description
type

position

Block placement position

Vec3

status

START_DESTROY_BLOCK STOP_DESTROY_BLOCK ABORT_DESTROY_BLOCK DROP_ALL_ITEMS DROP_ITEM RELEASE_USE_ITEM

String

facing

UP DOWN NORTH SOUTH EAST WEST

String

C08PacketPlayerBlockPlacement

property
description
type

itemStack

Player's current item

ItemStack

position

Block placement position

Vec3

direction

Block placement direction

int

offset

Block placement offset

Vec3

C09PacketHeldItemChange

property
description
type

slot

Player's held item slot

int

C10PacketCreativeInventoryAction

property
description
type

slot

Player's held item slot

int

itemStack

Item being affected

ItemStack

C13PacketPlayerAbilities

property
description
type

invulnerable

True if the player is invulnerable

boolean

flying

True if the player is flying

boolean

allowFlying

True if the player is allowed to fly

boolean

creativeMode

True if the player is in creative

boolean

flySpeed

Flying speed of the player

float

walkSpeed

Walking speed of the player

float

C16PacketClientStatus

property
description
type

status

PERFORM_RESPAWN

REQUEST_STATS

OPEN_INVENTORY_ACHIEVEMENT

String

S02PacketChat

property
description
type

type

The type of message

byte

message

The message displayed

String

S08PacketPlayerPosLook

property
description
type

position

Entity's position

Vec3

yaw

Entity's yaw

float

pitch

Entity's pitch

float

S12PacketEntityVelocity

property
description
type

entityId

Entity ID packet is applied to

int

motion

Entity's new motion

Vec3

S23PacketBlockChange

property
description
type

position

Position of the block

Vec3

block

Block that was changed

Block

S25PacketBlockBreakAnim

property
description
type

entityId

Entity id

int

block

Block being animated

Block

progress

Breaking animation progress

int

S27PacketExplosion

property
description
type

strength

Explosion's strength

float

position

Position of the explosion

Vec3

motion

Applied motion from the explosion

Vec3

S45PacketTitle

property
description
type

type

Type of title

String

message

The message displayed

String

fadeInTime

Fade in time in ticks

int

displayTime

Display time in ticks

int

fadeOutTime

Fade out time in ticks

int

S2APacketParticles

property
description
type

type

Packet identifier

String

position

Position of the particle

Vec3

offset

Random offset of the particle

Vec3

speed

Velocity of the particle

Vec3

count

Amount of particles

int

args

Arguments

int[]

S3EPacketPlayOutScoreboardTeam

property
description
type

name

Unique team identifier

String

displayName

Display name for players

String

prefix

String before player names

String

suffix

String after player names

String

nametagVisibility

Controls nametag visibility

String

playerList

List of player names on the team

Collection<String>

action

Specifies packet action

int

friendlyFlags

Flags for team behavior

int

color

Team color

int

Last updated