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 class
ConstantLootTableRange.Serializer
-
Field Summary
Fields Modifier and Type Field Description private int
value
Fields 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 ConstantLootTableRange
create(int value)
Identifier
getType()
int
next(Random random)
-
Field Details
-
value
private final int value
-
-
Constructor Details
-
ConstantLootTableRange
public ConstantLootTableRange(int value)
-
-
Method Details
-
next
- Specified by:
next
in interfaceLootTableRange
-
getType
- Specified by:
getType
in interfaceLootTableRange
-
create
-