Class ClientboundCommandSuggestionsPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundCommandSuggestionsPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundCommandSuggestionsPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final com.mojang.brigadier.suggestion.Suggestions
-
Constructor Summary
ConstructorDescriptionClientboundCommandSuggestionsPacket
(int p_131846_, com.mojang.brigadier.suggestion.Suggestions p_131847_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
com.mojang.brigadier.suggestion.Suggestions
void
handle
(ClientGamePacketListener p_131853_) void
write
(FriendlyByteBuf p_131856_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
id
private final int id -
suggestions
private final com.mojang.brigadier.suggestion.Suggestions suggestions
-
-
Constructor Details
-
ClientboundCommandSuggestionsPacket
public ClientboundCommandSuggestionsPacket(int p_131846_, com.mojang.brigadier.suggestion.Suggestions p_131847_) -
ClientboundCommandSuggestionsPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getSuggestions
public com.mojang.brigadier.suggestion.Suggestions getSuggestions()
-