net.minecraft.network.packet.s2c.play

public record UnloadChunkS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundForgetLevelChunkPacket
net.minecraft.class_2666
net.minecraft.network.packet.s2c.play.UnloadChunkS2CPacket

Field summary

Modifier and TypeField
private final ChunkPos
pos
comp_1726
pos
public static final PacketCodec<PacketByteBuf, UnloadChunkS2CPacket>
STREAM_CODEC
field_47926
CODEC

Constructor summary

ModifierConstructor
private (PacketByteBuf buf)
public (ChunkPos pos)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55878(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<UnloadChunkS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11486(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public ChunkPos
pos()
comp_1726()
pos()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)