net.minecraft.network.packet.c2s.play

public class RequestCommandCompletionsC2SPacket

implements Packet<ServerPlayPacketListener>

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

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, RequestCommandCompletionsC2SPacket>
STREAM_CODEC
field_48185
CODEC
private final int
id
field_12784
completionId
private final String
command
field_12785
partialCommand

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55969(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<RequestCommandCompletionsC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12147(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
getId()
method_12149()
getCompletionId()
public String
getCommand()
method_12148()
getPartialCommand()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)