Play Clientbound
For more information on what these packets do, visit https://wiki.vg/index.php?title=Protocol&oldid=7368#Clientbound_2
S00PacketKeepAlive
Type | Name | Description | Signature |
---|---|---|---|
function | getId | Returns the ID parameter | int() |
function | setId | Sets the ID parameter | void(int) |
S02PacketChat
Type | Name | Description | Signature |
---|---|---|---|
function | getChatComponent | Returns the chatComponent parameter | IChatComponent() |
function | setChatComponent | Sets the chatComponent parameter | void(IChatComponent) |
function | getType | Returns the type parameter | byte() |
function | setType | Sets the type parameter | void(byte) |
S08PacketPlayerPosLook
Type | Name | Description | Signature |
---|---|---|---|
function | getX | Returns the X coordinate | double() |
function | getY | Returns the Y coordinate | double() |
function | getZ | Returns the Z coordinate | double() |
function | setX | Sets the X coordinate | void(double) |
function | setY | Sets the Y coordinate | void(double) |
function | setZ | Sets the Z coordinate | void(double) |
function | getYaw | Returns the yaw rotation | float() |
function | getPitch | Returns the pitch rotation | float() |
function | setYaw | Sets the yaw rotation | void(float) |
function | setPitch | Sets the pitch rotation | void(float) |
function | getFlags | Returns the flags Set (flags = one of: x, y, z, y_rot, x_rot) | Set<String>() |
function | setFlags | Sets the flags Set (flags = one of: x, y, z, y_rot, x_rot) | void(Set<String>) |
S32PacketConfirmTransaction
Type | Name | Description | Signature |
---|---|---|---|
function | getWindowId | Returns the windowId parameter | int() |
function | setWindowId | Sets the windowId parameter | void(int) |
function | getActionNumber | Returns the actionNumber parameter | short() |
function | setActionNumber | Sets the actionNumber parameter | void(short) |
function | isAccepted | Returns the accepted parameter | boolean() |
function | setAccepted | Sets the accepted parameter | void(boolean) |
Last updated