Class LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>

java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Builder<T>
All Implemented Interfaces:
LootConditionConsumingBuilder<T>
Direct Known Subclasses:
AlternativeEntry.Builder, GroupEntry.Builder, LeafEntry.Builder, SequenceEntry.Builder
Enclosing class:
LootPoolEntry

public abstract static class LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>> extends Object implements LootConditionConsumingBuilder<T>
Mappings:
Namespace Name
named net/minecraft/loot/entry/LootPoolEntry$Builder
intermediary net/minecraft/class_79$class_80
official esh$a
  • Field Details

    • conditions

      private final ImmutableList.Builder<LootCondition> conditions
      Mappings:
      Namespace Name Mixin selector
      named conditions Lnet/minecraft/loot/entry/LootPoolEntry$Builder;conditions:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_990 Lnet/minecraft/class_79$class_80;field_990:Lcom/google/common/collect/ImmutableList$Builder;
      official a Lesh$a;a:Lcom/google/common/collect/ImmutableList$Builder;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • getThisBuilder

      protected abstract T getThisBuilder()
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/entry/LootPoolEntry$Builder;getThisBuilder()Lnet/minecraft/loot/entry/LootPoolEntry$Builder;
      intermediary method_418 Lnet/minecraft/class_79$class_80;method_418()Lnet/minecraft/class_79$class_80;
      official aH_ Lesh$a;aH_()Lesh$a;
    • conditionally

      public T conditionally(LootCondition.Builder builder)
      Specified by:
      conditionally in interface LootConditionConsumingBuilder<T extends LootPoolEntry.Builder<T>>
      Mappings:
      Namespace Name Mixin selector
      named conditionally Lnet/minecraft/loot/entry/LootPoolEntry$Builder;conditionally(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/entry/LootPoolEntry$Builder;
      intermediary method_421 Lnet/minecraft/class_79$class_80;method_421(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_79$class_80;
      official a Lesh$a;a(Levc$a;)Lesh$a;
    • getThisConditionConsumingBuilder

      public final T getThisConditionConsumingBuilder()
      Specified by:
      getThisConditionConsumingBuilder in interface LootConditionConsumingBuilder<T extends LootPoolEntry.Builder<T>>
      Mappings:
      Namespace Name Mixin selector
      named getThisConditionConsumingBuilder Lnet/minecraft/loot/entry/LootPoolEntry$Builder;getThisConditionConsumingBuilder()Lnet/minecraft/loot/entry/LootPoolEntry$Builder;
      intermediary method_416 Lnet/minecraft/class_79$class_80;method_416()Lnet/minecraft/class_79$class_80;
      official e Lesh$a;e()Lesh$a;
    • getConditions

      protected List<LootCondition> getConditions()
      Mappings:
      Namespace Name Mixin selector
      named getConditions Lnet/minecraft/loot/entry/LootPoolEntry$Builder;getConditions()Ljava/util/List;
      intermediary method_420 Lnet/minecraft/class_79$class_80;method_420()Ljava/util/List;
      official f Lesh$a;f()Ljava/util/List;
    • alternatively

      public AlternativeEntry.Builder alternatively(LootPoolEntry.Builder<?> builder)
      Mappings:
      Namespace Name Mixin selector
      named alternatively Lnet/minecraft/loot/entry/LootPoolEntry$Builder;alternatively(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;
      intermediary method_417 Lnet/minecraft/class_79$class_80;method_417(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_65$class_66;
      official a Lesh$a;a(Lesh$a;)Lery$a;
    • sequenceEntry

      public GroupEntry.Builder sequenceEntry(LootPoolEntry.Builder<?> entry)
      Mappings:
      Namespace Name Mixin selector
      named sequenceEntry Lnet/minecraft/loot/entry/LootPoolEntry$Builder;sequenceEntry(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/GroupEntry$Builder;
      intermediary method_35513 Lnet/minecraft/class_79$class_80;method_35513(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_93$class_6152;
      official b Lesh$a;b(Lesh$a;)Lesd$a;
    • groupEntry

      public SequenceEntry.Builder groupEntry(LootPoolEntry.Builder<?> entry)
      Mappings:
      Namespace Name Mixin selector
      named groupEntry Lnet/minecraft/loot/entry/LootPoolEntry$Builder;groupEntry(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/SequenceEntry$Builder;
      intermediary method_35514 Lnet/minecraft/class_79$class_80;method_35514(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_72$class_6153;
      official c Lesh$a;c(Lesh$a;)Lesl$a;
    • build

      public abstract LootPoolEntry build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/loot/entry/LootPoolEntry$Builder;build()Lnet/minecraft/loot/entry/LootPoolEntry;
      intermediary method_419 Lnet/minecraft/class_79$class_80;method_419()Lnet/minecraft/class_79;
      official b Lesh$a;b()Lesh;