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 dtp$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 Ldtp$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> Ldtp$a;<init>([Ldtz$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 Ldtz$a;or(Ldtz$a;)Ldtp$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