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
(RandomSource p_216823_, List<T> p_216824_) static <T extends WeightedEntry>
Optional<T>WeightedRandom.getRandomItem
(RandomSource p_216826_, List<T> p_216827_, int p_216828_) 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.entity.ai.behavior
-
Uses of WeightedEntry in net.minecraft.world.item.enchantment
-
Uses of WeightedEntry in net.minecraft.world.level.biome
-
Uses of WeightedEntry in net.minecraftforge.common