net.minecraft.network.protocol.game

public record ClientboundLoginPacket

implements Packet<ClientGamePacketListener>

adl
net.minecraft.network.protocol.game.ClientboundLoginPacket
net.minecraft.class_2678
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
net.minecraft.src.C_5074_
net.minecraft.network.protocol.game.PacketPlayOutLogin

Field summary

Modifier and TypeField
private final int
b
playerId
comp_88
playerEntityId
f_132360_
private final boolean
c
hardcore
comp_89
hardcore
f_132362_
private final Set<ResourceKey<Level>>
d
levels
comp_92
dimensionIds
f_132365_
private final int
e
maxPlayers
comp_97
maxPlayers
f_132369_
private final int
f
chunkRadius
comp_98
viewDistance
f_132370_
private final int
g
simulationDistance
comp_169
simulationDistance
f_195761_
private final boolean
h
reducedDebugInfo
comp_99
reducedDebugInfo
f_132371_
private final boolean
i
showDeathScreen
comp_100
showDeathScreen
f_132372_
private final boolean
j
doLimitedCrafting
comp_1964
doLimitedCrafting
f_291478_
private final CommonPlayerSpawnInfo
k
commonPlayerSpawnInfo
comp_1727
commonPlayerSpawnInfo
f_291078_
private final boolean
l
enforcesSecureChat
comp_2200
enforcesSecureChat
f_316348_
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundLoginPacket>
a
STREAM_CODEC
field_47937
CODEC
f_316307_

Constructor summary

ModifierConstructor
private (RegistryFriendlyByteBuf buf)
public (int playerEntityId, boolean levels, Set<ResourceKey<Level>> maxPlayers, int chunkRadius, int simulationDistance, int reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, boolean commonPlayerSpawnInfo, CommonPlayerSpawnInfo enforcesSecureChat, boolean arg10)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55887(class_9129 arg0)
write(RegistryByteBuf buf)
m_132399_(C_313350_ arg0)
public PacketType<ClientboundLoginPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11567(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
playerId()
comp_88()
playerEntityId()
f_132360_()
public boolean
e()
hardcore()
comp_89()
hardcore()
f_132362_()
public Set<ResourceKey<Level>>
f()
levels()
comp_92()
dimensionIds()
f_132365_()
public int
g()
maxPlayers()
comp_97()
maxPlayers()
f_132369_()
public int
h()
chunkRadius()
comp_98()
viewDistance()
f_132370_()
public int
i()
simulationDistance()
comp_169()
simulationDistance()
f_195761_()
public boolean
j()
reducedDebugInfo()
comp_99()
reducedDebugInfo()
f_132371_()
public boolean
k()
showDeathScreen()
comp_100()
showDeathScreen()
f_132372_()
public boolean
l()
doLimitedCrafting()
comp_1964()
doLimitedCrafting()
f_291478_()
public CommonPlayerSpawnInfo
m()
commonPlayerSpawnInfo()
comp_1727()
commonPlayerSpawnInfo()
f_291078_()
public boolean
n()
enforcesSecureChat()
comp_2200()
enforcesSecureChat()
f_316348_()