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 CommonPlayerSpawnInfoClientboundLoginPacket.commonPlayerSpawnInfoThe field for thecommonPlayerSpawnInforecord component.private final CommonPlayerSpawnInfoClientboundRespawnPacket.commonPlayerSpawnInfoThe field for thecommonPlayerSpawnInforecord component.Methods in net.minecraft.network.protocol.game that return CommonPlayerSpawnInfoModifier and TypeMethodDescriptionClientboundLoginPacket.commonPlayerSpawnInfo()Returns the value of thecommonPlayerSpawnInforecord component.ClientboundRespawnPacket.commonPlayerSpawnInfo()Returns the value of thecommonPlayerSpawnInforecord 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, boolean enforcesSecureChat) Creates an instance of aClientboundLoginPacketrecord class.ClientboundRespawnPacket(CommonPlayerSpawnInfo commonPlayerSpawnInfo, byte dataToKeep) Creates an instance of aClientboundRespawnPacketrecord class. -
Uses of CommonPlayerSpawnInfo in net.minecraft.server.level
Methods in net.minecraft.server.level that return CommonPlayerSpawnInfo