public class Packet52MultiBlockChange extends Packet
Modifier and Type | Field and Description |
---|---|
byte[] |
metadataArray
The metadata for each block changed.
|
int |
size
The size of the arrays.
|
int |
xPosition
Chunk X position.
|
int |
zPosition
Chunk Z position.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize
Constructor and Description |
---|
Packet52MultiBlockChange() |
Packet52MultiBlockChange(int par1,
int par2,
short[] par3ArrayOfShort,
int par4,
World par5World) |
Modifier and Type | Method and Description |
---|---|
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 xPosition
public int zPosition
public byte[] metadataArray
public int size
public Packet52MultiBlockChange()
public Packet52MultiBlockChange(int par1, int par2, short[] par3ArrayOfShort, int par4, World par5World)
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