net.minecraft.network.protocol.login

public record ClientboundCustomQueryPacket

implements Packet<ClientLoginPacketListener>

ajv
net.minecraft.network.protocol.login.ClientboundCustomQueryPacket
net.minecraft.class_2899
net.minecraft.network.packet.s2c.login.LoginQueryRequestS2CPacket
net.minecraft.network.protocol.login.PacketLoginOutCustomPayload

Field summary

Modifier and TypeField
private final int
b
transactionId
comp_1567
queryId
private final CustomQueryPayload
c
payload
comp_1568
payload
public static final StreamCodec<FriendlyByteBuf, ClientboundCustomQueryPacket>
a
STREAM_CODEC
field_48232
CODEC
private static final int
d
MAX_PAYLOAD_SIZE
field_33373
MAX_PAYLOAD_SIZE

Constructor summary

ModifierConstructor
private (FriendlyByteBuf buf)
public (int queryId, CustomQueryPayload arg1)

Method summary

Modifier and TypeMethod
private static CustomQueryPayload
a(alz arg0, ws arg1)
readPayload(ResourceLocation arg0, FriendlyByteBuf arg1)
method_52287(class_2960 arg0, class_2540 arg1)
readPayload(Identifier id, PacketByteBuf buf)
private static DiscardedQueryPayload
b(alz arg0, ws arg1)
readUnknownPayload(ResourceLocation arg0, FriendlyByteBuf arg1)
method_52288(class_2960 arg0, class_2540 arg1)
readUnknownPayload(Identifier id, PacketByteBuf buf)
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_56010(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundCustomQueryPacket>
a()
type()
method_55846()
getPacketId()
public void
a(aju arg0)
handle(ClientLoginPacketListener arg0)
method_12591(class_2896 arg0)
apply(ClientLoginPacketListener arg0)
public int
b()
transactionId()
comp_1567()
queryId()
public CustomQueryPayload
e()
payload()
comp_1568()
payload()