Uses of Class
net.minecraft.util.WeighedRandom.WeighedRandomItem
Package
Description
-
Uses of WeighedRandom.WeighedRandomItem in net.minecraft.util
Modifier and TypeMethodDescriptionstatic <T extends WeighedRandom.WeighedRandomItem>
Optional<T>WeighedRandom.getRandomItem(Random p_145035_, List<T> p_145036_)
static <T extends WeighedRandom.WeighedRandomItem>
Optional<T>WeighedRandom.getRandomItem(Random p_145038_, List<T> p_145039_, int p_145040_)
static <T extends WeighedRandom.WeighedRandomItem>
Optional<T>WeighedRandom.getWeightedItem(List<T> p_145032_, int p_145033_)
Modifier and TypeMethodDescriptionstatic int
WeighedRandom.getTotalWeight(List<? extends WeighedRandom.WeighedRandomItem> p_14471_)
-
Uses of WeighedRandom.WeighedRandomItem in net.minecraft.world.entity.ai.behavior
-
Uses of WeighedRandom.WeighedRandomItem in net.minecraftforge.common
Modifier and TypeClassDescriptionstatic class
static class