Package net.minecraft.src
Class Packet51MapChunk
java.lang.Object
net.minecraft.src.Packet
net.minecraft.src.Packet51MapChunk
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether to initialize the Chunk before applying the effect of the Packet51MapChunk.intThe x-position of the transmitted chunk, in chunk coordinates.intThe y-position of the highest chunk Section in the transmitted chunk, in chunk coordinates.intThe y-position of the lowest chunk Section in the transmitted chunk, in chunk coordinates.intThe z-position of the transmitted chunk, in chunk coordinates.Fields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_98193_m, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]static Packet51MapChunkDatagetMapChunkData(Chunk par0Chunk, boolean par1, int par2) intAbstract.voidprocessPacket(NetHandler par1NetHandler) Passes this Packet on to the NetHandler for processing.voidreadPacketData(DataInput par1DataInput) Abstract.voidwritePacketData(DataOutput par1DataOutput) Abstract.Methods inherited from class net.minecraft.src.Packet
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
Field Details
-
xCh
public int xChThe x-position of the transmitted chunk, in chunk coordinates. -
zCh
public int zChThe z-position of the transmitted chunk, in chunk coordinates. -
yChMin
public int yChMinThe y-position of the lowest chunk Section in the transmitted chunk, in chunk coordinates. -
yChMax
public int yChMaxThe y-position of the highest chunk Section in the transmitted chunk, in chunk coordinates. -
includeInitialize
public boolean includeInitializeWhether to initialize the Chunk before applying the effect of the Packet51MapChunk.
-
-
Constructor Details
-
Packet51MapChunk
public Packet51MapChunk() -
Packet51MapChunk
-
-
Method Details
-
readPacketData
Abstract. Reads the raw packet data from the data stream.- Specified by:
readPacketDatain classPacket- Throws:
IOException
-
writePacketData
Abstract. Writes the raw packet data to the data stream.- Specified by:
writePacketDatain classPacket- Throws:
IOException
-
processPacket
Passes this Packet on to the NetHandler for processing.- Specified by:
processPacketin classPacket
-
getPacketSize
public int getPacketSize()Abstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSizein classPacket
-
getCompressedChunkData
public byte[] getCompressedChunkData() -
getMapChunkData
-