net.minecraft.util

public class WeighedRandom

acc
net.minecraft.util.WeighedRandom
net.minecraft.class_3549
net.minecraft.util.WeightedPicker
net.minecraft.util.WeightedRandom
net.minecraft.server.v1_15_R1.WeightedRandom

Method summary

Modifier and TypeMethod
public static int
a(List<? extends acc$a> arg0)
getTotalWeight(List<? extends WeighedRandom$WeighedRandomItem> arg0)
method_15445(List<? extends class_3549$class_3550> arg0)
getWeightSum(List<? extends WeightedPicker$Entry> list)
func_76272_a(List<? extends WeightedRandom$Item> arg0)
public static <T extends WeighedRandom$WeighedRandomItem> T
a(Random arg0, List<T> arg1, int arg2)
getRandomItem(Random arg0, List<T> arg1, int arg2)
method_15444(Random arg0, List<T> arg1, int arg2)
getRandom(Random random, List<T> list, int weightSum)
func_76273_a(Random arg0, List<T> arg1, int arg2)
public static <T extends WeighedRandom$WeighedRandomItem> T
a(List<T> arg0, int arg1)
getWeightedItem(List<T> arg0, int arg1)
method_15447(List<T> arg0, int arg1)
getAt(List<T> list, int pos)
func_180166_a(List<T> arg0, int arg1)
public static <T extends WeighedRandom$WeighedRandomItem> T
a(Random arg0, List<T> arg1)
getRandomItem(Random arg0, List<T> arg1)
method_15446(Random arg0, List<T> arg1)
getRandom(Random random, List<T> list)
func_76271_a(Random arg0, List<T> arg1)