net.minecraft.network.packet.c2s.login

public record LoginHelloC2SPacket

implements Packet<ServerLoginPacketListener>

net.minecraft.network.protocol.login.ServerboundHelloPacket
net.minecraft.class_2915
net.minecraft.network.packet.c2s.login.LoginHelloC2SPacket

Field summary

Modifier and TypeField
private final String
name
comp_765
name
private final UUID
profileId
comp_907
profileId
public static final PacketCodec<PacketByteBuf, LoginHelloC2SPacket>
STREAM_CODEC
field_48250
CODEC

Constructor summary

ModifierConstructor
private (PacketByteBuf buf)
public (String name, UUID profileId)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_56020(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<LoginHelloC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerLoginPacketListener listener)
method_12649(class_2911 arg0)
apply(ServerLoginPacketListener arg0)
public String
name()
comp_765()
name()
public UUID
profileId()
comp_907()
profileId()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)