public abstract static class LootEntry.Builder<T extends LootEntry.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 |
---|---|
abstract LootEntry |
build() |
protected LootCondition[] |
getConditions() |
T |
getThis() |
protected abstract T |
getThisBuilder() |
AlternativeEntry.Builder |
withChild(LootEntry.Builder<?> builder) |
T |
withCondition(LootCondition.Builder builder) |
private final List<LootCondition> conditions
protected abstract T getThisBuilder()
public T withCondition(LootCondition.Builder builder)
withCondition
in interface LootConditionConsumingBuilder<T extends LootEntry.Builder<T>>
public final T getThis()
getThis
in interface LootConditionConsumingBuilder<T extends LootEntry.Builder<T>>
protected LootCondition[] getConditions()
public AlternativeEntry.Builder withChild(LootEntry.Builder<?> builder)
public abstract LootEntry build()