类 LightPredicate


  • public class LightPredicate
    extends Object
    Mappings:
    Namespace Name
    official ca
    intermediary net/minecraft/class_4552
    named net/minecraft/predicate/LightPredicate
    • 字段详细资料

      • ANY

        public static final LightPredicate ANY
        Mappings:
        Namespace Name Mixin selector
        official a Lca;a:Lca;
        intermediary field_20712 Lnet/minecraft/class_4552;field_20712:Lnet/minecraft/class_4552;
        named ANY Lnet/minecraft/predicate/LightPredicate;ANY:Lnet/minecraft/predicate/LightPredicate;
      • range

        private final NumberRange.IntRange range
        Mappings:
        Namespace Name Mixin selector
        official b Lca;b:Lce$d;
        intermediary field_20713 Lnet/minecraft/class_4552;field_20713:Lnet/minecraft/class_2096$class_2100;
        named range Lnet/minecraft/predicate/LightPredicate;range:Lnet/minecraft/predicate/NumberRange$IntRange;
    • 构造器详细资料

      • LightPredicate

        private LightPredicate​(NumberRange.IntRange range)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lca;<init>(Lce$d;)V
        intermediary <init> Lnet/minecraft/class_4552;<init>(Lnet/minecraft/class_2096$class_2100;)V
        named <init> Lnet/minecraft/predicate/LightPredicate;<init>(Lnet/minecraft/predicate/NumberRange$IntRange;)V
    • 方法详细资料

      • test

        public boolean test​(ServerWorld world,
                            BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lca;a(Labj;Lgb;)Z
        intermediary method_22483 Lnet/minecraft/class_4552;method_22483(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
        named test Lnet/minecraft/predicate/LightPredicate;test(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
      • toJson

        public JsonElement toJson()
        Mappings:
        Namespace Name Mixin selector
        official a Lca;a()Lcom/google/gson/JsonElement;
        intermediary method_22481 Lnet/minecraft/class_4552;method_22481()Lcom/google/gson/JsonElement;
        named toJson Lnet/minecraft/predicate/LightPredicate;toJson()Lcom/google/gson/JsonElement;
      • fromJson

        public static LightPredicate fromJson​(@Nullable
                                              @Nullable JsonElement json)
        Mappings:
        Namespace Name Mixin selector
        official a Lca;a(Lcom/google/gson/JsonElement;)Lca;
        intermediary method_22482 Lnet/minecraft/class_4552;method_22482(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_4552;
        named fromJson Lnet/minecraft/predicate/LightPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/LightPredicate;