类 WeatherCheckLootCondition

    • 字段详细资料

      • raining

        @Nullable
        private final @Nullable Boolean raining
        Mappings:
        Namespace Name Mixin selector
        official a Ldkr;a:Ljava/lang/Boolean;
        intermediary field_1302 Lnet/minecraft/class_227;field_1302:Ljava/lang/Boolean;
        named raining Lnet/minecraft/loot/condition/WeatherCheckLootCondition;raining:Ljava/lang/Boolean;
      • thundering

        @Nullable
        private final @Nullable Boolean thundering
        Mappings:
        Namespace Name Mixin selector
        official b Ldkr;b:Ljava/lang/Boolean;
        intermediary field_1301 Lnet/minecraft/class_227;field_1301:Ljava/lang/Boolean;
        named thundering Lnet/minecraft/loot/condition/WeatherCheckLootCondition;thundering:Ljava/lang/Boolean;
    • 构造器详细资料

      • WeatherCheckLootCondition

        private WeatherCheckLootCondition​(@Nullable
                                          @Nullable Boolean raining,
                                          @Nullable
                                          @Nullable Boolean thundering)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldkr;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)V
        intermediary <init> Lnet/minecraft/class_227;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)V
        named <init> Lnet/minecraft/loot/condition/WeatherCheckLootCondition;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)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;
      • test

        public boolean test​(LootContext lootContext)
        指定者:
        test 在接口中 Predicate<LootContext>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkr;a(Ldhp;)Z
        intermediary method_957 Lnet/minecraft/class_227;method_957(Lnet/minecraft/class_47;)Z
        named test Lnet/minecraft/loot/condition/WeatherCheckLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
      • create

        public static WeatherCheckLootCondition.Builder create()
        Mappings:
        Namespace Name Mixin selector
        official c Ldkr;c()Ldkr$a;
        intermediary method_35564 Lnet/minecraft/class_227;method_35564()Lnet/minecraft/class_227$class_6165;
        named create Lnet/minecraft/loot/condition/WeatherCheckLootCondition;create()Lnet/minecraft/loot/condition/WeatherCheckLootCondition$Builder;