Class ServerboundCommandSuggestionPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundCommandSuggestionPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundCommandSuggestionPacket(int transactionId, String text) ServerboundCommandSuggestionPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetText()intinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundCommandSuggestionPacket@NonNull ServerboundCommandSuggestionPacketwithTransactionId(int transactionId) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundCommandSuggestionPacket
public ServerboundCommandSuggestionPacket(io.netty.buffer.ByteBuf in) -
ServerboundCommandSuggestionPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getTransactionId
public int getTransactionId() -
getText
-
equals
-
canEqual
-
hashCode
-
toString
-
withTransactionId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withText
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-