public class SChunkDataPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
コンストラクタと説明 |
---|
SChunkDataPacket() |
SChunkDataPacket(Chunk chunkIn,
int changedSectionFilter) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected int |
calculateChunkSize(Chunk chunkIn,
int changedSectionsIn) |
int |
extractChunkData(PacketBuffer buf,
Chunk chunkIn,
int writeSkylight) |
int |
getAvailableSections() |
BiomeContainer |
getBiomes() |
int |
getChunkX() |
int |
getChunkZ() |
CompoundNBT |
getHeightmapTags() |
PacketBuffer |
getReadBuffer() |
java.util.List<CompoundNBT> |
getTileEntityTags() |
boolean |
isFullChunk() |
void |
processPacket(IClientPlayNetHandler 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public SChunkDataPacket()
public SChunkDataPacket(Chunk chunkIn, int changedSectionFilter)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
インタフェース内 IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
インタフェース内 IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
インタフェース内 IPacket<IClientPlayNetHandler>
public PacketBuffer getReadBuffer()
public int extractChunkData(PacketBuffer buf, Chunk chunkIn, int writeSkylight)
protected int calculateChunkSize(Chunk chunkIn, int changedSectionsIn)
public int getChunkX()
public int getChunkZ()
public int getAvailableSections()
public boolean isFullChunk()
public CompoundNBT getHeightmapTags()
public java.util.List<CompoundNBT> getTileEntityTags()
@Nullable public BiomeContainer getBiomes()