public class S26PacketMapChunkBulk extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private S21PacketChunkData.Extracted[] |
chunksData |
private boolean |
isOverworld |
private int[] |
xPositions |
private int[] |
zPositions |
Constructor and Description |
---|
S26PacketMapChunkBulk() |
S26PacketMapChunkBulk(java.util.List<Chunk> chunks) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getChunkBytes(int p_149256_1_) |
int |
getChunkCount() |
int |
getChunkSize(int p_179754_1_) |
int |
getChunkX(int p_149255_1_) |
int |
getChunkZ(int p_149253_1_) |
void |
processPacket(INetHandlerPlayClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
private int[] xPositions
private int[] zPositions
private S21PacketChunkData.Extracted[] chunksData
private boolean isOverworld
public S26PacketMapChunkBulk()
public S26PacketMapChunkBulk(java.util.List<Chunk> chunks)
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 int getChunkX(int p_149255_1_)
public int getChunkZ(int p_149253_1_)
public int getChunkCount()
public byte[] getChunkBytes(int p_149256_1_)
public int getChunkSize(int p_179754_1_)