Uses of Record Class
net.minecraft.network.protocol.game.CommonPlayerSpawnInfo
Packages that use CommonPlayerSpawnInfo
-
Uses of CommonPlayerSpawnInfo in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as CommonPlayerSpawnInfoModifier and TypeFieldDescriptionprivate final CommonPlayerSpawnInfo
ClientboundLoginPacket.commonPlayerSpawnInfo
The field for thecommonPlayerSpawnInfo
record component.private final CommonPlayerSpawnInfo
ClientboundRespawnPacket.commonPlayerSpawnInfo
The field for thecommonPlayerSpawnInfo
record component.Methods in net.minecraft.network.protocol.game that return CommonPlayerSpawnInfoModifier and TypeMethodDescriptionClientboundLoginPacket.commonPlayerSpawnInfo()
Returns the value of thecommonPlayerSpawnInfo
record component.ClientboundRespawnPacket.commonPlayerSpawnInfo()
Returns the value of thecommonPlayerSpawnInfo
record component.Constructors in net.minecraft.network.protocol.game with parameters of type CommonPlayerSpawnInfoModifierConstructorDescriptionClientboundLoginPacket
(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
Methods in net.minecraft.server.level that return CommonPlayerSpawnInfo