net.minecraft.network.protocol.login

public record ServerboundCustomQueryAnswerPacket

implements Packet<ServerLoginPacketListener>

aix
net.minecraft.network.protocol.login.ServerboundCustomQueryAnswerPacket
net.minecraft.class_2913
net.minecraft.network.packet.c2s.login.LoginQueryResponseC2SPacket
net.minecraft.src.C_290304_
net.minecraft.network.protocol.login.ServerboundCustomQueryAnswerPacket

Field summary

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

Constructor summary

ModifierConstructor
public (int payload, CustomQueryAnswerPayload arg1)

Method summary

Modifier and TypeMethod
private static ServerboundCustomQueryAnswerPacket
a(vw arg0)
read(FriendlyByteBuf arg0)
method_52292(class_2540 arg0)
read(PacketByteBuf buf)
m_294367_(C_4983_ p_300962_)
private static CustomQueryAnswerPayload
a(int arg0, vw arg1)
readPayload(int arg0, FriendlyByteBuf arg1)
method_52290(int arg0, class_2540 arg1)
readPayload(int queryId, PacketByteBuf buf)
m_293399_(int p_298211_, C_4983_ p_300600_)
private static CustomQueryAnswerPayload
b(vw arg0)
readUnknownPayload(FriendlyByteBuf arg0)
method_52293(class_2540 arg0)
getVanillaPayload(PacketByteBuf buf)
m_294815_(C_4983_ p_299934_)
private void
c(vw arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf buf)
m_292944_(C_4983_ arg0)
public PacketType<ServerboundCustomQueryAnswerPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aiw arg0)
handle(ServerLoginPacketListener arg0)
method_12645(class_2911 arg0)
apply(ServerLoginPacketListener arg0)
m_5797_(C_5209_ arg0)
public int
b()
transactionId()
comp_1569()
queryId()
f_290801_()
public CustomQueryAnswerPayload
e()
payload()
comp_1570()
response()
f_290461_()