Class BiasedToBottomInt
java.lang.Object
net.minecraft.util.valueproviders.IntProvider
net.minecraft.util.valueproviders.BiasedToBottomInt
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<BiasedToBottomInt>
private int
private int
Fields inherited from class net.minecraft.util.valueproviders.IntProvider
NON_NEGATIVE_CODEC, POSITIVE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getType()
static BiasedToBottomInt
of(int p_146368_, int p_146369_)
int
toString()
Methods inherited from class net.minecraft.util.valueproviders.IntProvider
codec
-
Field Details
-
CODEC
-
minInclusive
private final int minInclusive -
maxInclusive
private final int maxInclusive
-
-
Constructor Details
-
BiasedToBottomInt
private BiasedToBottomInt(int p_146364_, int p_146365_)
-
-
Method Details
-
of
-
sample
- Specified by:
sample
in classIntProvider
-
getMinValue
public int getMinValue()- Specified by:
getMinValue
in classIntProvider
-
getMaxValue
public int getMaxValue()- Specified by:
getMaxValue
in classIntProvider
-
getType
- Specified by:
getType
in classIntProvider
-
toString
-