Class AlternativeLootCondition.Builder

java.lang.Object
net.minecraft.loot.condition.AlternativeLootCondition.Builder
All Implemented Interfaces:
LootCondition.Builder
Direct Known Subclasses:
AllOfLootCondition.Builder, AnyOfLootCondition.Builder
Enclosing class:
AlternativeLootCondition

public abstract static class AlternativeLootCondition.Builder extends Object implements LootCondition.Builder
Mappings:
Namespace Name
official ecb$a
intermediary net/minecraft/class_186$class_187
named net/minecraft/loot/condition/AlternativeLootCondition$Builder
  • Field Details

    • terms

      private final List<LootCondition> terms
      Mappings:
      Namespace Name Mixin selector
      official a Lecb$a;a:Ljava/util/List;
      intermediary field_1248 Lnet/minecraft/class_186$class_187;field_1248:Ljava/util/List;
      named terms Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;terms:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder(LootCondition.Builder[] terms)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lecb$a;<init>([Leck$a;)V
      intermediary <init> Lnet/minecraft/class_186$class_187;<init>([Lnet/minecraft/class_5341$class_210;)V
      named <init> Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;<init>([Lnet/minecraft/loot/condition/LootCondition$Builder;)V
  • Method Details

    • add

      public void add(LootCondition.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Lecb$a;a(Leck$a;)V
      intermediary method_51730 Lnet/minecraft/class_186$class_187;method_51730(Lnet/minecraft/class_5341$class_210;)V
      named add Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;add(Lnet/minecraft/loot/condition/LootCondition$Builder;)V
    • build

      public LootCondition build()
      Specified by:
      build in interface LootCondition.Builder
    • build

      protected abstract LootCondition build(LootCondition[] terms)
      Mappings:
      Namespace Name Mixin selector
      official a Lecb$a;a([Leck;)Leck;
      intermediary method_51724 Lnet/minecraft/class_186$class_187;method_51724([Lnet/minecraft/class_5341;)Lnet/minecraft/class_5341;
      named build Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;build([Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/condition/LootCondition;