Class ClientboundDebugChunkValuePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.debug.ClientboundDebugChunkValuePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundDebugChunkValuePacket(int chunkX, int chunkZ, DebugSubscriptions subscriptionType, @Nullable DebugInfo subscription) ClientboundDebugChunkValuePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintint@Nullable DebugInfointhashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundDebugChunkValuePacketwithChunkX(int chunkX) @NonNull ClientboundDebugChunkValuePacketwithChunkZ(int chunkZ) @NonNull ClientboundDebugChunkValuePacketwithSubscription(@Nullable DebugInfo subscription) @NonNull ClientboundDebugChunkValuePacketwithSubscriptionType(DebugSubscriptions subscriptionType) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundDebugChunkValuePacket
public ClientboundDebugChunkValuePacket(io.netty.buffer.ByteBuf in) -
ClientboundDebugChunkValuePacket
public ClientboundDebugChunkValuePacket(int chunkX, int chunkZ, DebugSubscriptions subscriptionType, @Nullable DebugInfo subscription)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getChunkX
public int getChunkX() -
getChunkZ
public int getChunkZ() -
getSubscriptionType
-
getSubscription
-
equals
-
canEqual
-
hashCode
-
toString
-
withChunkX
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withChunkZ
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSubscriptionType
public @NonNull ClientboundDebugChunkValuePacket withSubscriptionType(DebugSubscriptions subscriptionType) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSubscription
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-