Package net.minecraft.loot
Class BinomialRange
- java.lang.Object
-
- net.minecraft.loot.BinomialRange
-
- All Implemented Interfaces:
IRandomRange
public final class BinomialRange extends java.lang.Object implements IRandomRange
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BinomialRange.Serializer
-
Constructor Summary
Constructors Constructor Description BinomialRange(int p_i51276_1_, float p_i51276_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BinomialRange
binomial(int p_215838_0_, float p_215838_1_)
int
getInt(java.util.Random p_186511_1_)
ResourceLocation
getType()
-
-
-
Method Detail
-
getInt
public int getInt(java.util.Random p_186511_1_)
- Specified by:
getInt
in interfaceIRandomRange
-
binomial
public static BinomialRange binomial(int p_215838_0_, float p_215838_1_)
-
getType
public ResourceLocation getType()
- Specified by:
getType
in interfaceIRandomRange
-
-