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