类 LootConditionManager.AndCondition

    • 字段详细资料

      • terms

        private final LootCondition[] terms
        Mappings:
        Namespace Name Mixin selector
        official a Ldhu$a;a:[Ldkh;
        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 Ldhu$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;
    • 构造器详细资料

      • AndCondition

        private AndCondition​(LootCondition[] elements)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldhu$a;<init>([Ldkh;)V
        intermediary <init> Lnet/minecraft/class_4567$class_5334;<init>([Lnet/minecraft/class_5341;)V
        named <init> Lnet/minecraft/loot/condition/LootConditionManager$AndCondition;<init>([Lnet/minecraft/loot/condition/LootCondition;)V
    • 方法详细资料

      • test

        public final boolean test​(LootContext lootContext)
        指定者:
        test 在接口中 Predicate<LootContext>
        Mappings:
        Namespace Name Mixin selector
        official a Ldhu$a;a(Ldhp;)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)
        指定者:
        validate 在接口中 LootContextAware
        Mappings:
        Namespace Name Mixin selector
        official a Ldhq;a(Ldhx;)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()
        指定者:
        getType 在接口中 LootCondition
        Mappings:
        Namespace Name Mixin selector
        official a Ldkh;a()Ldki;
        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;