public final class ConstantRange extends java.lang.Object implements IRandomRange
Modifier and Type | Class and Description |
---|---|
static class |
ConstantRange.Serializer |
BINOMIAL, CONSTANT, UNIFORM
Constructor and Description |
---|
ConstantRange(int value) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
func_215830_a() |
int |
generateInt(java.util.Random rand) |
static ConstantRange |
of(int constant) |
public int generateInt(java.util.Random rand)
generateInt
in interface IRandomRange
public ResourceLocation func_215830_a()
func_215830_a
in interface IRandomRange
public static ConstantRange of(int constant)