net.minecraft.util.valueproviders

public class ConstantInt

extends IntProvider

aut
net.minecraft.util.valueproviders.ConstantInt
net.minecraft.class_6016
net.minecraft.util.math.intprovider.ConstantIntProvider
net.minecraft.src.C_141049_
net.minecraft.util.valueproviders.ConstantInt

Field summary

Modifier and TypeField
public static final ConstantInt
a
ZERO
field_29942
ZERO
f_146476_
public static final com.mojang.serialization.Codec<ConstantInt>
b
CODEC
field_29943
CODEC
f_146477_
private final int
f
value
field_29944
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)
create(int value)
m_146483_(int p_146484_)
public int
d()
getValue()
method_34997()
getValue()
m_146499_()
public int
a(Random arg0)
sample(Random arg0)
method_35008(Random arg0)
get(Random arg0)
m_142270_(Random 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_()