Package net.minecraft.predicate
Class NumberRange.FloatRange
- Enclosing class:
NumberRange<T extends Number>
- Mappings:
Namespace Name official cj$c
intermediary net/minecraft/class_2096$class_2099
named net/minecraft/predicate/NumberRange$FloatRange
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.predicate.NumberRange
NumberRange.CommandFactory<T extends Number,
R extends NumberRange<T>>, NumberRange.Factory<T extends Number, R extends NumberRange<T>>, NumberRange.FloatRange, NumberRange.IntRange -
Field Summary
Fields inherited from class net.minecraft.predicate.NumberRange
EXCEPTION_EMPTY, EXCEPTION_SWAPPED, max, min
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumberRange.FloatRange
atLeast
(double value) static NumberRange.FloatRange
atMost
(double value) static NumberRange.FloatRange
between
(double min, double max) private static NumberRange.FloatRange
static NumberRange.FloatRange
exactly
(double value) static NumberRange.FloatRange
fromJson
(@Nullable JsonElement element) static NumberRange.FloatRange
parse
(com.mojang.brigadier.StringReader reader) static NumberRange.FloatRange
boolean
test
(double value) boolean
testSqrt
(double value)
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official e
Lcj$c;e:Lcj$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
- Mappings:
Namespace Name Mixin selector official f
Lcj$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
- Mappings:
Namespace Name Mixin selector official g
Lcj$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;
-
-
Constructor Details
-
FloatRange
- Mappings:
Namespace Name Mixin selector official <init>
Lcj$c;<init>(Ljava/lang/Double;Ljava/lang/Double;)V
intermediary <init>
Lnet/minecraft/class_2096$class_2099;<init>(Ljava/lang/Double;Ljava/lang/Double;)V
named <init>
Lnet/minecraft/predicate/NumberRange$FloatRange;<init>(Ljava/lang/Double;Ljava/lang/Double;)V
-
-
Method Details
-
create
private static NumberRange.FloatRange create(com.mojang.brigadier.StringReader reader, @Nullable @Nullable Double min, @Nullable @Nullable Double max) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(Lcom/mojang/brigadier/StringReader;Ljava/lang/Double;Ljava/lang/Double;)Lcj$c;
intermediary method_9046
Lnet/minecraft/class_2096$class_2099;method_9046(Lcom/mojang/brigadier/StringReader;Ljava/lang/Double;Ljava/lang/Double;)Lnet/minecraft/class_2096$class_2099;
named create
Lnet/minecraft/predicate/NumberRange$FloatRange;create(Lcom/mojang/brigadier/StringReader;Ljava/lang/Double;Ljava/lang/Double;)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
square
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(Ljava/lang/Double;)Ljava/lang/Double;
intermediary method_9044
Lnet/minecraft/class_2096$class_2099;method_9044(Ljava/lang/Double;)Ljava/lang/Double;
named square
Lnet/minecraft/predicate/NumberRange$FloatRange;square(Ljava/lang/Double;)Ljava/lang/Double;
-
exactly
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(D)Lcj$c;
intermediary method_35284
Lnet/minecraft/class_2096$class_2099;method_35284(D)Lnet/minecraft/class_2096$class_2099;
named exactly
Lnet/minecraft/predicate/NumberRange$FloatRange;exactly(D)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
between
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(DD)Lcj$c;
intermediary method_35285
Lnet/minecraft/class_2096$class_2099;method_35285(DD)Lnet/minecraft/class_2096$class_2099;
named between
Lnet/minecraft/predicate/NumberRange$FloatRange;between(DD)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
atLeast
- Mappings:
Namespace Name Mixin selector official b
Lcj$c;b(D)Lcj$c;
intermediary method_9050
Lnet/minecraft/class_2096$class_2099;method_9050(D)Lnet/minecraft/class_2096$class_2099;
named atLeast
Lnet/minecraft/predicate/NumberRange$FloatRange;atLeast(D)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
atMost
- Mappings:
Namespace Name Mixin selector official c
Lcj$c;c(D)Lcj$c;
intermediary method_35286
Lnet/minecraft/class_2096$class_2099;method_35286(D)Lnet/minecraft/class_2096$class_2099;
named atMost
Lnet/minecraft/predicate/NumberRange$FloatRange;atMost(D)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
test
public boolean test(double value) - Mappings:
Namespace Name Mixin selector official d
Lcj$c;d(D)Z
intermediary method_9047
Lnet/minecraft/class_2096$class_2099;method_9047(D)Z
named test
Lnet/minecraft/predicate/NumberRange$FloatRange;test(D)Z
-
testSqrt
public boolean testSqrt(double value) - Mappings:
Namespace Name Mixin selector official e
Lcj$c;e(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
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(Lcom/google/gson/JsonElement;)Lcj$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 - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(Lcom/mojang/brigadier/StringReader;)Lcj$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<Double, Double> mapper) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lcj$c;a(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lcj$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;
-