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
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemFunction>
protected int
protected int
-
Constructor Summary
-
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, when
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.predicates.ConditionUserBuilder
when
Methods 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:
apply
in interfaceFunctionUserBuilder<T extends LootPoolSingletonContainer.Builder<T>>
-
getFunctions
-
setWeight
-
setQuality
-