public abstract static class StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>> extends LootEntry.Builder<T> implements ILootFunctionConsumer<T>
Modifier and Type | Field and Description |
---|---|
private java.util.List<ILootFunction> |
functions |
protected int |
quality |
protected int |
weight |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
acceptFunction(ILootFunction.IBuilder functionBuilder) |
protected ILootFunction[] |
getFunctions() |
T |
quality(int qualityIn) |
T |
weight(int weightIn) |
acceptCondition, alternatively, build, cast, func_212845_d_, func_216079_f
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cast
protected int weight
protected int quality
private final java.util.List<ILootFunction> functions
public T acceptFunction(ILootFunction.IBuilder functionBuilder)
acceptFunction
in interface ILootFunctionConsumer<T extends StandaloneLootEntry.Builder<T>>
protected ILootFunction[] getFunctions()
public T weight(int weightIn)
public T quality(int qualityIn)