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 SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final com.mojang.brigadier.suggestion.Suggestions
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundCommandSuggestionsPacket(int p_131846_, com.mojang.brigadier.suggestion.Suggestions p_131847_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()com.mojang.brigadier.suggestion.Suggestionsvoidhandle(ClientGamePacketListener p_131853_) voidwrite(FriendlyByteBuf p_131856_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
idprivate final int id
- 
suggestionsprivate final com.mojang.brigadier.suggestion.Suggestions suggestions
 
- 
- 
Constructor Details- 
ClientboundCommandSuggestionsPacketpublic ClientboundCommandSuggestionsPacket(int p_131846_, com.mojang.brigadier.suggestion.Suggestions p_131847_) 
- 
ClientboundCommandSuggestionsPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getIdpublic int getId()
- 
getSuggestionspublic com.mojang.brigadier.suggestion.Suggestions getSuggestions()
 
-