Uses of Record Class
net.minecraft.network.protocol.game.CommonPlayerSpawnInfo
-
Uses of CommonPlayerSpawnInfo in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final CommonPlayerSpawnInfo
ClientboundLoginPacket.commonPlayerSpawnInfo
The field for thecommonPlayerSpawnInfo
record component.private final CommonPlayerSpawnInfo
ClientboundRespawnPacket.commonPlayerSpawnInfo
The field for thecommonPlayerSpawnInfo
record component.Modifier and TypeMethodDescriptionClientboundLoginPacket.commonPlayerSpawnInfo()
Returns the value of thecommonPlayerSpawnInfo
record component.ClientboundRespawnPacket.commonPlayerSpawnInfo()
Returns the value of thecommonPlayerSpawnInfo
record component.ModifierConstructorDescriptionClientboundLoginPacket
(int playerId, boolean hardcore, Set<ResourceKey<Level>> levels, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, CommonPlayerSpawnInfo commonPlayerSpawnInfo) Creates an instance of aClientboundLoginPacket
record class.ClientboundRespawnPacket
(CommonPlayerSpawnInfo commonPlayerSpawnInfo, byte dataToKeep) Creates an instance of aClientboundRespawnPacket
record class. -
Uses of CommonPlayerSpawnInfo in net.minecraft.server.level