net.minecraft.network.protocol.login

public record ServerboundCustomQueryAnswerPacket

implements Packet<ServerLoginPacketListener>

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

Field summary

Modifier and TypeField
private final int
b
transactionId
comp_1569
queryId
private final CustomQueryAnswerPayload
c
payload
comp_1570
response
public static final StreamCodec<FriendlyByteBuf, ServerboundCustomQueryAnswerPacket>
a
STREAM_CODEC
field_48249
CODEC
private static final int
d
MAX_PAYLOAD_SIZE
field_33374
MAX_PAYLOAD_SIZE

Constructor summary

ModifierConstructor
public (int arg0, CustomQueryAnswerPayload arg1)

Method summary

Modifier and TypeMethod
private static ServerboundCustomQueryAnswerPacket
a(ws arg0)
read(FriendlyByteBuf arg0)
method_52292(class_2540 arg0)
read(PacketByteBuf buf)
private static CustomQueryAnswerPayload
a(int arg0, ws arg1)
readPayload(int arg0, FriendlyByteBuf arg1)
method_52290(int arg0, class_2540 arg1)
readPayload(int queryId, PacketByteBuf buf)
private static CustomQueryAnswerPayload
b(ws arg0)
readUnknownPayload(FriendlyByteBuf arg0)
method_52293(class_2540 arg0)
getVanillaPayload(PacketByteBuf buf)
private void
c(ws arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundCustomQueryAnswerPacket>
a()
type()
method_55846()
getPacketId()
public void
a(akc arg0)
handle(ServerLoginPacketListener arg0)
method_12645(class_2911 arg0)
apply(ServerLoginPacketListener arg0)
public int
b()
transactionId()
comp_1569()
queryId()
public CustomQueryAnswerPayload
e()
payload()
comp_1570()
response()