Uses of Class
net.minecraft.util.random.WeightedRandomList
Packages that use WeightedRandomList
Package
Description
-
Uses of WeightedRandomList in net.minecraft.util.random
Subclasses of WeightedRandomList in net.minecraft.util.randomMethods in net.minecraft.util.random that return WeightedRandomListModifier and TypeMethodDescriptionstatic <E extends WeightedEntry>
WeightedRandomList<E>WeightedRandomList.create()
static <E extends WeightedEntry>
WeightedRandomList<E>WeightedRandomList.create(E... p_146331_)
static <E extends WeightedEntry>
WeightedRandomList<E>Methods in net.minecraft.util.random that return types with arguments of type WeightedRandomListModifier and TypeMethodDescriptionstatic <E extends WeightedEntry>
com.mojang.serialization.Codec<WeightedRandomList<E>>WeightedRandomList.codec(com.mojang.serialization.Codec<E> p_146334_)
-
Uses of WeightedRandomList in net.minecraft.world.level
Fields in net.minecraft.world.level declared as WeightedRandomListModifier and TypeFieldDescriptionprivate static WeightedRandomList<SpawnData>
BaseSpawner.EMPTY_POTENTIALS
private WeightedRandomList<SpawnData>
BaseSpawner.spawnPotentials
Methods in net.minecraft.world.level that return WeightedRandomListModifier and TypeMethodDescriptionprivate static WeightedRandomList<MobSpawnSettings.SpawnerData>
NaturalSpawner.mobsAt(ServerLevel p_151592_, StructureFeatureManager p_151593_, ChunkGenerator p_151594_, MobCategory p_151595_, BlockPos p_151596_, Biome p_151597_)
-
Uses of WeightedRandomList in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as WeightedRandomListFields in net.minecraft.world.level.biome with type parameters of type WeightedRandomListMethods in net.minecraft.world.level.biome that return WeightedRandomListConstructor parameters in net.minecraft.world.level.biome with type arguments of type WeightedRandomListModifierConstructorDescription(package private)
MobSpawnSettings(float p_48334_, Map<MobCategory,WeightedRandomList<MobSpawnSettings.SpawnerData>> p_48335_, Map<EntityType<?>,MobSpawnSettings.MobSpawnCost> p_48336_, boolean p_48337_)
-
Uses of WeightedRandomList in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return WeightedRandomListModifier and TypeMethodDescriptionChunkGenerator.getMobsAt(Biome p_156158_, StructureFeatureManager p_156159_, MobCategory p_156160_, BlockPos p_156161_)
-
Uses of WeightedRandomList in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen that return WeightedRandomListModifier and TypeMethodDescriptionNoiseBasedChunkGenerator.getMobsAt(Biome p_158433_, StructureFeatureManager p_158434_, MobCategory p_158435_, BlockPos p_158436_)
-
Uses of WeightedRandomList in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as WeightedRandomListModifier 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
Methods in net.minecraft.world.level.levelgen.feature that return WeightedRandomListModifier and TypeMethodDescriptionStructureFeature.getSpawnList(MobCategory classification)
StructureFeature.getSpecialAnimals()
StructureFeature.getSpecialEnemies()
StructureFeature.getSpecialUndergroundWaterAnimals()
-
Uses of WeightedRandomList in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return WeightedRandomListModifier and TypeMethodDescriptionIForgeStructureFeature.getSpawnList(MobCategory classification)
Helper method to get the list of entity spawns for this structure for the given classification. -
Uses of WeightedRandomList in net.minecraftforge.common.world
Fields in net.minecraftforge.common.world with type parameters of type WeightedRandomListMethods in net.minecraftforge.common.world that return WeightedRandomListModifier and TypeMethodDescriptionStructureSpawnManager.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.Constructor parameters in net.minecraftforge.common.world with type arguments of type WeightedRandomListModifierConstructorDescriptionprivate
StructureSpawnInfo(com.google.common.collect.ImmutableMap<MobCategory,WeightedRandomList<MobSpawnSettings.SpawnerData>> spawns, boolean insideOnly)