Uses of Class
net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData
Packages that use MobSpawnSettings.SpawnerData
Package
Description
-
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level
Methods in net.minecraft.world.level that return types with arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionprivate static Optional<MobSpawnSettings.SpawnerData> NaturalSpawner.getRandomSpawnMobAt(ServerLevel p_220430_, StructureManager p_220431_, ChunkGenerator p_220432_, MobCategory p_220433_, RandomSource p_220434_, BlockPos p_220435_) private static WeightedRandomList<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt(ServerLevel p_220444_, StructureManager p_220445_, ChunkGenerator p_220446_, MobCategory p_220447_, BlockPos p_220448_, Holder<Biome> p_220449_) Methods in net.minecraft.world.level with parameters of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionprivate static booleanNaturalSpawner.canSpawnMobAt(ServerLevel p_220437_, StructureManager p_220438_, ChunkGenerator p_220439_, MobCategory p_220440_, MobSpawnSettings.SpawnerData p_220441_, BlockPos p_220442_) private static booleanNaturalSpawner.isValidSpawnPostitionForType(ServerLevel p_220422_, MobCategory p_220423_, StructureManager p_220424_, ChunkGenerator p_220425_, MobSpawnSettings.SpawnerData p_220426_, BlockPos.MutableBlockPos p_220427_, double p_220428_) -
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome with type parameters of type MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MobSpawnSettings.SpawnerData> MobSpawnSettings.SpawnerData.CODECstatic final WeightedRandomList<MobSpawnSettings.SpawnerData> MobSpawnSettings.EMPTY_MOB_LISTprotected final Map<MobCategory, List<MobSpawnSettings.SpawnerData>> MobSpawnSettings.Builder.spawnersprivate final Map<MobCategory, WeightedRandomList<MobSpawnSettings.SpawnerData>> MobSpawnSettings.spawnersMethods in net.minecraft.world.level.biome that return types with arguments of type MobSpawnSettings.SpawnerDataMethods in net.minecraft.world.level.biome with parameters of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionMobSpawnSettings.Builder.addSpawn(MobCategory p_48377_, MobSpawnSettings.SpawnerData p_48378_) Constructor parameters in net.minecraft.world.level.biome with type arguments of type MobSpawnSettings.SpawnerDataModifierConstructorDescription(package private)MobSpawnSettings(float p_196689_, Map<MobCategory, WeightedRandomList<MobSpawnSettings.SpawnerData>> p_196690_, Map<EntityType<?>, MobSpawnSettings.MobSpawnCost> p_196691_) -
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return types with arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionChunkGenerator.getMobsAt(Holder<Biome> p_223134_, StructureManager p_223135_, MobCategory p_223136_, BlockPos p_223137_) -
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure with type parameters of type MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionprivate final WeightedRandomList<MobSpawnSettings.SpawnerData> StructureSpawnOverride.spawnsThe field for thespawnsrecord component.Methods in net.minecraft.world.level.levelgen.structure that return types with arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionStructureSpawnOverride.spawns()Returns the value of thespawnsrecord component.Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type MobSpawnSettings.SpawnerDataModifierConstructorDescriptionStructureSpawnOverride(StructureSpawnOverride.BoundingBoxType boundingBox, WeightedRandomList<MobSpawnSettings.SpawnerData> spawns) Creates an instance of aStructureSpawnOverriderecord class. -
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionstatic final WeightedRandomList<MobSpawnSettings.SpawnerData> NetherFortressStructure.FORTRESS_ENEMIES -
Uses of MobSpawnSettings.SpawnerData in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world with type parameters of type MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionprivate final List<MobSpawnSettings.SpawnerData> BiomeModifiers.AddSpawnsBiomeModifier.spawnersThe field for thespawnersrecord component.private final List<MobSpawnSettings.SpawnerData> StructureModifiers.AddSpawnsStructureModifier.spawnersThe field for thespawnersrecord component.private final List<MobSpawnSettings.SpawnerData> StructureSettingsBuilder.StructureSpawnOverrideBuilder.spawnsprivate final List<MobSpawnSettings.SpawnerData> StructureSettingsBuilder.StructureSpawnOverrideBuilder.spawnsViewMethods in net.neoforged.neoforge.common.world that return types with arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionMobSpawnSettingsBuilder.getSpawner(MobCategory type) StructureSettingsBuilder.StructureSpawnOverrideBuilder.getSpawns()Unmodifiable view of the possible spawns.BiomeModifiers.AddSpawnsBiomeModifier.spawners()Returns the value of thespawnersrecord component.StructureModifiers.AddSpawnsStructureModifier.spawners()Returns the value of thespawnersrecord component.Methods in net.neoforged.neoforge.common.world with parameters of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionvoidStructureSettingsBuilder.StructureSpawnOverrideBuilder.addSpawn(MobSpawnSettings.SpawnerData spawn) Adds a spawn to the overrides.voidStructureSettingsBuilder.StructureSpawnOverrideBuilder.removeSpawn(MobSpawnSettings.SpawnerData spawn) Removes a given spawn from the list of overrides.BiomeModifiers.AddSpawnsBiomeModifier.singleSpawn(HolderSet<Biome> biomes, MobSpawnSettings.SpawnerData spawner) Convenience method for using a single MobSpawnSettings.SpawnerDatas.StructureModifiers.AddSpawnsStructureModifier.singleSpawn(HolderSet<Structure> structures, MobSpawnSettings.SpawnerData spawner) Convenience method for using a singleMobSpawnSettings.SpawnerData.Method parameters in net.neoforged.neoforge.common.world with type arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionvoidStructureSettingsBuilder.StructureSpawnOverrideBuilder.removeSpawns(Predicate<MobSpawnSettings.SpawnerData> spawnPredicate) Constructor parameters in net.neoforged.neoforge.common.world with type arguments of type MobSpawnSettings.SpawnerDataModifierConstructorDescriptionAddSpawnsBiomeModifier(HolderSet<Biome> biomes, List<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsBiomeModifierrecord class.AddSpawnsStructureModifier(HolderSet<Structure> structures, List<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsStructureModifierrecord class.privateStructureSpawnOverrideBuilder(StructureSpawnOverride.BoundingBoxType boundingBox, List<MobSpawnSettings.SpawnerData> spawns) -
Uses of MobSpawnSettings.SpawnerData in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event with type parameters of type MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionprivate static final WeightedRandomList<MobSpawnSettings.SpawnerData> EventHooks.NO_SPAWNSMethods in net.neoforged.neoforge.event that return types with arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionEventHooks.getPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) Method parameters in net.neoforged.neoforge.event with type arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionEventHooks.getPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) -
Uses of MobSpawnSettings.SpawnerData in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level with type parameters of type MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionprivate @Nullable List<MobSpawnSettings.SpawnerData> LevelEvent.PotentialSpawns.listprivate List<MobSpawnSettings.SpawnerData> LevelEvent.PotentialSpawns.viewMethods in net.neoforged.neoforge.event.level that return types with arguments of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionLevelEvent.PotentialSpawns.getSpawnerDataList()Returns the list of mobs that can potentially be spawned..Methods in net.neoforged.neoforge.event.level with parameters of type MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionvoidLevelEvent.PotentialSpawns.addSpawnerData(MobSpawnSettings.SpawnerData data) Appends a SpawnerData entry to the spawn list.booleanLevelEvent.PotentialSpawns.removeSpawnerData(MobSpawnSettings.SpawnerData data) Removes a SpawnerData entry from the spawn list.Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type MobSpawnSettings.SpawnerDataModifierConstructorDescriptionPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) -
Uses of MobSpawnSettings.SpawnerData in net.neoforged.neoforge.oldtest.world
Fields in net.neoforged.neoforge.oldtest.world declared as MobSpawnSettings.SpawnerDataModifier and TypeFieldDescriptionprivate final MobSpawnSettings.SpawnerDataStructureModifierTest.TestModifier.spawnThe field for thespawnrecord component.Methods in net.neoforged.neoforge.oldtest.world that return MobSpawnSettings.SpawnerDataModifier and TypeMethodDescriptionStructureModifierTest.TestModifier.spawn()Returns the value of thespawnrecord component.Constructors in net.neoforged.neoforge.oldtest.world with parameters of type MobSpawnSettings.SpawnerDataModifierConstructorDescriptionTestModifier(HolderSet<Structure> structures, MobCategory category, MobSpawnSettings.SpawnerData spawn) Creates an instance of aTestModifierrecord class.