public class ReferenceLootCondition extends Object implements LootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
ReferenceLootCondition.Factory |
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private Identifier |
id |
private static Logger |
LOGGER |
| Constructor and Description |
|---|
ReferenceLootCondition(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
void |
check(LootTableReporter reporter) |
boolean |
test(LootContext lootContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParametersprivate static final Logger LOGGER
private final Identifier id
public ReferenceLootCondition(Identifier id)
public void check(LootTableReporter reporter)
check in interface LootContextAwarepublic boolean test(LootContext lootContext)
test in interface Predicate<LootContext>