static class LootConditionManager.AndCondition extends Object implements LootCondition
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private Predicate<LootContext> |
predicate |
private LootCondition[] |
terms |
| Modifier | Constructor and Description |
|---|---|
private |
AndCondition(LootCondition[] elements) |
| Modifier and Type | Method and Description |
|---|---|
LootConditionType |
getType() |
boolean |
test(LootContext lootContext) |
void |
validate(LootTableReporter reporter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParametersprivate final LootCondition[] terms
private final Predicate<LootContext> predicate
private AndCondition(LootCondition[] elements)
public final boolean test(LootContext lootContext)
test in interface Predicate<LootContext>public void validate(LootTableReporter reporter)
validate in interface LootContextAwarepublic LootConditionType getType()
getType in interface LootCondition