net.minecraft.network.protocol.game

public record CommonPlayerSpawnInfo

aaz
net.minecraft.network.protocol.game.CommonPlayerSpawnInfo
net.minecraft.class_8589
net.minecraft.network.packet.s2c.play.CommonPlayerSpawnInfo
net.minecraft.src.C_290299_
net.minecraft.network.protocol.game.CommonPlayerSpawnInfo

Field summary

Modifier and TypeField
private final ResourceKey<DimensionType>
a
dimensionType
comp_1553
dimensionType
f_291865_
private final ResourceKey<Level>
b
dimension
comp_1554
dimension
f_290731_
private final long
c
seed
comp_1555
seed
f_290589_
private final GameType
d
gameType
comp_1556
gameMode
f_291098_
private final GameType
e
previousGameType
comp_1557
prevGameMode
f_290730_
private final boolean
f
isDebug
comp_1558
isDebug
f_290330_
private final boolean
g
isFlat
comp_1559
isFlat
f_290486_
private final Optional<GlobalPos>
h
lastDeathLocation
comp_1560
lastDeathLocation
f_290601_
private final int
i
portalCooldown
comp_1561
portalCooldown
f_291470_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (ResourceKey<DimensionType> f_290731_, ResourceKey<Level> f_290589_, long f_291098_, GameType f_290330_, GameType f_290486_, boolean f_290601_, boolean f_291470_, Optional<GlobalPos> arg7, int arg8)

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_52274(class_2540 arg0)
write(PacketByteBuf buf)
m_294483_(C_4983_ arg0)
public ResourceKey<DimensionType>
a()
dimensionType()
comp_1553()
dimensionType()
f_291865_()
public ResourceKey<Level>
b()
dimension()
comp_1554()
dimension()
f_290731_()
public long
c()
seed()
comp_1555()
seed()
f_290589_()
public GameType
d()
gameType()
comp_1556()
gameMode()
f_291098_()
public GameType
e()
previousGameType()
comp_1557()
prevGameMode()
f_290730_()
public boolean
f()
isDebug()
comp_1558()
isDebug()
f_290330_()
public boolean
g()
isFlat()
comp_1559()
isFlat()
f_290486_()
public Optional<GlobalPos>
h()
lastDeathLocation()
comp_1560()
lastDeathLocation()
f_290601_()
public int
i()
portalCooldown()
comp_1561()
portalCooldown()
f_291470_()