public class SPacketChunkData extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
SPacketChunkData() |
SPacketChunkData(Chunk chunkIn,
int changedSectionFilter) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateChunkSize(Chunk chunkIn,
boolean p_189556_2_,
int p_189556_3_) |
int |
extractChunkData(PacketBuffer buf,
Chunk chunkIn,
boolean writeSkylight,
int changedSectionFilter) |
int |
getChunkX() |
int |
getChunkZ() |
int |
getExtractedSize() |
PacketBuffer |
getReadBuffer() |
java.util.List<NBTTagCompound> |
getTileEntityTags() |
boolean |
isFullChunk() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketChunkData()
public SPacketChunkData(Chunk chunkIn, int changedSectionFilter)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public PacketBuffer getReadBuffer()
public int extractChunkData(PacketBuffer buf, Chunk chunkIn, boolean writeSkylight, int changedSectionFilter)
protected int calculateChunkSize(Chunk chunkIn, boolean p_189556_2_, int p_189556_3_)
public int getChunkX()
public int getChunkZ()
public int getExtractedSize()
public boolean isFullChunk()
public java.util.List<NBTTagCompound> getTileEntityTags()