Uses of Interface
net.minecraft.util.collection.Weighted
| Package | Description |
|---|---|
| net.minecraft.enchantment | |
| net.minecraft.util.collection | |
| net.minecraft.world | |
| net.minecraft.world.biome |
-
Uses of Weighted in net.minecraft.enchantment
Classes in net.minecraft.enchantment that implement Weighted Modifier and Type Class Description classEnchantmentLevelEntryRepresents an entry in an enchantments array, i.e. -
Uses of Weighted in net.minecraft.util.collection
Classes in net.minecraft.util.collection with type parameters of type Weighted Modifier and Type Class Description classPool<E extends Weighted>Classes in net.minecraft.util.collection that implement Weighted Modifier and Type Class Description static classWeighted.Absentstatic classWeighted.Present<T>Methods in net.minecraft.util.collection with type parameters of type Weighted Modifier and Type Method Description static <E extends Weighted>
com.mojang.serialization.Codec<Pool<E>>Pool. createCodec(com.mojang.serialization.Codec<E> entryCodec)static <E extends Weighted>
Pool<E>Pool. empty()static <T extends Weighted>
Optional<T>Weighting. getAt(List<T> pool, int totalWeight)static <T extends Weighted>
Optional<T>Weighting. getRandom(Random random, List<T> pool)static <T extends Weighted>
Optional<T>Weighting. getRandom(Random random, List<T> pool, int totalWeight)static <E extends Weighted>
Pool<E>Pool. of(E[] entries)static <E extends Weighted>
Pool<E>Pool. of(List<E> entries)Methods in net.minecraft.util.collection with parameters of type Weighted Modifier and Type Method Description static <E extends Weighted>
Pool<E>Pool. of(E[] entries)Method parameters in net.minecraft.util.collection with type arguments of type Weighted Modifier and Type Method Description static intWeighting. getWeightSum(List<? extends Weighted> pool) -
Uses of Weighted in net.minecraft.world
Classes in net.minecraft.world that implement Weighted Modifier and Type Class Description classMobSpawnerEntry -
Uses of Weighted in net.minecraft.world.biome
Classes in net.minecraft.world.biome that implement Weighted Modifier and Type Class Description static classSpawnSettings.SpawnEntry