net.minecraft.network.packet.s2c.play

public record GameJoinS2CPacket

implements Packet<ClientPlayPacketListener>

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

Field summary

Modifier and TypeField
private final int
playerId
comp_88
playerEntityId
private final boolean
hardcore
comp_89
hardcore
private final Set<RegistryKey<World>>
levels
comp_92
dimensionIds
private final int
maxPlayers
comp_97
maxPlayers
private final int
chunkRadius
comp_98
viewDistance
private final int
simulationDistance
comp_169
simulationDistance
private final boolean
reducedDebugInfo
comp_99
reducedDebugInfo
private final boolean
showDeathScreen
comp_100
showDeathScreen
private final boolean
doLimitedCrafting
comp_1964
doLimitedCrafting
private final CommonPlayerSpawnInfo
commonPlayerSpawnInfo
comp_1727
commonPlayerSpawnInfo
private final boolean
enforcesSecureChat
comp_2200
enforcesSecureChat
public static final PacketCodec<RegistryByteBuf, GameJoinS2CPacket>
STREAM_CODEC
field_47937
CODEC

Constructor summary

ModifierConstructor
private (RegistryByteBuf buf)
public (int playerEntityId, boolean hardcore, Set<RegistryKey<World>> dimensionIds, int maxPlayers, int viewDistance, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean enforcesSecureChat)

Method summary

Modifier and TypeMethod
private void
write(RegistryFriendlyByteBuf output)
method_55887(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<GameJoinS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11567(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
playerId()
comp_88()
playerEntityId()
public boolean
hardcore()
comp_89()
hardcore()
public Set<RegistryKey<World>>
levels()
comp_92()
dimensionIds()
public int
maxPlayers()
comp_97()
maxPlayers()
public int
chunkRadius()
comp_98()
viewDistance()
public int
simulationDistance()
comp_169()
simulationDistance()
public boolean
reducedDebugInfo()
comp_99()
reducedDebugInfo()
public boolean
showDeathScreen()
comp_100()
showDeathScreen()
public boolean
doLimitedCrafting()
comp_1964()
doLimitedCrafting()
public CommonPlayerSpawnInfo
commonPlayerSpawnInfo()
comp_1727()
commonPlayerSpawnInfo()
public boolean
enforcesSecureChat()
comp_2200()
enforcesSecureChat()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)
private static RegistryKey
lambda$new$0(FriendlyByteBuf arg0)
method_34135(class_2540 arg0)
method_34135(PacketByteBuf b)