net.minecraft.network.protocol.game

public class ClientboundLoginPacket

implements Packet<ClientGamePacketListener>

px
net.minecraft.network.protocol.game.ClientboundLoginPacket
net.minecraft.class_2678
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
net.minecraft.network.play.server.SJoinGamePacket
net.minecraft.server.v1_16_R2.PacketPlayOutLogin

Field summary

Modifier and TypeField
private int
a
playerId
field_12280
playerEntityId
field_149206_a
private long
b
seed
field_20665
sha256Seed
field_229740_b_
private boolean
c
hardcore
field_12281
hardcore
field_149204_b
private GameType
d
gameType
field_12282
gameMode
field_149205_c
private GameType
e
previousGameType
field_25713
previousGameMode
field_241785_e_
private Set<ResourceKey<Level>>
f
levels
field_25320
dimensionIds
field_240811_e_
private RegistryAccess$RegistryHolder
g
registryHolder
field_12284
registryManager
field_240812_f_
private DimensionType
h
dimensionType
field_25321
dimensionType
field_240813_g_
private ResourceKey<Level>
i
dimension
field_25134
dimensionId
field_149202_d
private int
j
maxPlayers
field_12279
maxPlayers
field_149200_f
private int
k
chunkRadius
field_19145
viewDistance
field_218729_g
private boolean
l
reducedDebugInfo
field_24618
reducedDebugInfo
field_179745_h
private boolean
m
showDeathScreen
field_24619
showDeathScreen
field_229741_j_
private boolean
n
isDebug
field_12278
debugWorld
field_240814_m_
private boolean
o
isFlat
field_20666
flatWorld
field_240815_n_

Constructor summary

ModifierConstructor
public ()
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)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(om arg0)
handle(ClientGamePacketListener arg0)
method_11567(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public int
b()
getPlayerId()
method_11564()
getEntityId()
func_149197_c()
public long
c()
getSeed()
method_22423()
getSha256Seed()
func_229742_c_()
public boolean
d()
isHardcore()
method_28118()
isHardcore()
func_149195_d()
public GameType
e()
getGameType()
method_11561()
getGameMode()
func_149198_e()
public GameType
f()
getPreviousGameType()
method_30116()
getPreviousGameMode()
func_241786_f_()
public Set<ResourceKey<Level>>
g()
levels()
method_29443()
getDimensionIds()
func_240816_f_()
public RegistryAccess
h()
registryAccess()
method_11565()
getRegistryManager()
func_240817_g_()
public DimensionType
i()
getDimensionType()
method_29444()
getDimensionType()
func_244297_i()
public ResourceKey<Level>
j()
getDimension()
method_29176()
getDimensionId()
func_240819_i_()
public int
l()
getChunkRadius()
method_20204()
getViewDistance()
func_218728_h()
public boolean
m()
isReducedDebugInfo()
method_11562()
hasReducedDebugInfo()
func_179744_h()
public boolean
n()
shouldShowDeathScreen()
method_22424()
showsDeathScreen()
func_229743_k_()
public boolean
o()
isDebug()
method_28119()
isDebugWorld()
func_240820_n_()
public boolean
p()
isFlat()
method_11568()
isFlatWorld()
func_240821_o_()