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
named net/minecraft/loot/condition/AnyOfLootCondition
intermediary net/minecraft/class_8551
official etv
  • Field Details

    • CODEC

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

    • AnyOfLootCondition

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

    • getType

      public LootConditionType getType()
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
      intermediary method_29325 Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
      official b Leuh;b()Leui;
    • builder

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