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 ImmutableList.Builder<LootItemFunction> protected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(LootItemFunction.Builder function) protected List<LootItemFunction> setQuality(int quality) setWeight(int weight) Methods inherited from class LootPoolEntryContainer.Builder
append, build, getConditions, getThis, otherwise, then, unwrap, whenMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConditionUserBuilder
whenMethods inherited from interface 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
-