net.minecraft.util.valueproviders

public class WeightedListInt

extends IntProvider

bby
net.minecraft.util.valueproviders.WeightedListInt
net.minecraft.class_6642
net.minecraft.util.math.intprovider.WeightedListIntProvider
net.minecraft.src.C_182843_
net.minecraft.util.valueproviders.WeightedListInt

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WeightedListInt>
a
CODEC
field_35035
CODEC
f_185909_
private final SimpleWeightedRandomList<IntProvider>
b
distribution
field_35036
weightedList
f_185910_
private final int
f
minValue
field_35037
min
f_185911_
private final int
g
maxValue
field_35038
max
f_185912_

Constructor summary

ModifierConstructor
public (SimpleWeightedRandomList<IntProvider> weightedList)

Method summary

Modifier and TypeMethod
public int
a(aoh arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
get(Random arg0)
m_214085_(C_212974_ arg0)
public int
a()
getMinValue()
method_35009()
getMin()
m_142739_()
public int
b()
getMaxValue()
method_35011()
getMax()
m_142737_()
public IntProviderType<?>
c()
getType()
method_35012()
getType()
m_141948_()