public class AlternativeEntry extends CombinedEntry
Modifier and Type | Class and Description |
---|---|
static class |
AlternativeEntry.Builder |
CombinedEntry.Factory<T extends CombinedEntry>
LootPoolEntry.Serializer<T extends LootPoolEntry>
children
conditions
ALWAYS_FALSE, ALWAYS_TRUE
Constructor and Description |
---|
AlternativeEntry(LootPoolEntry[] children,
LootCondition[] conditions) |
Modifier and Type | Method and Description |
---|---|
static AlternativeEntry.Builder |
builder(LootPoolEntry.Builder<?>[] children) |
protected EntryCombiner |
combine(EntryCombiner[] children) |
LootPoolEntryType |
getType() |
void |
validate(LootTableReporter reporter) |
createSerializer, expand
test
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, or
AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions)
public LootPoolEntryType getType()
getType
in class LootPoolEntry
protected EntryCombiner combine(EntryCombiner[] children)
combine
in class CombinedEntry
public void validate(LootTableReporter reporter)
validate
in class CombinedEntry
public static AlternativeEntry.Builder builder(LootPoolEntry.Builder<?>[] children)