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
official dry$a
intermediary net/minecraft/class_79$class_80
named net/minecraft/loot/entry/LootPoolEntry$Builder
  • Field Details

    • conditions

      private final List<LootCondition> conditions
      Mappings:
      Namespace Name Mixin selector
      official a Ldry$a;a:Ljava/util/List;
      intermediary field_990 Lnet/minecraft/class_79$class_80;field_990:Ljava/util/List;
      named conditions Lnet/minecraft/loot/entry/LootPoolEntry$Builder;conditions:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • getThisBuilder

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

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

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

      protected LootCondition[] getConditions()
      Mappings:
      Namespace Name Mixin selector
      official f Ldry$a;f()[Ldua;
      intermediary method_420 Lnet/minecraft/class_79$class_80;method_420()[Lnet/minecraft/class_5341;
      named getConditions Lnet/minecraft/loot/entry/LootPoolEntry$Builder;getConditions()[Lnet/minecraft/loot/condition/LootCondition;
    • alternatively

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

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

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

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