public class ReferenceLootCondition extends Object implements LootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
ReferenceLootCondition.Serializer |
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private Identifier |
id |
private static Logger |
LOGGER |
| Modifier | Constructor and Description |
|---|---|
private |
ReferenceLootCondition(Identifier id) |
| 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 static final Logger LOGGER
private final Identifier id
private ReferenceLootCondition(Identifier id)
public LootConditionType getType()
getType in interface LootConditionpublic void validate(LootTableReporter reporter)
validate in interface LootContextAwarepublic boolean test(LootContext lootContext)
test in interface Predicate<LootContext>