类 ReferenceLootCondition

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Ldjz;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_20763 Lnet/minecraft/class_4568;field_20763:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/loot/condition/ReferenceLootCondition;LOGGER:Lorg/apache/logging/log4j/Logger;
      • id

        private final Identifier id
        Mappings:
        Namespace Name Mixin selector
        official b Ldjz;b:Lwp;
        intermediary field_20764 Lnet/minecraft/class_4568;field_20764:Lnet/minecraft/class_2960;
        named id Lnet/minecraft/loot/condition/ReferenceLootCondition;id:Lnet/minecraft/util/Identifier;
    • 构造器详细资料

      • ReferenceLootCondition

        private ReferenceLootCondition​(Identifier id)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldjz;<init>(Lwp;)V
        intermediary <init> Lnet/minecraft/class_4568;<init>(Lnet/minecraft/class_2960;)V
        named <init> Lnet/minecraft/loot/condition/ReferenceLootCondition;<init>(Lnet/minecraft/util/Identifier;)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;
      • 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
      • test

        public boolean test​(LootContext lootContext)
        指定者:
        test 在接口中 Predicate<LootContext>
        Mappings:
        Namespace Name Mixin selector
        official a Ldjz;a(Ldhp;)Z
        intermediary method_22579 Lnet/minecraft/class_4568;method_22579(Lnet/minecraft/class_47;)Z
        named test Lnet/minecraft/loot/condition/ReferenceLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
      • builder

        public static LootCondition.Builder builder​(Identifier id)
        Mappings:
        Namespace Name Mixin selector
        official a Ldjz;a(Lwp;)Ldkh$a;
        intermediary method_35555 Lnet/minecraft/class_4568;method_35555(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5341$class_210;
        named builder Lnet/minecraft/loot/condition/ReferenceLootCondition;builder(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/condition/LootCondition$Builder;