public class TimeCheckLootCondition extends Object implements LootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeCheckLootCondition.Serializer |
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private Long |
period |
private UniformLootTableRange |
value |
| Modifier | Constructor and Description |
|---|---|
private |
TimeCheckLootCondition(Long period,
UniformLootTableRange value) |
| Modifier and Type | Method and Description |
|---|---|
LootConditionType |
getType() |
boolean |
test(LootContext lootContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParameters, validateprivate final UniformLootTableRange value
private TimeCheckLootCondition(@Nullable Long period, UniformLootTableRange value)
public LootConditionType getType()
getType in interface LootConditionpublic boolean test(LootContext lootContext)
test in interface Predicate<LootContext>