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
FieldsModifier and TypeFieldDescriptionprivate final intprivate final com.mojang.brigadier.suggestion.Suggestions - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundCommandSuggestionsPacket(int p_131846_, com.mojang.brigadier.suggestion.Suggestions p_131847_)  - 
Method Summary
Modifier and TypeMethodDescriptionintgetId()com.mojang.brigadier.suggestion.Suggestionsvoidhandle(ClientGamePacketListener p_131853_) voidwrite(FriendlyByteBuf p_131856_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
 writein interfacePacket<ClientGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 - 
getId
public int getId() - 
getSuggestions
public com.mojang.brigadier.suggestion.Suggestions getSuggestions() 
 -