net.minecraft.network.protocol.game

public record ClientboundLoginPacket

implements Packet<ClientGamePacketListener>

add
net.minecraft.network.protocol.game.ClientboundLoginPacket
net.minecraft.class_2678
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutLogin

Field summary

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

Constructor summary

ModifierConstructor
private (RegistryFriendlyByteBuf buf)
public (int playerEntityId, boolean arg1, Set<ResourceKey<Level>> arg2, int arg3, int arg4, int arg5, boolean arg6, boolean arg7, boolean arg8, CommonPlayerSpawnInfo arg9, boolean arg10)

Method summary

Modifier and TypeMethod
private void
a(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55887(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundLoginPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11567(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
playerId()
comp_88()
playerEntityId()
public boolean
e()
hardcore()
comp_89()
hardcore()
public Set<ResourceKey<Level>>
f()
levels()
comp_92()
dimensionIds()
public int
g()
maxPlayers()
comp_97()
maxPlayers()
public int
h()
chunkRadius()
comp_98()
viewDistance()
public int
i()
simulationDistance()
comp_169()
simulationDistance()
public boolean
j()
reducedDebugInfo()
comp_99()
reducedDebugInfo()
public boolean
k()
showDeathScreen()
comp_100()
showDeathScreen()
public boolean
l()
doLimitedCrafting()
comp_1964()
doLimitedCrafting()
public CommonPlayerSpawnInfo
m()
commonPlayerSpawnInfo()
comp_1727()
commonPlayerSpawnInfo()
public boolean
n()
enforcesSecureChat()
comp_2200()
enforcesSecureChat()