net.minecraft.util.valueproviders

public class ConstantInt

extends IntProvider

bpx
net.minecraft.util.valueproviders.ConstantInt
net.minecraft.class_6016
net.minecraft.unmapped.C_tbujeknq
net.minecraft.util.math.intprovider.ConstantIntProvider
net.minecraft.util.math.int_provider.ConstantIntProvider
net.minecraft.src.C_141049_
net.minecraft.util.valueproviders.ConstantFloat

Field summary

Modifier and TypeField
public static final ConstantInt
a
ZERO
field_29942
f_jmamifqh
ZERO
ZERO
f_146476_
public static final com.mojang.serialization.MapCodec<ConstantInt>
b
CODEC
field_29943
f_ishvhcxw
CODEC
CODEC
f_146477_
private final int
f
value
field_29944
f_yywomrlc
value
value
f_146478_

Constructor summary

ModifierConstructor
private (int value)

Method summary

Modifier and TypeMethod
public static ConstantInt
a(int arg0)
of(int arg0)
method_34998(int arg0)
m_uivowjvr(int arg0)
create(int value)
create(int value)
m_146483_(int p_146484_)
public int
d()
getValue()
method_34997()
m_tckqftjm()
getValue()
getValue()
m_146499_()
public int
a(azh arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
m_ljiiqvld(C_rlomrsco arg0)
get(Random arg0)
get(RandomGenerator arg0)
m_214085_(C_212974_ arg0)
public int
a()
getMinValue()
method_35009()
m_lecatuwk()
getMin()
getMin()
m_142739_()
public int
b()
getMaxValue()
method_35011()
m_jaypvrlp()
getMax()
getMax()
m_142737_()
public IntProviderType<?>
c()
getType()
method_35012()
m_yxhouvzj()
getType()
getType()
m_141948_()