类 LeafEntry.Builder<T extends LeafEntry.Builder<T>>
- java.lang.Object
-
- net.minecraft.loot.entry.LootPoolEntry.Builder<T>
-
- net.minecraft.loot.entry.LeafEntry.Builder<T>
-
- 所有已实现的接口:
LootConditionConsumingBuilder<T>,LootFunctionConsumingBuilder<T>
- 直接已知子类:
LeafEntry.BasicBuilder
- 封闭类:
- LeafEntry
public abstract static class LeafEntry.Builder<T extends LeafEntry.Builder<T>> extends LootPoolEntry.Builder<T> implements LootFunctionConsumingBuilder<T>
- Mappings:
Namespace Name official dij$aintermediary net/minecraft/class_85$class_86named net/minecraft/loot/entry/LeafEntry$Builder
-
-
字段概要
字段 修饰符和类型 字段 说明 private List<LootFunction>functionsprotected intqualityprotected intweight
-
构造器概要
构造器 构造器 说明 Builder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Tapply(LootFunction.Builder builder)protected LootFunction[]getFunctions()Tquality(int quality)Tweight(int weight)-
从类继承的方法 net.minecraft.loot.entry.LootPoolEntry.Builder
alternatively, build, conditionally, getConditions, getThis, getThisBuilder, groupEntry, sequenceEntry
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.loot.function.LootFunctionConsumingBuilder
getThis
-
-
-
-
字段详细资料
-
weight
protected int weight
- Mappings:
Namespace Name Mixin selector official aLdij$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 bLdij$a;b:Iintermediary field_1000Lnet/minecraft/class_85$class_86;field_1000:Inamed qualityLnet/minecraft/loot/entry/LeafEntry$Builder;quality:I
-
functions
private final List<LootFunction> functions
- Mappings:
Namespace Name Mixin selector official cLdij$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;
-
-
方法详细资料
-
apply
public T apply(LootFunction.Builder builder)
- 指定者:
apply在接口中LootFunctionConsumingBuilder<T extends LeafEntry.Builder<T>>- Mappings:
Namespace Name Mixin selector official aLdij$a;a(Ldja$a;)Ldij$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
protected LootFunction[] getFunctions()
- Mappings:
Namespace Name Mixin selector official aLdij$a;a()[Ldja;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
public T weight(int weight)
- Mappings:
Namespace Name Mixin selector official aLdij$a;a(I)Ldij$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
public T quality(int quality)
- Mappings:
Namespace Name Mixin selector official bLdij$a;b(I)Ldij$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;
-
-