public static class LootTable.Builder extends java.lang.Object implements ILootFunctionConsumer<LootTable.Builder>
Modifier and Type | Field and Description |
---|---|
private java.util.List<ILootFunction> |
functions |
private LootParameterSet |
paramSet |
private java.util.List<LootPool> |
pools |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LootTable.Builder |
apply(ILootFunction.IBuilder p_212841_1_) |
LootTable |
build() |
LootTable.Builder |
setParamSet(LootParameterSet p_216039_1_) |
LootTable.Builder |
unwrap() |
LootTable.Builder |
withPool(LootPool.Builder p_216040_1_) |
private final java.util.List<LootPool> pools
private final java.util.List<ILootFunction> functions
private LootParameterSet paramSet
public LootTable.Builder withPool(LootPool.Builder p_216040_1_)
public LootTable.Builder setParamSet(LootParameterSet p_216039_1_)
public LootTable.Builder apply(ILootFunction.IBuilder p_212841_1_)
apply
in interface ILootFunctionConsumer<LootTable.Builder>
public LootTable.Builder unwrap()
unwrap
in interface ILootFunctionConsumer<LootTable.Builder>
public LootTable build()