Class LootConditionManager.AndCondition

java.lang.Object
net.minecraft.loot.condition.LootConditionManager.AndCondition
All Implemented Interfaces:
Predicate<LootContext>, LootCondition, LootContextAware
Enclosing class:
LootConditionManager

private static class LootConditionManager.AndCondition extends Object implements LootCondition
Mappings:
Namespace Name
official djs$a
intermediary net/minecraft/class_4567$class_5334
named net/minecraft/loot/condition/LootConditionManager$AndCondition
  • Field Details

    • terms

      private final LootCondition[] terms
      Mappings:
      Namespace Name Mixin selector
      official a Ldjs$a;a:[Ldmg;
      intermediary field_25202 Lnet/minecraft/class_4567$class_5334;field_25202:[Lnet/minecraft/class_5341;
      named terms Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;terms:[Lnet/minecraft/loot/condition/LootCondition;
    • predicate

      private final Predicate<LootContext> predicate
      Mappings:
      Namespace Name Mixin selector
      official b Ldjs$a;b:Ljava/util/function/Predicate;
      intermediary field_25203 Lnet/minecraft/class_4567$class_5334;field_25203:Ljava/util/function/Predicate;
      named predicate Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;predicate:Ljava/util/function/Predicate;
  • Constructor Details

  • Method Details

    • test

      public final boolean test(LootContext lootContext)
      Specified by:
      test in interface Predicate<LootContext>
      Mappings:
      Namespace Name Mixin selector
      official a Ldjs$a;a(Ldjn;)Z
      intermediary method_29311 Lnet/minecraft/class_4567$class_5334;method_29311(Lnet/minecraft/class_47;)Z
      named test Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
    • validate

      public void validate(LootTableReporter reporter)
      Specified by:
      validate in interface LootContextAware
      Mappings:
      Namespace Name Mixin selector
      official a Ldjo;a(Ldjv;)V
      intermediary method_292 Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)V
      named validate Lnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
    • getType

      public LootConditionType getType()
      Specified by:
      getType in interface LootCondition
      Mappings:
      Namespace Name Mixin selector
      official a Ldmg;a()Ldmh;
      intermediary method_29325 Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
      named getType Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;