public class Packet51MapChunk extends Packet
Modifier and Type | Field and Description |
---|---|
boolean |
includeInitialize
Whether to initialize the Chunk before applying the effect of the Packet51MapChunk.
|
int |
xCh
The x-position of the transmitted chunk, in chunk coordinates.
|
int |
yChMax
The y-position of the highest chunk Section in the transmitted chunk, in chunk coordinates.
|
int |
yChMin
The y-position of the lowest chunk Section in the transmitted chunk, in chunk coordinates.
|
int |
zCh
The z-position of the transmitted chunk, in chunk coordinates.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize
Constructor and Description |
---|
Packet51MapChunk() |
Packet51MapChunk(Chunk par1Chunk,
boolean par2,
int par3) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCompressedChunkData() |
static Packet51MapChunkData |
getMapChunkData(Chunk par0Chunk,
boolean par1,
int par2) |
int |
getPacketSize()
Abstract.
|
void |
processPacket(NetHandler par1NetHandler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(DataInputStream par1DataInputStream)
Abstract.
|
void |
writePacketData(DataOutputStream par1DataOutputStream)
Abstract.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeString
public int xCh
public int zCh
public int yChMin
public int yChMax
public boolean includeInitialize
public Packet51MapChunk()
public Packet51MapChunk(Chunk par1Chunk, boolean par2, int par3)
public void readPacketData(DataInputStream par1DataInputStream) throws IOException
readPacketData
in class Packet
IOException
public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
writePacketData
in class Packet
IOException
public void processPacket(NetHandler par1NetHandler)
processPacket
in class Packet
public int getPacketSize()
getPacketSize
in class Packet
public static Packet51MapChunkData getMapChunkData(Chunk par0Chunk, boolean par1, int par2)
public byte[] getCompressedChunkData()