Uses of Record Class
net.minecraft.network.packet.s2c.play.CommonPlayerSpawnInfo
Packages that use CommonPlayerSpawnInfo
-
Uses of CommonPlayerSpawnInfo in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as CommonPlayerSpawnInfoModifier and TypeFieldDescriptionprivate final CommonPlayerSpawnInfoGameJoinS2CPacket.commonPlayerSpawnInfoThe field for thecommonPlayerSpawnInforecord component.private final CommonPlayerSpawnInfoPlayerRespawnS2CPacket.commonPlayerSpawnInfoThe field for thecommonPlayerSpawnInforecord component.Methods in net.minecraft.network.packet.s2c.play that return CommonPlayerSpawnInfoModifier and TypeMethodDescriptionGameJoinS2CPacket.commonPlayerSpawnInfo()Returns the value of thecommonPlayerSpawnInforecord component.PlayerRespawnS2CPacket.commonPlayerSpawnInfo()Returns the value of thecommonPlayerSpawnInforecord component.Constructors in net.minecraft.network.packet.s2c.play with parameters of type CommonPlayerSpawnInfoModifierConstructorDescriptionGameJoinS2CPacket(int playerEntityId, boolean hardcore, Set<RegistryKey<World>> dimensionIds, int maxPlayers, int viewDistance, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean enforcesSecureChat) Creates an instance of aGameJoinS2CPacketrecord class.PlayerRespawnS2CPacket(CommonPlayerSpawnInfo commonPlayerSpawnInfo, byte flag) Creates an instance of aPlayerRespawnS2CPacketrecord class. -
Uses of CommonPlayerSpawnInfo in net.minecraft.server.network
Methods in net.minecraft.server.network that return CommonPlayerSpawnInfoModifier and TypeMethodDescriptionServerPlayerEntity.createCommonPlayerSpawnInfo(ServerWorld world)