Uses of Class
net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData
Package
Description
-
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level
Modifier and TypeMethodDescriptionprivate static Optional<MobSpawnSettings.SpawnerData>
NaturalSpawner.getRandomSpawnMobAt(ServerLevel p_151599_, StructureFeatureManager p_151600_, ChunkGenerator p_151601_, MobCategory p_151602_, Random p_151603_, BlockPos p_151604_)
private static WeightedRandomList<MobSpawnSettings.SpawnerData>
NaturalSpawner.mobsAt(ServerLevel p_151592_, StructureFeatureManager p_151593_, ChunkGenerator p_151594_, MobCategory p_151595_, BlockPos p_151596_, Biome p_151597_)
Modifier and TypeMethodDescriptionprivate static boolean
NaturalSpawner.canSpawnMobAt(ServerLevel p_47004_, StructureFeatureManager p_47005_, ChunkGenerator p_47006_, MobCategory p_47007_, MobSpawnSettings.SpawnerData p_47008_, BlockPos p_47009_)
private static boolean
NaturalSpawner.isValidSpawnPostitionForType(ServerLevel p_46996_, MobCategory p_46997_, StructureFeatureManager p_46998_, ChunkGenerator p_46999_, MobSpawnSettings.SpawnerData p_47000_, BlockPos.MutableBlockPos p_47001_, double p_47002_)
-
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<MobSpawnSettings.SpawnerData>
MobSpawnSettings.SpawnerData.CODEC
MobSpawnSettings.EMPTY_MOB_LIST
protected Map<MobCategory,List<MobSpawnSettings.SpawnerData>>
MobSpawnSettings.Builder.spawners
MobSpawnSettings.spawners
Modifier and TypeMethodDescriptionMobSpawnSettings.Builder.addSpawn(MobCategory p_48377_, MobSpawnSettings.SpawnerData p_48378_)
ModifierConstructorDescription(package private)
MobSpawnSettings(float p_48334_, Map<MobCategory,WeightedRandomList<MobSpawnSettings.SpawnerData>> p_48335_, Map<EntityType<?>,MobSpawnSettings.MobSpawnCost> p_48336_, boolean p_48337_)
-
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionChunkGenerator.getMobsAt(Biome p_156158_, StructureFeatureManager p_156159_, MobCategory p_156160_, BlockPos p_156161_)
-
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionNoiseBasedChunkGenerator.getMobsAt(Biome p_158433_, StructureFeatureManager p_158434_, MobCategory p_158435_, BlockPos p_158436_)
-
Uses of MobSpawnSettings.SpawnerData in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionprivate static WeightedRandomList<MobSpawnSettings.SpawnerData>
NetherFortressFeature.FORTRESS_ENEMIES
private static WeightedRandomList<MobSpawnSettings.SpawnerData>
OceanMonumentFeature.MONUMENT_ENEMIES
private static WeightedRandomList<MobSpawnSettings.SpawnerData>
PillagerOutpostFeature.OUTPOST_ENEMIES
private static WeightedRandomList<MobSpawnSettings.SpawnerData>
SwamplandHutFeature.SWAMPHUT_ANIMALS
private static WeightedRandomList<MobSpawnSettings.SpawnerData>
SwamplandHutFeature.SWAMPHUT_ENEMIES
Modifier and TypeMethodDescriptionNetherFortressFeature.getDefaultSpawnList(MobCategory category)
OceanMonumentFeature.getDefaultSpawnList(MobCategory category)
PillagerOutpostFeature.getDefaultSpawnList(MobCategory category)
SwamplandHutFeature.getDefaultSpawnList(MobCategory category)
StructureFeature.getSpawnList(MobCategory classification)
StructureFeature.getSpecialAnimals()
StructureFeature.getSpecialEnemies()
StructureFeature.getSpecialUndergroundWaterAnimals()
-
Uses of MobSpawnSettings.SpawnerData in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault List<MobSpawnSettings.SpawnerData>
IForgeStructureFeature.getDefaultCreatureSpawnList()
Deprecated.default List<MobSpawnSettings.SpawnerData>
IForgeStructureFeature.getDefaultSpawnList()
Deprecated.UseIForgeStructureFeature.getDefaultSpawnList(MobCategory)
TODO: Remove in 1.18default List<MobSpawnSettings.SpawnerData>
IForgeStructureFeature.getDefaultSpawnList(MobCategory category)
Gets the default list of spawns for this structure, of the specified category.IForgeStructureFeature.getSpawnList(MobCategory classification)
Helper method to get the list of entity spawns for this structure for the given classification. -
Uses of MobSpawnSettings.SpawnerData in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionMobSpawnInfoBuilder.getSpawner(MobCategory type)
StructureSpawnManager.getSpawnList(StructureFeature<?> structure, MobCategory classification)
Gets the entity spawn lists for entities of a given classification for a given structure.StructureSpawnManager.getStructureSpawns(StructureFeatureManager structureManager, MobCategory classification, BlockPos pos)
Looks up if a given position is within a structure and returns any entity spawns that structure has for the given classification, or null if none are found.ModifierConstructorDescriptionprivate
StructureSpawnInfo(com.google.common.collect.ImmutableMap<MobCategory,WeightedRandomList<MobSpawnSettings.SpawnerData>> spawns, boolean insideOnly)
-
Uses of MobSpawnSettings.SpawnerData in net.minecraftforge.event.world
Modifier and TypeFieldDescriptionprivate Map<MobCategory,List<MobSpawnSettings.SpawnerData>>
StructureSpawnListGatherEvent.entitySpawns
private Map<MobCategory,List<MobSpawnSettings.SpawnerData>>
StructureSpawnListGatherEvent.entitySpawnsUnmodifiable
private Map<MobCategory,List<MobSpawnSettings.SpawnerData>>
StructureSpawnListGatherEvent.entitySpawnsUnmodifiableLists
Modifier and TypeMethodDescriptionStructureSpawnListGatherEvent.getEntitySpawns()
Gets an unmodifiable view of the map of spawns based on entity classification that is used to fill in the various spawn lists for the structure.StructureSpawnListGatherEvent.getEntitySpawns(MobCategory classification)
Gets an unmodifiable view of the the list representing the entity spawns for the given classification.private List<MobSpawnSettings.SpawnerData>
StructureSpawnListGatherEvent.getOrCreateEntitySpawns(MobCategory classification)
Gets the internal spawn list for a given entity classification, or adds one if needed.Modifier and TypeMethodDescriptionvoid
StructureSpawnListGatherEvent.addEntitySpawn(MobCategory classification, MobSpawnSettings.SpawnerData spawner)
Adds a spawn to the list of spawns for the given classification.void
StructureSpawnListGatherEvent.removeEntitySpawn(MobCategory classification, MobSpawnSettings.SpawnerData spawner)
Removes a spawn from the list of spawns for the given classification.Modifier and TypeMethodDescriptionvoid
StructureSpawnListGatherEvent.addEntitySpawns(MobCategory classification, List<MobSpawnSettings.SpawnerData> spawners)
Adds spawns to the list of spawns for the given classification.
IForgeStructureFeature.getDefaultSpawnList(MobCategory)
TODO: Remove in 1.18