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 SummaryFieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemFunction>private LootContextParamSetprivate final com.google.common.collect.ImmutableList.Builder<LootPool>private Optional<ResourceLocation>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.functions.FunctionUserBuilderapply, apply
- 
Field Details- 
pools
- 
functions
- 
paramSet
- 
randomSequence
 
- 
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
withPool
- 
setParamSet
- 
setRandomSequence
- 
apply- Specified by:
- applyin interface- FunctionUserBuilder<LootTable.Builder>
 
- 
unwrap- Specified by:
- unwrapin interface- FunctionUserBuilder<LootTable.Builder>
 
- 
build
 
-