Package net.minecraft.loot.entry
Class LeafEntry.Builder<T extends LeafEntry.Builder<T>>
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Builder<T>
net.minecraft.loot.entry.LeafEntry.Builder<T>
- All Implemented Interfaces:
LootConditionConsumingBuilder<T>,LootFunctionConsumingBuilder<T>
- Direct Known Subclasses:
LeafEntry.BasicBuilder
- Enclosing class:
- LeafEntry
public abstract static class LeafEntry.Builder<T extends LeafEntry.Builder<T>> extends LootPoolEntry.Builder<T> implements LootFunctionConsumingBuilder<T>
-
Field Summary
Fields Modifier and Type Field Description private List<LootFunction>functionsprotected intqualityprotected intweight -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Tapply(LootFunction.Builder builder)protected LootFunction[]getFunctions()Tquality(int quality)Tweight(int weight)Methods inherited from class net.minecraft.loot.entry.LootPoolEntry.Builder
alternatively, build, conditionally, getConditions, getThis, getThisBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
getThis
-
Field Details
-
weight
protected int weight -
quality
protected int quality -
functions
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLootFunctionConsumingBuilder<T extends LeafEntry.Builder<T>>
-
getFunctions
-
weight
-
quality
-