net.minecraft.network.protocol.game

public record CommonPlayerSpawnInfo

agb
net.minecraft.network.protocol.game.CommonPlayerSpawnInfo
net.minecraft.class_8589
net.minecraft.network.packet.s2c.play.CommonPlayerSpawnInfo
net.minecraft.network.protocol.game.CommonPlayerSpawnInfo

Field summary

Modifier and TypeField
private final Holder<DimensionType>
a
dimensionType
comp_1553
dimensionType
private final ResourceKey<Level>
b
dimension
comp_1554
dimension
private final long
c
seed
comp_1555
seed
private final GameType
d
gameType
comp_1556
gameMode
private final GameType
e
previousGameType
comp_1557
prevGameMode
private final boolean
f
isDebug
comp_1558
isDebug
private final boolean
g
isFlat
comp_1559
isFlat
private final Optional<GlobalPos>
h
lastDeathLocation
comp_1560
lastDeathLocation
private final int
i
portalCooldown
comp_1561
portalCooldown
private final int
j
seaLevel
comp_2893
seaLevel

Constructor summary

ModifierConstructor
public (RegistryFriendlyByteBuf buf)
public (Holder<DimensionType> arg0, ResourceKey<Level> arg1, long arg2, GameType arg3, GameType arg4, boolean arg5, boolean arg6, Optional<GlobalPos> arg7, int arg8, int arg9)

Method summary

Modifier and TypeMethod
public void
a(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_52274(class_9129 arg0)
write(RegistryByteBuf buf)
public Holder<DimensionType>
a()
dimensionType()
comp_1553()
dimensionType()
public ResourceKey<Level>
b()
dimension()
comp_1554()
dimension()
public long
c()
seed()
comp_1555()
seed()
public GameType
d()
gameType()
comp_1556()
gameMode()
public GameType
e()
previousGameType()
comp_1557()
prevGameMode()
public boolean
f()
isDebug()
comp_1558()
isDebug()
public boolean
g()
isFlat()
comp_1559()
isFlat()
public Optional<GlobalPos>
h()
lastDeathLocation()
comp_1560()
lastDeathLocation()
public int
i()
portalCooldown()
comp_1561()
portalCooldown()
public int
j()
seaLevel()
comp_2893()
seaLevel()