public class ChunkDeltaUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkDeltaUpdateS2CPacket.ChunkDeltaRecord |
| Modifier and Type | Field and Description |
|---|---|
private ChunkPos |
chunkPos |
private ChunkDeltaUpdateS2CPacket.ChunkDeltaRecord[] |
records |
| Constructor and Description |
|---|
ChunkDeltaUpdateS2CPacket() |
ChunkDeltaUpdateS2CPacket(int int2,
short[] short2,
WorldChunk worldChunk) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
ChunkDeltaUpdateS2CPacket.ChunkDeltaRecord[] |
getRecords() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippableprivate ChunkPos chunkPos
private ChunkDeltaUpdateS2CPacket.ChunkDeltaRecord[] records
public ChunkDeltaUpdateS2CPacket()
public ChunkDeltaUpdateS2CPacket(int int2,
short[] short2,
WorldChunk worldChunk)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientPlayPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientPlayPacketListener>IOExceptionpublic void apply(ClientPlayPacketListener clientPlayPacketListener)
apply in interface Packet<ClientPlayPacketListener>@Environment(value=CLIENT) public ChunkDeltaUpdateS2CPacket.ChunkDeltaRecord[] getRecords()