类 NumberRange.IntRange

  • 封闭类:
    NumberRange<T extends Number>

    public static class NumberRange.IntRange
    extends NumberRange<Integer>
    Mappings:
    Namespace Name
    official ce$d
    intermediary net/minecraft/class_2096$class_2100
    named net/minecraft/predicate/NumberRange$IntRange
    • 字段详细资料

      • ANY

        public static final NumberRange.IntRange ANY
        Mappings:
        Namespace Name Mixin selector
        official e Lce$d;e:Lce$d;
        intermediary field_9708 Lnet/minecraft/class_2096$class_2100;field_9708:Lnet/minecraft/class_2096$class_2100;
        named ANY Lnet/minecraft/predicate/NumberRange$IntRange;ANY:Lnet/minecraft/predicate/NumberRange$IntRange;
      • minSquared

        private final Long minSquared
        Mappings:
        Namespace Name Mixin selector
        official f Lce$d;f:Ljava/lang/Long;
        intermediary field_9706 Lnet/minecraft/class_2096$class_2100;field_9706:Ljava/lang/Long;
        named minSquared Lnet/minecraft/predicate/NumberRange$IntRange;minSquared:Ljava/lang/Long;
      • maxSquared

        private final Long maxSquared
        Mappings:
        Namespace Name Mixin selector
        official g Lce$d;g:Ljava/lang/Long;
        intermediary field_9707 Lnet/minecraft/class_2096$class_2100;field_9707:Ljava/lang/Long;
        named maxSquared Lnet/minecraft/predicate/NumberRange$IntRange;maxSquared:Ljava/lang/Long;
    • 构造器详细资料

      • IntRange

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

      • parse

        private static NumberRange.IntRange parse​(com.mojang.brigadier.StringReader reader,
                                                  @Nullable
                                                  @Nullable Integer min,
                                                  @Nullable
                                                  @Nullable Integer max)
                                           throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lce$d;a(Lcom/mojang/brigadier/StringReader;Ljava/lang/Integer;Ljava/lang/Integer;)Lce$d;
        intermediary method_9055 Lnet/minecraft/class_2096$class_2100;method_9055(Lcom/mojang/brigadier/StringReader;Ljava/lang/Integer;Ljava/lang/Integer;)Lnet/minecraft/class_2096$class_2100;
        named parse Lnet/minecraft/predicate/NumberRange$IntRange;parse(Lcom/mojang/brigadier/StringReader;Ljava/lang/Integer;Ljava/lang/Integer;)Lnet/minecraft/predicate/NumberRange$IntRange;
      • squared

        @Nullable
        private static @Nullable Long squared​(@Nullable
                                              @Nullable Integer value)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$d;a(Ljava/lang/Integer;)Ljava/lang/Long;
        intermediary method_9059 Lnet/minecraft/class_2096$class_2100;method_9059(Ljava/lang/Integer;)Ljava/lang/Long;
        named squared Lnet/minecraft/predicate/NumberRange$IntRange;squared(Ljava/lang/Integer;)Ljava/lang/Long;
      • exactly

        public static NumberRange.IntRange exactly​(int value)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$d;a(I)Lce$d;
        intermediary method_9058 Lnet/minecraft/class_2096$class_2100;method_9058(I)Lnet/minecraft/class_2096$class_2100;
        named exactly Lnet/minecraft/predicate/NumberRange$IntRange;exactly(I)Lnet/minecraft/predicate/NumberRange$IntRange;
      • between

        public static NumberRange.IntRange between​(int min,
                                                   int max)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$d;a(II)Lce$d;
        intermediary method_35287 Lnet/minecraft/class_2096$class_2100;method_35287(II)Lnet/minecraft/class_2096$class_2100;
        named between Lnet/minecraft/predicate/NumberRange$IntRange;between(II)Lnet/minecraft/predicate/NumberRange$IntRange;
      • atLeast

        public static NumberRange.IntRange atLeast​(int value)
        Mappings:
        Namespace Name Mixin selector
        official b Lce$d;b(I)Lce$d;
        intermediary method_9053 Lnet/minecraft/class_2096$class_2100;method_9053(I)Lnet/minecraft/class_2096$class_2100;
        named atLeast Lnet/minecraft/predicate/NumberRange$IntRange;atLeast(I)Lnet/minecraft/predicate/NumberRange$IntRange;
      • atMost

        public static NumberRange.IntRange atMost​(int value)
        Mappings:
        Namespace Name Mixin selector
        official c Lce$d;c(I)Lce$d;
        intermediary method_35289 Lnet/minecraft/class_2096$class_2100;method_35289(I)Lnet/minecraft/class_2096$class_2100;
        named atMost Lnet/minecraft/predicate/NumberRange$IntRange;atMost(I)Lnet/minecraft/predicate/NumberRange$IntRange;
      • test

        public boolean test​(int value)
        Mappings:
        Namespace Name Mixin selector
        official d Lce$d;d(I)Z
        intermediary method_9054 Lnet/minecraft/class_2096$class_2100;method_9054(I)Z
        named test Lnet/minecraft/predicate/NumberRange$IntRange;test(I)Z
      • method_35288

        public boolean method_35288​(long long2)
        Mappings:
        Namespace Name Mixin selector
        official a Lce$d;a(J)Z
        intermediary method_35288 Lnet/minecraft/class_2096$class_2100;method_35288(J)Z
        named method_35288 Lnet/minecraft/predicate/NumberRange$IntRange;method_35288(J)Z
      • fromJson

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

        public static NumberRange.IntRange 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$d;a(Lcom/mojang/brigadier/StringReader;)Lce$d;
        intermediary method_9060 Lnet/minecraft/class_2096$class_2100;method_9060(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_2100;
        named parse Lnet/minecraft/predicate/NumberRange$IntRange;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/predicate/NumberRange$IntRange;
      • fromStringReader

        public static NumberRange.IntRange fromStringReader​(com.mojang.brigadier.StringReader reader,
                                                            Function<Integer,​Integer> converter)
                                                     throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lce$d;a(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lce$d;
        intermediary method_9057 Lnet/minecraft/class_2096$class_2100;method_9057(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/class_2096$class_2100;
        named fromStringReader Lnet/minecraft/predicate/NumberRange$IntRange;fromStringReader(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/predicate/NumberRange$IntRange;