public class PacketPlayOutChunkData extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected short |
bitmask |
protected ChunkLocation |
chunkLocation |
protected boolean |
continuous |
protected byte[] |
data |
Constructor and Description |
---|
PacketPlayOutChunkData() |
PacketPlayOutChunkData(byte[] data,
ChunkLocation chunkLocation,
boolean continuous,
short bitmask) |
Modifier and Type | Method and Description |
---|---|
short |
bitmask() |
ChunkLocation |
chunkLocation() |
boolean |
continuous() |
byte[] |
data() |
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
id()
Gets the ID of this packet, according to the protocol specification
|
decode, direction, handleReceived, set
protected byte[] data
protected ChunkLocation chunkLocation
protected boolean continuous
protected short bitmask
public PacketPlayOutChunkData()
public PacketPlayOutChunkData(byte[] data, ChunkLocation chunkLocation, boolean continuous, short bitmask)
public int id()
Packet
public ChunkLocation chunkLocation()
public boolean continuous()
public short bitmask()
public byte[] data()
Copyright © 2016. All rights reserved.