Class AlternativeLootCondition.Builder

java.lang.Object
net.minecraft.loot.condition.AlternativeLootCondition.Builder
All Implemented Interfaces:
LootCondition.Builder
Enclosing class:
AlternativeLootCondition

public static class AlternativeLootCondition.Builder extends Object implements LootCondition.Builder
Mappings:
Namespace Name
official dun$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 Ldun$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> Ldun$a;<init>([Ldux$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

    • or

      Specified by:
      or in interface LootCondition.Builder
      Mappings:
      Namespace Name Mixin selector
      official or Ldux$a;or(Ldux$a;)Ldun$a;
      intermediary method_893 Lnet/minecraft/class_5341$class_210;method_893(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_186$class_187;
      named or Lnet/minecraft/loot/condition/LootCondition$Builder;or(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/condition/AlternativeLootCondition$Builder;
    • build

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