net.minecraft.network.packet.c2s.login

public record LoginQueryResponseC2SPacket

implements Packet<ServerLoginPacketListener>

net.minecraft.network.protocol.login.ServerboundCustomQueryAnswerPacket
net.minecraft.class_2913
net.minecraft.network.packet.c2s.login.LoginQueryResponseC2SPacket

Field summary

Modifier and TypeField
private final int
transactionId
comp_1569
queryId
private final LoginQueryResponsePayload
payload
comp_1570
response
public static final PacketCodec<PacketByteBuf, LoginQueryResponseC2SPacket>
STREAM_CODEC
field_48249
CODEC
private static final int
MAX_PAYLOAD_SIZE
field_33374
MAX_PAYLOAD_SIZE

Constructor summary

ModifierConstructor
public (int queryId, LoginQueryResponsePayload response)

Method summary

Modifier and TypeMethod
private static LoginQueryResponseC2SPacket
read(FriendlyByteBuf input)
method_52292(class_2540 arg0)
read(PacketByteBuf buf)
private static LoginQueryResponsePayload
readPayload(int transactionId, FriendlyByteBuf input)
method_52290(int arg0, class_2540 arg1)
readPayload(int queryId, PacketByteBuf buf)
private static LoginQueryResponsePayload
readUnknownPayload(FriendlyByteBuf input)
method_52293(class_2540 arg0)
getVanillaPayload(PacketByteBuf buf)
private void
write(FriendlyByteBuf output)
method_11052(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<LoginQueryResponseC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerLoginPacketListener listener)
method_12645(class_2911 arg0)
apply(ServerLoginPacketListener arg0)
public int
transactionId()
comp_1569()
queryId()
public LoginQueryResponsePayload
payload()
comp_1570()
response()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)
private static void
lambda$write$0(FriendlyByteBuf arg0, CustomQueryAnswerPayload arg1)
method_52291(class_2540 arg0, class_8594 arg1)
method_52291(PacketByteBuf buf, LoginQueryResponsePayload response)