net.minecraft.util

public class WeighedRandom

aho
net.minecraft.util.WeighedRandom
net.minecraft.class_3549
net.minecraft.unmapped.C_oxbjhkkw
net.minecraft.util.collection.WeightedPicker
net.minecraft.src.C_205_
net.minecraft.util.WeightedRandom

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
a
LOGGER
field_28398
f_euhbhdpm
LOGGER
f_145028_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
a(List<? extends aho$a> arg0)
getTotalWeight(List<? extends WeighedRandom$WeighedRandomItem> arg0)
method_15445(List<? extends class_3549$class_3550> arg0)
m_fxzsdzto(List<? extends C_oxbjhkkw$C_evqwxdbf> arg0)
getWeightSum(List<? extends WeightedPicker$Entry> list)
m_14470_(List<? extends C_205_$C_206_> p_14471_)
public static <T extends WeighedRandom$WeighedRandomItem> Optional<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)
m_tafratjk(Random arg0, List<T> arg1, int arg2)
getRandom(Random random, List<T> list, int weightSum)
m_145037_(Random p_145038_, List<T> p_145039_, int p_145040_)
public static <T extends WeighedRandom$WeighedRandomItem> Optional<T>
a(List<T> arg0, int arg1)
getWeightedItem(List<T> arg0, int arg1)
method_15447(List<T> arg0, int arg1)
m_cjdtlvrb(List<T> arg0, int arg1)
getAt(List<T> list, int weightMark)
m_145031_(List<T> p_145032_, int p_145033_)
public static <T extends WeighedRandom$WeighedRandomItem> Optional<T>
a(Random arg0, List<T> arg1)
getRandomItem(Random arg0, List<T> arg1)
method_15446(Random arg0, List<T> arg1)
m_zgbnetmq(Random arg0, List<T> arg1)
getRandom(Random random, List<T> list)
m_145034_(Random p_145035_, List<T> p_145036_)