public final class ConstantLootTableRange extends Object implements LootTableRange
Modifier and Type | Class and Description |
---|---|
static class |
ConstantLootTableRange.Serializer |
Modifier and Type | Field and Description |
---|---|
private int |
value |
BINOMIAL, CONSTANT, UNIFORM
Constructor and Description |
---|
ConstantLootTableRange(int value) |
Modifier and Type | Method and Description |
---|---|
static ConstantLootTableRange |
create(int value) |
Identifier |
getType() |
int |
next(Random random) |
public int next(Random random)
next
in interface LootTableRange
public Identifier getType()
getType
in interface LootTableRange
public static ConstantLootTableRange create(int value)