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 Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemFunction>protected intprotected int - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.Builder
append, build, getConditions, getThis, otherwise, then, unwrap, whenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
whenMethods inherited from interface net.minecraft.world.level.storage.loot.functions.FunctionUserBuilder
apply, apply, unwrap 
- 
Field Details
- 
weight
protected int weight - 
quality
protected int quality - 
functions
 
 - 
 - 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
apply
- Specified by:
 applyin interfaceFunctionUserBuilder<T extends LootPoolSingletonContainer.Builder<T>>
 - 
getFunctions
 - 
setWeight
 - 
setQuality
 
 -