Uses of Interface
net.minecraft.util.random.WeightedEntry
Packages that use WeightedEntry
Package
Description
-
Uses of WeightedEntry in net.minecraft.util.random
Classes in net.minecraft.util.random with type parameters of type WeightedEntryClasses in net.minecraft.util.random that implement WeightedEntryModifier and TypeClassDescriptionstatic class
static class
Methods in net.minecraft.util.random with type parameters of type WeightedEntryModifier 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_) Methods in net.minecraft.util.random with parameters of type WeightedEntryModifier and TypeMethodDescriptionstatic <E extends WeightedEntry>
WeightedRandomList<E>WeightedRandomList.create
(E... p_146331_) Method parameters in net.minecraft.util.random with type arguments of type WeightedEntryModifier and TypeMethodDescriptionstatic int
WeightedRandom.getTotalWeight
(List<? extends WeightedEntry> p_146313_) -
Uses of WeightedEntry in net.minecraft.world.entity.ai.behavior
Classes in net.minecraft.world.entity.ai.behavior that implement WeightedEntry -
Uses of WeightedEntry in net.minecraft.world.item.enchantment
Classes in net.minecraft.world.item.enchantment that implement WeightedEntry -
Uses of WeightedEntry in net.minecraft.world.level.biome
Classes in net.minecraft.world.level.biome that implement WeightedEntry -
Uses of WeightedEntry in net.minecraftforge.common
Classes in net.minecraftforge.common that implement WeightedEntry