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
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(LootItemFunction.Builder pFunctionBuilder) build()
setParamSet
(LootContextParamSet pParameterSet) setRandomSequence
(ResourceLocation pRandomSequence) unwrap()
withPool
(LootPool.Builder pLootPool) 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
-