Class ClientboundCommandsPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundCommandsPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundCommandsPacket(io.netty.buffer.ByteBuf in) ClientboundCommandsPacket(CommandNode[] nodes, int firstNodeIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintgetNodes()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundCommandsPacketwithFirstNodeIndex(int firstNodeIndex) @NonNull ClientboundCommandsPacketwithNodes(CommandNode[] nodes) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundCommandsPacket
public ClientboundCommandsPacket(io.netty.buffer.ByteBuf in) -
ClientboundCommandsPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getNodes
-
getFirstNodeIndex
public int getFirstNodeIndex() -
equals
-
canEqual
-
hashCode
-
withNodes
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFirstNodeIndex
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
-