net.minecraft.util.math.intprovider

public class ConstantIntProvider

extends IntProvider

net.minecraft.util.valueproviders.ConstantInt
net.minecraft.class_6016
net.minecraft.util.math.intprovider.ConstantIntProvider

Field summary

Modifier and TypeField
public static final ConstantIntProvider
ZERO
field_29942
ZERO
public static final com.mojang.serialization.MapCodec<ConstantIntProvider>
CODEC
field_29943
CODEC
private final int
value
field_29944
value

Constructor summary

ModifierConstructor
private (int value)

Method summary

Modifier and TypeMethod
public static ConstantIntProvider
of(int value)
method_34998(int arg0)
create(int value)
public int
getValue()
method_34997()
getValue()
public int
sample(RandomSource random)
method_35008(class_5819 arg0)
get(Random arg0)
public int
getMinValue()
method_35009()
getMin()
public int
getMaxValue()
method_35011()
getMax()
public IntProviderType<?>
getType()
method_35012()
getType()