public static class LootTable.Builder extends java.lang.Object implements ILootFunctionConsumer<LootTable.Builder>
Modifier and Type | Field and Description |
---|---|
private java.util.List<ILootFunction> |
lootFunctions |
private java.util.List<LootPool> |
lootPools |
private LootParameterSet |
parameterSet |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LootTable.Builder |
acceptFunction(ILootFunction.IBuilder functionBuilder) |
LootTable.Builder |
addLootPool(LootPool.Builder lootPoolIn) |
LootTable |
build() |
LootTable.Builder |
cast() |
LootTable.Builder |
setParameterSet(LootParameterSet parameterSet) |
private final java.util.List<LootPool> lootPools
private final java.util.List<ILootFunction> lootFunctions
private LootParameterSet parameterSet
public LootTable.Builder addLootPool(LootPool.Builder lootPoolIn)
public LootTable.Builder setParameterSet(LootParameterSet parameterSet)
public LootTable.Builder acceptFunction(ILootFunction.IBuilder functionBuilder)
acceptFunction
in interface ILootFunctionConsumer<LootTable.Builder>
public LootTable.Builder cast()
cast
in interface ILootFunctionConsumer<LootTable.Builder>
public LootTable build()