HyCodeYourTale
classpublicPriority 3

SetChunk

com.hypixel.hytale.protocol.packets.world.SetChunk

implements Packet

7

Methods

7

Public Methods

6

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 13
booleanIS_COMPRESSED= true
intMAX_SIZE= 12288040
intNULLABLE_BIT_FIELD_SIZE= 1
intPACKET_ID= 131
intVARIABLE_BLOCK_START= 25
intVARIABLE_FIELD_COUNT= 3

Constructors

public
SetChunk()
public
SetChunk(int x, int y, int z, byte[] localLight, byte[] globalLight, byte[] data)
public
SetChunk(SetChunk other)

Methods

Public Methods (7)

publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)
public
int computeSize()
@Override
public
boolean equals(Object obj)
@Override
public
int getId()
@Override
public
int hashCode()
@Override
public
void serialize(ByteBuf buf)
@Override
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)

Fields

Public Fields (6)

publicbyte[] data
publicbyte[] globalLight
publicbyte[] localLight
publicint x
publicint y
publicint z

Related Classes