Uses of Interface
net.minecraft.util.random.WeightedEntry
Package
Description
-
Uses of WeightedEntry in net.minecraft.util.random
Modifier and TypeClassDescriptionstatic class
static class
Modifier and TypeMethodDescriptionstatic <E extends WeightedEntry>
com.mojang.serialization.Codec<WeightedRandomList<E>>WeightedRandomList.codec(com.mojang.serialization.Codec<E> p_146334_)
static <E extends WeightedEntry>
WeightedRandomList<E>WeightedRandomList.create()
static <E extends WeightedEntry>
WeightedRandomList<E>WeightedRandomList.create(E... p_146331_)
static <E extends WeightedEntry>
WeightedRandomList<E>static <T extends WeightedEntry>
Optional<T>WeightedRandom.getRandomItem(Random p_146318_, List<T> p_146319_)
static <T extends WeightedEntry>
Optional<T>WeightedRandom.getRandomItem(Random p_146321_, List<T> p_146322_, int p_146323_)
static <T extends WeightedEntry>
Optional<T>WeightedRandom.getWeightedItem(List<T> p_146315_, int p_146316_)
Modifier and TypeMethodDescriptionstatic <E extends WeightedEntry>
WeightedRandomList<E>WeightedRandomList.create(E... p_146331_)
Modifier and TypeMethodDescriptionstatic int
WeightedRandom.getTotalWeight(List<? extends WeightedEntry> p_146313_)
-
Uses of WeightedEntry in net.minecraft.world.item.enchantment
-
Uses of WeightedEntry in net.minecraft.world.level
-
Uses of WeightedEntry in net.minecraft.world.level.biome