Class UnloadChunkS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.UnloadChunkS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class UnloadChunkS2CPacket extends Object implements Packet<ClientPlayPacketListener>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UnloadChunkS2CPacket()UnloadChunkS2CPacket(int x, int z) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)intgetX()intgetZ()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
Constructor Details
-
UnloadChunkS2CPacket
public UnloadChunkS2CPacket() -
UnloadChunkS2CPacket
public UnloadChunkS2CPacket(int x, int z)
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>
-
getX
@Environment(CLIENT) public int getX() -
getZ
@Environment(CLIENT) public int getZ()
-