public static class AlternativeEntry.Builder extends LootPoolEntry.Builder<AlternativeEntry.Builder>
Modifier and Type | Field and Description |
---|---|
private List<LootPoolEntry> |
children |
Constructor and Description |
---|
Builder(LootPoolEntry.Builder<?>[] children) |
Modifier and Type | Method and Description |
---|---|
AlternativeEntry.Builder |
alternatively(LootPoolEntry.Builder<?> builder) |
LootPoolEntry |
build() |
protected AlternativeEntry.Builder |
getThisBuilder() |
conditionally, getConditions, getThis
private final List<LootPoolEntry> children
public Builder(LootPoolEntry.Builder<?>[] children)
protected AlternativeEntry.Builder getThisBuilder()
getThisBuilder
in class LootPoolEntry.Builder<AlternativeEntry.Builder>
public AlternativeEntry.Builder alternatively(LootPoolEntry.Builder<?> builder)
alternatively
in class LootPoolEntry.Builder<AlternativeEntry.Builder>
public LootPoolEntry build()
build
in class LootPoolEntry.Builder<AlternativeEntry.Builder>