Class LootPoolSingletonContainer.Builder<T extends LootPoolSingletonContainer.Builder<T>>
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<T>
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Builder<T>
- All Implemented Interfaces:
- FunctionUserBuilder<T>,- ConditionUserBuilder<T>
- Direct Known Subclasses:
- LootPoolSingletonContainer.DummyBuilder
- Enclosing class:
- LootPoolSingletonContainer
public abstract static class LootPoolSingletonContainer.Builder<T extends LootPoolSingletonContainer.Builder<T>>
extends LootPoolEntryContainer.Builder<T>
implements FunctionUserBuilder<T>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemFunction>protected intprotected int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapply(LootItemFunction.Builder p_79710_) protected List<LootItemFunction>setQuality(int p_79712_) setWeight(int p_79708_) Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builderappend, build, getConditions, getThis, otherwise, then, unwrap, whenMethods 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.predicates.ConditionUserBuilderwhenMethods inherited from interface net.minecraft.world.level.storage.loot.functions.FunctionUserBuilderapply, apply, unwrap
- 
Field Details- 
weightprotected int weight
- 
qualityprotected int quality
- 
functions
 
- 
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
apply- Specified by:
- applyin interface- FunctionUserBuilder<T extends LootPoolSingletonContainer.Builder<T>>
 
- 
getFunctions
- 
setWeight
- 
setQuality
 
-