net.minecraft.network.packet.s2c.play

public record CommandSuggestionsS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundCommandSuggestionsPacket
net.minecraft.network.protocol.game.ClientboundCommandSuggestionsPacket
net.minecraft.class_2639
net.minecraft.network.packet.s2c.play.CommandSuggestionsS2CPacket

Field summary

Modifier and TypeField
private final int
id
id
comp_2262
id
private final int
start
start
comp_2263
start
private final int
length
length
comp_2264
length
private final List<CommandSuggestionsS2CPacket$Suggestion>
suggestions
suggestions
comp_2265
suggestions
public static final PacketCodec<RegistryByteBuf, CommandSuggestionsS2CPacket>
STREAM_CODEC
STREAM_CODEC
field_47913
CODEC

Constructor summary

ModifierConstructor
public (int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
public (int id, int start, int length, List<CommandSuggestionsS2CPacket$Suggestion> suggestions)

Method summary

Modifier and TypeMethod
public PacketType<CommandSuggestionsS2CPacket>
type()
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
handle(ClientGamePacketListener listener)
method_11398(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public com.mojang.brigadier.suggestion.Suggestions
toSuggestions()
toSuggestions()
method_11397()
getSuggestions()
public int
id()
id()
comp_2262()
id()
public int
start()
start()
comp_2263()
start()
public int
length()
length()
comp_2264()
length()
public List<CommandSuggestionsS2CPacket$Suggestion>
suggestions()
suggestions()
comp_2265()
suggestions()