public abstract static class LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>> extends Object implements LootConditionConsumingBuilder<T>
Modifier and Type | Field and Description |
---|---|
private List<LootCondition> |
conditions |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlternativeEntry.Builder |
alternatively(LootPoolEntry.Builder<?> builder) |
abstract LootPoolEntry |
build() |
T |
conditionally(LootCondition.Builder builder) |
protected LootCondition[] |
getConditions() |
T |
getThis() |
protected abstract T |
getThisBuilder() |
private final List<LootCondition> conditions
protected abstract T getThisBuilder()
public T conditionally(LootCondition.Builder builder)
conditionally
in interface LootConditionConsumingBuilder<T extends LootPoolEntry.Builder<T>>
public final T getThis()
getThis
in interface LootConditionConsumingBuilder<T extends LootPoolEntry.Builder<T>>
protected LootCondition[] getConditions()
public AlternativeEntry.Builder alternatively(LootPoolEntry.Builder<?> builder)
public abstract LootPoolEntry build()