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