Package net.minecraft.loot
Class LootTable.Builder
java.lang.Object
net.minecraft.loot.LootTable.Builder
- All Implemented Interfaces:
LootFunctionConsumingBuilder<LootTable.Builder>
- Enclosing class:
- LootTable
public static class LootTable.Builder extends Object implements LootFunctionConsumingBuilder<LootTable.Builder>
-
Field Summary
Fields Modifier and Type Field Description private List<LootFunction>
functions
private List<LootPool>
pools
private LootContextType
type
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LootTable.Builder
apply(LootFunction.Builder builder)
LootTable
build()
LootTable.Builder
getThis()
LootTable.Builder
pool(LootPool.Builder poolBuilder)
LootTable.Builder
type(LootContextType context)
-
Field Details
-
pools
-
functions
-
type
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pool
-
type
-
apply
- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
-
getThis
- Specified by:
getThis
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
-
build
-