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 named net/minecraft/loot/entry/LeafEntry$Builder
intermediary net/minecraft/class_85$class_86
official esj$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder
<LootFunction> protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootFunction.Builder builder) protected List
<LootFunction> quality
(int quality) weight
(int weight) Methods inherited from class net.minecraft.loot.entry.LootPoolEntry.Builder
alternatively, build, conditionally, getConditions, getThisBuilder, getThisConditionConsumingBuilder, groupEntry, sequenceEntry
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.condition.LootConditionConsumingBuilder
conditionally
Methods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply, getThisFunctionConsumingBuilder
-
Field Details
-
weight
protected int weight- Mappings:
Namespace Name Mixin selector named weight
Lnet/minecraft/loot/entry/LeafEntry$Builder;weight:I
intermediary field_1001
Lnet/minecraft/class_85$class_86;field_1001:I
official a
Lesj$a;a:I
-
quality
protected int quality- Mappings:
Namespace Name Mixin selector named quality
Lnet/minecraft/loot/entry/LeafEntry$Builder;quality:I
intermediary field_1000
Lnet/minecraft/class_85$class_86;field_1000:I
official b
Lesj$a;b:I
-
functions
- Mappings:
Namespace Name Mixin selector named functions
Lnet/minecraft/loot/entry/LeafEntry$Builder;functions:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_999
Lnet/minecraft/class_85$class_86;field_999:Lcom/google/common/collect/ImmutableList$Builder;
official c
Lesj$a;c:Lcom/google/common/collect/ImmutableList$Builder;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<T extends LeafEntry.Builder<T>>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/loot/entry/LeafEntry$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/entry/LeafEntry$Builder;
intermediary method_438
Lnet/minecraft/class_85$class_86;method_438(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_85$class_86;
official a
Lesj$a;a(Letf$a;)Lesj$a;
-
getFunctions
- Mappings:
Namespace Name Mixin selector named getFunctions
Lnet/minecraft/loot/entry/LeafEntry$Builder;getFunctions()Ljava/util/List;
intermediary method_439
Lnet/minecraft/class_85$class_86;method_439()Ljava/util/List;
official a
Lesj$a;a()Ljava/util/List;
-
weight
- Mappings:
Namespace Name Mixin selector named weight
Lnet/minecraft/loot/entry/LeafEntry$Builder;weight(I)Lnet/minecraft/loot/entry/LeafEntry$Builder;
intermediary method_437
Lnet/minecraft/class_85$class_86;method_437(I)Lnet/minecraft/class_85$class_86;
official a
Lesj$a;a(I)Lesj$a;
-
quality
- Mappings:
Namespace Name Mixin selector named quality
Lnet/minecraft/loot/entry/LeafEntry$Builder;quality(I)Lnet/minecraft/loot/entry/LeafEntry$Builder;
intermediary method_436
Lnet/minecraft/class_85$class_86;method_436(I)Lnet/minecraft/class_85$class_86;
official b
Lesj$a;b(I)Lesj$a;
-