Class ClientboundDebugEventPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.debug.ClientboundDebugEventPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundDebugEventPacket(io.netty.buffer.ByteBuf in) ClientboundDebugEventPacket(DebugSubscriptions subscriptionType, @Nullable DebugInfo subscription) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable DebugInfointhashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundDebugEventPacketwithSubscription(@Nullable DebugInfo subscription) @NonNull ClientboundDebugEventPacketwithSubscriptionType(DebugSubscriptions subscriptionType) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundDebugEventPacket
public ClientboundDebugEventPacket(io.netty.buffer.ByteBuf in) -
ClientboundDebugEventPacket
public ClientboundDebugEventPacket(DebugSubscriptions subscriptionType, @Nullable DebugInfo subscription)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getSubscriptionType
-
getSubscription
-
equals
-
canEqual
-
hashCode
-
toString
-
withSubscriptionType
public @NonNull ClientboundDebugEventPacket 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).
-