Class ServerboundClientCommandPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundClientCommandPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundClientCommandPacket(io.netty.buffer.ByteBuf in) ServerboundClientCommandPacket(@NonNull ClientCommand request) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull ClientCommandinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundClientCommandPacketwithRequest(@NonNull ClientCommand request) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundClientCommandPacket
public ServerboundClientCommandPacket(io.netty.buffer.ByteBuf in) -
ServerboundClientCommandPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getRequest
-
equals
-
canEqual
-
hashCode
-
toString
-
withRequest
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-