Class AnyOfLootCondition

java.lang.Object
net.minecraft.loot.condition.AlternativeLootCondition
net.minecraft.loot.condition.AnyOfLootCondition
All Implemented Interfaces:
Predicate<LootContext>, LootCondition, LootContextAware

public class AnyOfLootCondition extends AlternativeLootCondition
Mappings:
Namespace Name
official ejk
intermediary net/minecraft/class_8551
named net/minecraft/loot/condition/AnyOfLootCondition
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<AnyOfLootCondition> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lejk;a:Lcom/mojang/serialization/Codec;
      intermediary field_45859 Lnet/minecraft/class_8551;field_45859:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/loot/condition/AnyOfLootCondition;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • AnyOfLootCondition

      AnyOfLootCondition(List<LootCondition> terms)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejk;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_8551;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/loot/condition/AnyOfLootCondition;<init>(Ljava/util/List;)V
  • Method Details

    • getType

      public LootConditionType getType()
      Mappings:
      Namespace Name Mixin selector
      official b Lejv;b()Lejw;
      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;
    • builder

      public static AnyOfLootCondition.Builder builder(LootCondition.Builder[] terms)
      Mappings:
      Namespace Name Mixin selector
      official a Lejk;a([Lejv$a;)Lejk$a;
      intermediary method_51727 Lnet/minecraft/class_8551;method_51727([Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_8551$class_8552;
      named builder Lnet/minecraft/loot/condition/AnyOfLootCondition;builder([Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/condition/AnyOfLootCondition$Builder;