Class ClientboundSetChunkCacheRadiusPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetChunkCacheRadiusPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetChunkCacheRadiusPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ClientboundSetChunkCacheRadiusPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(ClientGamePacketListener listener) type()private voidwrite(FriendlyByteBuf output) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
radius
private final int radius
-
-
Constructor Details
-
ClientboundSetChunkCacheRadiusPacket
public ClientboundSetChunkCacheRadiusPacket(int radius) -
ClientboundSetChunkCacheRadiusPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getRadius
public int getRadius()
-