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
Fields Modifier and Type Field Description private java.util.List<ILootFunction>
functions
protected int
quality
protected int
weight
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply(ILootFunction.IBuilder p_212841_1_)
protected ILootFunction[]
getFunctions()
T
setQuality(int p_216085_1_)
T
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 Detail
-
weight
protected int weight
-
quality
protected int quality
-
functions
private final java.util.List<ILootFunction> functions
-
-
Method Detail
-
apply
public T apply(ILootFunction.IBuilder p_212841_1_)
- Specified by:
apply
in interfaceILootFunctionConsumer<T extends StandaloneLootEntry.Builder<T>>
-
getFunctions
protected ILootFunction[] getFunctions()
-
setWeight
public T setWeight(int p_216086_1_)
-
setQuality
public T setQuality(int p_216085_1_)
-
-