Package net.minecraft.loot
Class ConstantLootTableRange
java.lang.Object
net.minecraft.loot.ConstantLootTableRange
- All Implemented Interfaces:
LootTableRange
public final class ConstantLootTableRange extends Object implements LootTableRange
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstantLootTableRange.Serializer -
Field Summary
Fields Modifier and Type Field Description private intvalueFields inherited from interface net.minecraft.loot.LootTableRange
BINOMIAL, CONSTANT, UNIFORM -
Constructor Summary
Constructors Constructor Description ConstantLootTableRange(int value) -
Method Summary
Modifier and Type Method Description static ConstantLootTableRangecreate(int value)IdentifiergetType()intnext(Random random)
-
Field Details
-
value
private final int value
-
-
Constructor Details
-
ConstantLootTableRange
public ConstantLootTableRange(int value)
-
-
Method Details
-
next
- Specified by:
nextin interfaceLootTableRange
-
getType
- Specified by:
getTypein interfaceLootTableRange
-
create
-