public class InvertedLootCondition extends Object implements LootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
InvertedLootCondition.Serializer |
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private LootCondition |
term |
| Modifier | Constructor and Description |
|---|---|
private |
InvertedLootCondition(LootCondition term) |
| Modifier and Type | Method and Description |
|---|---|
static LootCondition.Builder |
builder(LootCondition.Builder term) |
Set<LootContextParameter<?>> |
getRequiredParameters() |
LootConditionType |
getType() |
boolean |
test(LootContext lootContext) |
void |
validate(LootTableReporter reporter) |
private final LootCondition term
private InvertedLootCondition(LootCondition term)
public LootConditionType getType()
getType in interface LootConditionpublic final boolean test(LootContext lootContext)
test in interface Predicate<LootContext>public Set<LootContextParameter<?>> getRequiredParameters()
getRequiredParameters in interface LootContextAwarepublic void validate(LootTableReporter reporter)
validate in interface LootContextAwarepublic static LootCondition.Builder builder(LootCondition.Builder term)