public class UnloadChunkS2CPacket extends Object implements Packet<ClientPlayPacketListener>
| Constructor and Description |
|---|
UnloadChunkS2CPacket() |
UnloadChunkS2CPacket(int x,
int z) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
int |
getX() |
int |
getZ() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippablepublic UnloadChunkS2CPacket()
public UnloadChunkS2CPacket(int x,
int z)
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 int getX()
@Environment(value=CLIENT) public int getZ()