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 ejm$a
intermediary net/minecraft/class_186$class_187
named net/minecraft/loot/condition/AlternativeLootCondition$Builder
  • Field Details

    • terms

      private final ImmutableList.Builder<LootCondition> terms
      Mappings:
      Namespace Name Mixin selector
      official a Lejm$a;a:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_1248 Lnet/minecraft/class_186$class_187;field_1248:Lcom/google/common/collect/ImmutableList$Builder;
      named terms Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;terms:Lcom/google/common/collect/ImmutableList$Builder;
  • Constructor Details

    • Builder

      protected Builder(LootCondition.Builder[] terms)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejm$a;<init>([Lejv$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 Lejm$a;a(Lejv$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(List<LootCondition> terms)
      Mappings:
      Namespace Name Mixin selector
      official a Lejm$a;a(Ljava/util/List;)Lejv;
      intermediary method_51724 Lnet/minecraft/class_186$class_187;method_51724(Ljava/util/List;)Lnet/minecraft/class_5341;
      named build Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;build(Ljava/util/List;)Lnet/minecraft/loot/condition/LootCondition;