Package net.minecraft.loot
Class StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>>
java.lang.Object
net.minecraft.loot.LootEntry.Builder<T>
net.minecraft.loot.StandaloneLootEntry.Builder<T>
- All Implemented Interfaces:
ILootConditionConsumer<T>
,ILootFunctionConsumer<T>
- Direct Known Subclasses:
StandaloneLootEntry.BuilderImpl
- Enclosing class:
- StandaloneLootEntry
public abstract static class StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>>
extends LootEntry.Builder<T>
implements ILootFunctionConsumer<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ILootFunction.IBuilder p_212841_1_) protected ILootFunction[]
setQuality
(int p_216085_1_) setWeight
(int p_216086_1_) Methods inherited from class net.minecraft.loot.LootEntry.Builder
build, getConditions, getThis, otherwise, 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.loot.ILootFunctionConsumer
unwrap
-
Field Details
-
weight
protected int weight -
quality
protected int quality -
functions
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceILootFunctionConsumer<T extends StandaloneLootEntry.Builder<T>>
-
getFunctions
-
setWeight
-
setQuality
-