public abstract static class LootFunction.Builder<T extends LootFunction.Builder<T>> extends java.lang.Object implements ILootFunction.IBuilder, ILootConditionConsumer<T>
Modifier and Type | Field and Description |
---|---|
private java.util.List<ILootCondition> |
conditions |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
acceptCondition(ILootCondition.IBuilder conditionBuilder) |
T |
cast() |
protected abstract T |
doCast() |
protected ILootCondition[] |
getConditions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
private final java.util.List<ILootCondition> conditions
public T acceptCondition(ILootCondition.IBuilder conditionBuilder)
acceptCondition
in interface ILootConditionConsumer<T extends LootFunction.Builder<T>>
public final T cast()
cast
in interface ILootConditionConsumer<T extends LootFunction.Builder<T>>
protected abstract T doCast()
protected ILootCondition[] getConditions()