public abstract class LootEntry extends Object implements EntryCombiner
| Modifier and Type | Class and Description |
|---|---|
static class |
LootEntry.Builder<T extends LootEntry.Builder<T>> |
static class |
LootEntry.Serializer<T extends LootEntry> |
| Modifier and Type | Field and Description |
|---|---|
private Predicate<LootContext> |
conditionPredicate |
protected LootCondition[] |
conditions |
ALWAYS_FALSE, ALWAYS_TRUE| Modifier | Constructor and Description |
|---|---|
protected |
LootEntry(LootCondition[] conditions) |
| Modifier and Type | Method and Description |
|---|---|
void |
check(LootTableReporter lootTableReporter) |
protected boolean |
test(LootContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, expand, orprotected final LootCondition[] conditions
private final Predicate<LootContext> conditionPredicate
protected LootEntry(LootCondition[] conditions)
public void check(LootTableReporter lootTableReporter)
protected final boolean test(LootContext context)