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>functionsprivate List<LootPool>poolsprivate LootContextTypetype -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LootTable.Builderapply(LootFunction.Builder builder)LootTablebuild()LootTable.BuildergetThis()LootTable.Builderpool(LootPool.Builder poolBuilder)LootTable.Buildertype(LootContextType context)
-
Field Details
-
pools
-
functions
-
type
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pool
-
type
-
apply
- Specified by:
applyin interfaceLootFunctionConsumingBuilder<LootTable.Builder>
-
getThis
- Specified by:
getThisin interfaceLootFunctionConsumingBuilder<LootTable.Builder>
-
build
-