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>
- Mappings:
Namespace Name official dih$aintermediary net/minecraft/class_85$class_86named net/minecraft/loot/entry/LeafEntry$Builder
-
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, getThisBuilder, method_35513, method_35514Methods 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- Mappings:
Namespace Name Mixin selector official aLdih$a;a:Iintermediary field_1001Lnet/minecraft/class_85$class_86;field_1001:Inamed weightLnet/minecraft/loot/entry/LeafEntry$Builder;weight:I
-
quality
protected int quality- Mappings:
Namespace Name Mixin selector official bLdih$a;b:Iintermediary field_1000Lnet/minecraft/class_85$class_86;field_1000:Inamed qualityLnet/minecraft/loot/entry/LeafEntry$Builder;quality:I
-
functions
- Mappings:
Namespace Name Mixin selector official cLdih$a;c:Ljava/util/List;intermediary field_999Lnet/minecraft/class_85$class_86;field_999:Ljava/util/List;named functionsLnet/minecraft/loot/entry/LeafEntry$Builder;functions:Ljava/util/List;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLootFunctionConsumingBuilder<T extends LeafEntry.Builder<T>>- Mappings:
Namespace Name Mixin selector official aLdih$a;a(Ldiy$a;)Ldih$a;intermediary method_438Lnet/minecraft/class_85$class_86;method_438(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_85$class_86;named applyLnet/minecraft/loot/entry/LeafEntry$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/entry/LeafEntry$Builder;
-
getFunctions
- Mappings:
Namespace Name Mixin selector official aLdih$a;a()[Ldiy;intermediary method_439Lnet/minecraft/class_85$class_86;method_439()[Lnet/minecraft/class_117;named getFunctionsLnet/minecraft/loot/entry/LeafEntry$Builder;getFunctions()[Lnet/minecraft/loot/function/LootFunction;
-
weight
- Mappings:
Namespace Name Mixin selector official aLdih$a;a(I)Ldih$a;intermediary method_437Lnet/minecraft/class_85$class_86;method_437(I)Lnet/minecraft/class_85$class_86;named weightLnet/minecraft/loot/entry/LeafEntry$Builder;weight(I)Lnet/minecraft/loot/entry/LeafEntry$Builder;
-
quality
- Mappings:
Namespace Name Mixin selector official bLdih$a;b(I)Ldih$a;intermediary method_436Lnet/minecraft/class_85$class_86;method_436(I)Lnet/minecraft/class_85$class_86;named qualityLnet/minecraft/loot/entry/LeafEntry$Builder;quality(I)Lnet/minecraft/loot/entry/LeafEntry$Builder;
-