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 com.google.common.collect.ImmutableList.Builder
<LootItemFunction> private LootContextParamSet
private final com.google.common.collect.ImmutableList.Builder
<LootPool> private Optional
<ResourceLocation> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootItemFunction.Builder p_79164_) build()
setParamSet
(LootContextParamSet p_79166_) setRandomSequence
(ResourceLocation p_287667_) unwrap()
withPool
(LootPool.Builder p_79162_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.functions.FunctionUserBuilder
apply, apply
-
Field Details
-
pools
-
functions
-
paramSet
-
randomSequence
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withPool
-
setParamSet
-
setRandomSequence
-
apply
- Specified by:
apply
in interfaceFunctionUserBuilder<LootTable.Builder>
-
unwrap
- Specified by:
unwrap
in interfaceFunctionUserBuilder<LootTable.Builder>
-
build
-