public abstract static class ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>> extends Object implements LootFunction.Builder, LootConditionConsumingBuilder<T>
Modifier and Type | Field and Description |
---|---|
private List<LootCondition> |
conditionList |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
conditionally(LootCondition.Builder builder) |
protected LootCondition[] |
getConditions() |
T |
getThis() |
protected abstract T |
getThisBuilder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
private final List<LootCondition> conditionList
public T conditionally(LootCondition.Builder builder)
conditionally
in interface LootConditionConsumingBuilder<T extends ConditionalLootFunction.Builder<T>>
public final T getThis()
getThis
in interface LootConditionConsumingBuilder<T extends ConditionalLootFunction.Builder<T>>
protected abstract T getThisBuilder()
protected LootCondition[] getConditions()