public abstract static class LeafEntry.Builder<T extends LeafEntry.Builder<T>> extends LootPoolEntry.Builder<T> implements LootFunctionConsumingBuilder<T>
Modifier and Type | Field and Description |
---|---|
private List<LootFunction> |
functions |
protected int |
quality |
protected int |
weight |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
apply(LootFunction.Builder builder) |
protected LootFunction[] |
getFunctions() |
T |
quality(int quality) |
T |
weight(int weight) |
alternatively, build, conditionally, getConditions, getThis, getThisBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getThis
protected int weight
protected int quality
private final List<LootFunction> functions
public T apply(LootFunction.Builder builder)
apply
in interface LootFunctionConsumingBuilder<T extends LeafEntry.Builder<T>>
protected LootFunction[] getFunctions()
public T weight(int weight)
public T quality(int quality)