public class AlternativeLootCondition extends Object implements class_5341
| Modifier and Type | Class and Description |
|---|---|
static class |
AlternativeLootCondition.Builder |
static class |
AlternativeLootCondition.Factory |
| Modifier and Type | Field and Description |
|---|---|
private Predicate<LootContext> |
predicate |
private class_5341[] |
terms |
| Modifier | Constructor and Description |
|---|---|
private |
AlternativeLootCondition(class_5341[] terms) |
| Modifier and Type | Method and Description |
|---|---|
static AlternativeLootCondition.Builder |
builder(class_5341.Builder[] terms) |
class_5342 |
method_29325() |
boolean |
test(LootContext lootContext) |
void |
validate(LootTableReporter reporter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParametersprivate final class_5341[] terms
private final Predicate<LootContext> predicate
private AlternativeLootCondition(class_5341[] terms)
public class_5342 method_29325()
method_29325 in interface class_5341public final boolean test(LootContext lootContext)
test in interface Predicate<LootContext>public void validate(LootTableReporter reporter)
validate in interface LootContextAwarepublic static AlternativeLootCondition.Builder builder(class_5341.Builder[] terms)