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>childrenconditionsALWAYS_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, expandtestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, orAlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions)
public LootPoolEntryType getType()
getType in class LootPoolEntryprotected EntryCombiner combine(EntryCombiner[] children)
combine in class CombinedEntrypublic void validate(LootTableReporter reporter)
validate in class CombinedEntrypublic static AlternativeEntry.Builder builder(LootPoolEntry.Builder<?>[] children)