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(DataInput par1DataInput)
Abstract.
|
void |
writePacketData(DataOutput par1DataOutput)
Abstract.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeStringpublic 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(DataInput par1DataInput) throws IOException
readPacketData in class PacketIOExceptionpublic void writePacketData(DataOutput par1DataOutput) throws IOException
writePacketData in class PacketIOExceptionpublic void processPacket(NetHandler par1NetHandler)
processPacket in class Packetpublic int getPacketSize()
getPacketSize in class Packetpublic static Packet51MapChunkData getMapChunkData(Chunk par0Chunk, boolean par1, int par2)
public byte[] getCompressedChunkData()