类 NumberRange.FloatRange

  • 封闭类:
    NumberRange<T extends Number>

    public static class NumberRange.FloatRange
    extends NumberRange<Float>
    Mappings:
    Namespace Name
    official ce$c
    intermediary net/minecraft/class_2096$class_2099
    named net/minecraft/predicate/NumberRange$FloatRange
    • 字段详细资料

      • ANY

        public static final NumberRange.FloatRange ANY
        Mappings:
        Namespace Name Mixin selector
        official e Lce$c;e:Lce$c;
        intermediary field_9705 Lnet/minecraft/class_2096$class_2099;field_9705:Lnet/minecraft/class_2096$class_2099;
        named ANY Lnet/minecraft/predicate/NumberRange$FloatRange;ANY:Lnet/minecraft/predicate/NumberRange$FloatRange;
      • squaredMin

        private final Double squaredMin
        Mappings:
        Namespace Name Mixin selector
        official f Lce$c;f:Ljava/lang/Double;
        intermediary field_9703 Lnet/minecraft/class_2096$class_2099;field_9703:Ljava/lang/Double;
        named squaredMin Lnet/minecraft/predicate/NumberRange$FloatRange;squaredMin:Ljava/lang/Double;
      • squaredMax

        private final Double squaredMax
        Mappings:
        Namespace Name Mixin selector
        official g Lce$c;g:Ljava/lang/Double;
        intermediary field_9704 Lnet/minecraft/class_2096$class_2099;field_9704:Ljava/lang/Double;
        named squaredMax Lnet/minecraft/predicate/NumberRange$FloatRange;squaredMax:Ljava/lang/Double;
    • 构造器详细资料

      • FloatRange

        private FloatRange​(@Nullable
                           @Nullable Float min,
                           @Nullable
                           @Nullable Float max)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lce$c;<init>(Ljava/lang/Float;Ljava/lang/Float;)V
        intermediary <init> Lnet/minecraft/class_2096$class_2099;<init>(Ljava/lang/Float;Ljava/lang/Float;)V
        named <init> Lnet/minecraft/predicate/NumberRange$FloatRange;<init>(Ljava/lang/Float;Ljava/lang/Float;)V
    • 方法详细资料

      • create

        private static NumberRange.FloatRange create​(com.mojang.brigadier.StringReader reader,
                                                     @Nullable
                                                     @Nullable Float min,
                                                     @Nullable
                                                     @Nullable Float max)
                                              throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(Lcom/mojang/brigadier/StringReader;Ljava/lang/Float;Ljava/lang/Float;)Lce$c;
        intermediary method_9046 Lnet/minecraft/class_2096$class_2099;method_9046(Lcom/mojang/brigadier/StringReader;Ljava/lang/Float;Ljava/lang/Float;)Lnet/minecraft/class_2096$class_2099;
        named create Lnet/minecraft/predicate/NumberRange$FloatRange;create(Lcom/mojang/brigadier/StringReader;Ljava/lang/Float;Ljava/lang/Float;)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • square

        @Nullable
        private static @Nullable Double square​(@Nullable
                                               @Nullable Float value)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(Ljava/lang/Float;)Ljava/lang/Double;
        intermediary method_9044 Lnet/minecraft/class_2096$class_2099;method_9044(Ljava/lang/Float;)Ljava/lang/Double;
        named square Lnet/minecraft/predicate/NumberRange$FloatRange;square(Ljava/lang/Float;)Ljava/lang/Double;
      • exactly

        public static NumberRange.FloatRange exactly​(float value)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(F)Lce$c;
        intermediary method_35284 Lnet/minecraft/class_2096$class_2099;method_35284(F)Lnet/minecraft/class_2096$class_2099;
        named exactly Lnet/minecraft/predicate/NumberRange$FloatRange;exactly(F)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • between

        public static NumberRange.FloatRange between​(float min,
                                                     float max)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(FF)Lce$c;
        intermediary method_35285 Lnet/minecraft/class_2096$class_2099;method_35285(FF)Lnet/minecraft/class_2096$class_2099;
        named between Lnet/minecraft/predicate/NumberRange$FloatRange;between(FF)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • atLeast

        public static NumberRange.FloatRange atLeast​(float value)
        Mappings:
        Namespace Name Mixin selector
        official b Lce$c;b(F)Lce$c;
        intermediary method_9050 Lnet/minecraft/class_2096$class_2099;method_9050(F)Lnet/minecraft/class_2096$class_2099;
        named atLeast Lnet/minecraft/predicate/NumberRange$FloatRange;atLeast(F)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • atMost

        public static NumberRange.FloatRange atMost​(float value)
        Mappings:
        Namespace Name Mixin selector
        official c Lce$c;c(F)Lce$c;
        intermediary method_35286 Lnet/minecraft/class_2096$class_2099;method_35286(F)Lnet/minecraft/class_2096$class_2099;
        named atMost Lnet/minecraft/predicate/NumberRange$FloatRange;atMost(F)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • test

        public boolean test​(float value)
        Mappings:
        Namespace Name Mixin selector
        official d Lce$c;d(F)Z
        intermediary method_9047 Lnet/minecraft/class_2096$class_2099;method_9047(F)Z
        named test Lnet/minecraft/predicate/NumberRange$FloatRange;test(F)Z
      • testSqrt

        public boolean testSqrt​(double value)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(D)Z
        intermediary method_9045 Lnet/minecraft/class_2096$class_2099;method_9045(D)Z
        named testSqrt Lnet/minecraft/predicate/NumberRange$FloatRange;testSqrt(D)Z
      • fromJson

        public static NumberRange.FloatRange fromJson​(@Nullable
                                                      @Nullable JsonElement element)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(Lcom/google/gson/JsonElement;)Lce$c;
        intermediary method_9051 Lnet/minecraft/class_2096$class_2099;method_9051(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2096$class_2099;
        named fromJson Lnet/minecraft/predicate/NumberRange$FloatRange;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • parse

        public static NumberRange.FloatRange parse​(com.mojang.brigadier.StringReader reader)
                                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(Lcom/mojang/brigadier/StringReader;)Lce$c;
        intermediary method_9049 Lnet/minecraft/class_2096$class_2099;method_9049(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_2099;
        named parse Lnet/minecraft/predicate/NumberRange$FloatRange;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/predicate/NumberRange$FloatRange;
      • parse

        public static NumberRange.FloatRange parse​(com.mojang.brigadier.StringReader reader,
                                                   Function<Float,​Float> mapper)
                                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lce$c;a(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lce$c;
        intermediary method_9048 Lnet/minecraft/class_2096$class_2099;method_9048(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/class_2096$class_2099;
        named parse Lnet/minecraft/predicate/NumberRange$FloatRange;parse(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/predicate/NumberRange$FloatRange;