net.minecraft.network.protocol.game

public class ClientboundLoginPacket

implements Packet<ClientGamePacketListener>

ra
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 static final int
a
HARDCORE_FLAG
field_33334
field_33334
f_178958_
private final int
b
playerId
field_12280
playerEntityId
f_132360_
private final long
c
seed
field_20665
sha256Seed
f_132361_
private final boolean
d
hardcore
field_12281
hardcore
f_132362_
private final GameType
e
gameType
field_12282
gameMode
f_132363_
private final GameType
f
previousGameType
field_25713
previousGameMode
f_132364_
private final Set<ResourceKey<Level>>
g
levels
field_25320
dimensionIds
f_132365_
private final RegistryAccess$RegistryHolder
h
registryHolder
field_12284
registryManager
f_132366_
private final DimensionType
i
dimensionType
field_25321
dimensionType
f_132367_
private final ResourceKey<Level>
j
dimension
field_25134
dimensionId
f_132368_
private final int
k
maxPlayers
field_12279
maxPlayers
f_132369_
private final int
l
chunkRadius
field_19145
viewDistance
f_132370_
private final boolean
m
reducedDebugInfo
field_24618
reducedDebugInfo
f_132371_
private final boolean
n
showDeathScreen
field_24619
showDeathScreen
f_132372_
private final boolean
o
isDebug
field_12278
debugWorld
f_132373_
private final boolean
p
isFlat
field_20666
flatWorld
f_132374_

Constructor summary

ModifierConstructor
public (int playerEntityId, GameType gameMode, GameType previousGameMode, long sha256Seed, boolean hardcore, Set<ResourceKey<Level>> dimensionIds, RegistryAccess$RegistryHolder registryManager, DimensionType dimensionType, ResourceKey<Level> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(og arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(pn arg0)
handle(ClientGamePacketListener arg0)
method_11567(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getPlayerId()
method_11564()
getEntityId()
m_132398_()
public long
c()
getSeed()
method_22423()
getSha256Seed()
m_132401_()
public boolean
d()
isHardcore()
method_28118()
isHardcore()
m_132402_()
public GameType
e()
getGameType()
method_11561()
getGameMode()
m_132403_()
public GameType
f()
getPreviousGameType()
method_30116()
getPreviousGameMode()
m_132404_()
public Set<ResourceKey<Level>>
g()
levels()
method_29443()
getDimensionIds()
m_132405_()
public RegistryAccess
h()
registryAccess()
method_11565()
getRegistryManager()
m_132406_()
public DimensionType
i()
getDimensionType()
method_29444()
getDimensionType()
m_132407_()
public ResourceKey<Level>
j()
getDimension()
method_29176()
getDimensionId()
m_132408_()
public int
k()
getMaxPlayers()
method_36149()
getMaxPlayers()
m_178966_()
public int
l()
getChunkRadius()
method_20204()
getViewDistance()
m_132409_()
public boolean
m()
isReducedDebugInfo()
method_11562()
hasReducedDebugInfo()
m_132410_()
public boolean
n()
shouldShowDeathScreen()
method_22424()
showsDeathScreen()
m_132411_()
public boolean
o()
isDebug()
method_28119()
isDebugWorld()
m_132412_()
public boolean
p()
isFlat()
method_11568()
isFlatWorld()
m_132413_()