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

    • terms

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

    • Builder

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

    • add

      public void add(LootCondition.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;add(Lnet/minecraft/loot/condition/LootCondition$Builder;)V
      intermediary method_51730 Lnet/minecraft/class_186$class_187;method_51730(Lnet/minecraft/class_5341$class_210;)V
      official a Leum$a;a(Leuw$a;)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
      named build Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;build(Ljava/util/List;)Lnet/minecraft/loot/condition/LootCondition;
      intermediary method_51724 Lnet/minecraft/class_186$class_187;method_51724(Ljava/util/List;)Lnet/minecraft/class_5341;
      official a Leum$a;a(Ljava/util/List;)Leuw;