public class InvertedLootCondition extends Object implements LootCondition
Modifier and Type | Class and Description |
---|---|
static class |
InvertedLootCondition.Factory |
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) |
void |
check(LootTableReporter reporter) |
Set<LootContextParameter<?>> |
getRequiredParameters() |
boolean |
test(LootContext lootContext) |
private final LootCondition term
private InvertedLootCondition(LootCondition term)
public final boolean test(LootContext lootContext)
test
in interface Predicate<LootContext>
public Set<LootContextParameter<?>> getRequiredParameters()
getRequiredParameters
in interface LootContextAware
public void check(LootTableReporter reporter)
check
in interface LootContextAware
public static LootCondition.Builder builder(LootCondition.Builder term)