Uses of Class
net.minecraft.util.random.WeightedRandomList
Packages that use WeightedRandomList
Package
Description
- 
Uses of WeightedRandomList in net.minecraft.util.randomSubclasses 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.levelMethods in net.minecraft.world.level that return WeightedRandomListModifier and TypeMethodDescriptionprivate 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_) 
- 
Uses of WeightedRandomList in net.minecraft.world.level.biomeFields in net.minecraft.world.level.biome declared as WeightedRandomListModifier and TypeFieldDescriptionstatic final WeightedRandomList<MobSpawnSettings.SpawnerData>MobSpawnSettings.EMPTY_MOB_LISTFields in net.minecraft.world.level.biome with type parameters of type WeightedRandomListModifier and TypeFieldDescriptionprivate final Map<MobCategory,WeightedRandomList<MobSpawnSettings.SpawnerData>> MobSpawnSettings.spawnersMethods 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_196689_, Map<MobCategory, WeightedRandomList<MobSpawnSettings.SpawnerData>> p_196690_, Map<EntityType<?>, MobSpawnSettings.MobSpawnCost> p_196691_) 
- 
Uses of WeightedRandomList in net.minecraft.world.level.chunkMethods in net.minecraft.world.level.chunk that return WeightedRandomListModifier and TypeMethodDescriptionChunkGenerator.getMobsAt(Holder<Biome> p_223134_, StructureManager p_223135_, MobCategory p_223136_, BlockPos p_223137_) 
- 
Uses of WeightedRandomList in net.minecraft.world.level.levelgen.structureFields in net.minecraft.world.level.levelgen.structure declared as WeightedRandomListModifier and TypeFieldDescriptionprivate final WeightedRandomList<MobSpawnSettings.SpawnerData>StructureSpawnOverride.spawnsThe field for thespawnsrecord component.Methods in net.minecraft.world.level.levelgen.structure that return WeightedRandomListModifier and TypeMethodDescriptionStructureSpawnOverride.spawns()Returns the value of thespawnsrecord component.Constructors in net.minecraft.world.level.levelgen.structure with parameters of type WeightedRandomListModifierConstructorDescriptionStructureSpawnOverride(StructureSpawnOverride.BoundingBoxType boundingBox, WeightedRandomList<MobSpawnSettings.SpawnerData> spawns) Creates an instance of aStructureSpawnOverriderecord class.
- 
Uses of WeightedRandomList in net.minecraft.world.level.levelgen.structure.structuresFields in net.minecraft.world.level.levelgen.structure.structures declared as WeightedRandomListModifier and TypeFieldDescriptionstatic final WeightedRandomList<MobSpawnSettings.SpawnerData>NetherFortressStructure.FORTRESS_ENEMIES
- 
Uses of WeightedRandomList in net.neoforged.neoforge.eventMethods in net.neoforged.neoforge.event that return WeightedRandomListModifier and TypeMethodDescriptionEventHooks.getPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) Methods in net.neoforged.neoforge.event with parameters of type WeightedRandomListModifier and TypeMethodDescriptionEventHooks.getPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) 
- 
Uses of WeightedRandomList in net.neoforged.neoforge.event.levelConstructors in net.neoforged.neoforge.event.level with parameters of type WeightedRandomListModifierConstructorDescriptionPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList)