net.minecraft.network.protocol.game

public class ServerboundCommandSuggestionPacket

implements Packet<ServerGamePacketListener>

agt
net.minecraft.network.protocol.game.ServerboundCommandSuggestionPacket
net.minecraft.class_2805
net.minecraft.network.packet.c2s.play.RequestCommandCompletionsC2SPacket
net.minecraft.network.protocol.game.PacketPlayInTabComplete

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundCommandSuggestionPacket>
a
STREAM_CODEC
field_48185
CODEC
private final int
b
id
field_12784
completionId
private final String
c
command
field_12785
partialCommand

Constructor summary

ModifierConstructor
public (int completionId, String partialCommand)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55969(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundCommandSuggestionPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12147(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
getId()
method_12149()
getCompletionId()
public String
e()
getCommand()
method_12148()
getPartialCommand()