net.minecraft.network.packet.c2s.play

public record 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
private final int
id
comp_1_1426
completionId
private final String
command
comp_1_1425
partialCommand
public static final PacketCodec<io.netty.buffer.ByteBuf, RequestCommandCompletionsC2SPacket>
STREAM_CODEC
field_48185
CODEC
public static final PacketCodec<io.netty.buffer.ByteBuf, RequestCommandCompletionsC2SPacket>
CHAT_ONLY_STREAM_CODEC
field_1_9291
NON_OP_CODEC

Constructor summary

ModifierConstructor
public (int completionId, String partialCommand)

Method summary

Modifier and TypeMethod
private static PacketCodec<io.netty.buffer.ByteBuf, RequestCommandCompletionsC2SPacket>
createStreamCodec(int maxLength)
method_1_8968(int arg0)
createCodec(int maxLength)
public PacketType<RequestCommandCompletionsC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12147(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
id()
comp_1_1426()
completionId()
public String
command()
comp_1_1425()
partialCommand()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)