Class LootTable.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.LootTable.Builder
- All Implemented Interfaces:
FunctionUserBuilder<LootTable.Builder>
- Enclosing class:
- LootTable
public static class LootTable.Builder
extends Object
implements FunctionUserBuilder<LootTable.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<LootItemFunction>
private LootContextParamSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootItemFunction.Builder p_79164_) build()
setParamSet
(LootContextParamSet p_79166_) unwrap()
withPool
(LootPool.Builder p_79162_)
-
Field Details
-
pools
-
functions
-
paramSet
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withPool
-
setParamSet
-
apply
- Specified by:
apply
in interfaceFunctionUserBuilder<LootTable.Builder>
-
unwrap
- Specified by:
unwrap
in interfaceFunctionUserBuilder<LootTable.Builder>
-
build
-