public class SPacketChunkData extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
SPacketChunkData() |
SPacketChunkData(Chunk p_i47124_1_,
int p_i47124_2_) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateChunkSize(Chunk chunkIn,
boolean p_189556_2_,
int p_189556_3_) |
boolean |
doChunkLoad() |
int |
extractChunkData(PacketBuffer p_189555_1_,
Chunk p_189555_2_,
boolean p_189555_3_,
int p_189555_4_) |
int |
getChunkX() |
int |
getChunkZ() |
int |
getExtractedSize() |
PacketBuffer |
getReadBuffer() |
java.util.List<NBTTagCompound> |
getTileEntityTags() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketChunkData()
public SPacketChunkData(Chunk p_i47124_1_, int p_i47124_2_)
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 p_189555_1_, Chunk p_189555_2_, boolean p_189555_3_, int p_189555_4_)
protected int calculateChunkSize(Chunk chunkIn, boolean p_189556_2_, int p_189556_3_)
public int getChunkX()
public int getChunkZ()
public int getExtractedSize()
public boolean doChunkLoad()
public java.util.List<NBTTagCompound> getTileEntityTags()