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 edl$a
intermediary net/minecraft/class_85$class_86
named net/minecraft/loot/entry/LeafEntry$Builder
  • Field Details

    • weight

      protected int weight
      Mappings:
      Namespace Name Mixin selector
      official a Ledl$a;a:I
      intermediary field_1001 Lnet/minecraft/class_85$class_86;field_1001:I
      named weight Lnet/minecraft/loot/entry/LeafEntry$Builder;weight:I
    • quality

      protected int quality
      Mappings:
      Namespace Name Mixin selector
      official b Ledl$a;b:I
      intermediary field_1000 Lnet/minecraft/class_85$class_86;field_1000:I
      named quality Lnet/minecraft/loot/entry/LeafEntry$Builder;quality:I
    • functions

      private final ImmutableList.Builder<LootFunction> functions
      Mappings:
      Namespace Name Mixin selector
      official c Ledl$a;c:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_999 Lnet/minecraft/class_85$class_86;field_999:Lcom/google/common/collect/ImmutableList$Builder;
      named functions Lnet/minecraft/loot/entry/LeafEntry$Builder;functions:Lcom/google/common/collect/ImmutableList$Builder;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • apply

      public T apply(LootFunction.Builder builder)
      Specified by:
      apply in interface LootFunctionConsumingBuilder<T extends LeafEntry.Builder<T>>
      Mappings:
      Namespace Name Mixin selector
      official a Ledl$a;a(Leed$a;)Ledl$a;
      intermediary method_438 Lnet/minecraft/class_85$class_86;method_438(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_85$class_86;
      named apply Lnet/minecraft/loot/entry/LeafEntry$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/entry/LeafEntry$Builder;
    • getFunctions

      protected List<LootFunction> getFunctions()
      Mappings:
      Namespace Name Mixin selector
      official a Ledl$a;a()Ljava/util/List;
      intermediary method_439 Lnet/minecraft/class_85$class_86;method_439()Ljava/util/List;
      named getFunctions Lnet/minecraft/loot/entry/LeafEntry$Builder;getFunctions()Ljava/util/List;
    • weight

      public T weight(int weight)
      Mappings:
      Namespace Name Mixin selector
      official a Ledl$a;a(I)Ledl$a;
      intermediary method_437 Lnet/minecraft/class_85$class_86;method_437(I)Lnet/minecraft/class_85$class_86;
      named weight Lnet/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 b Ledl$a;b(I)Ledl$a;
      intermediary method_436 Lnet/minecraft/class_85$class_86;method_436(I)Lnet/minecraft/class_85$class_86;
      named quality Lnet/minecraft/loot/entry/LeafEntry$Builder;quality(I)Lnet/minecraft/loot/entry/LeafEntry$Builder;