Package net.minecraft.predicate
Class NumberRange.FloatRange
- Enclosing class:
- NumberRange<T extends Number>
- Mappings:
Namespace Name official ch$cintermediary net/minecraft/class_2096$class_2099named 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
FieldsFields inherited from class net.minecraft.predicate.NumberRange
EXCEPTION_EMPTY, EXCEPTION_SWAPPED, max, min -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFloatRange(@Nullable Double double2, @Nullable Double double3) -
Method Summary
Modifier and TypeMethodDescriptionstatic NumberRange.FloatRangeatLeast(double double2)static NumberRange.FloatRangeatMost(double double2)static NumberRange.FloatRangebetween(double double2, double double3)private static NumberRange.FloatRangecreate(com.mojang.brigadier.StringReader reader, @Nullable Double double2, @Nullable Double double3)static NumberRange.FloatRangeexactly(double double2)static NumberRange.FloatRangefromJson(@Nullable JsonElement element)static NumberRange.FloatRangeparse(com.mojang.brigadier.StringReader reader)static NumberRange.FloatRangebooleantest(double double2)booleantestSqrt(double value)
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official eLch$c;e:Lch$c;intermediary field_9705Lnet/minecraft/class_2096$class_2099;field_9705:Lnet/minecraft/class_2096$class_2099;named ANYLnet/minecraft/predicate/NumberRange$FloatRange;ANY:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
squaredMin
- Mappings:
Namespace Name Mixin selector official fLch$c;f:Ljava/lang/Double;intermediary field_9703Lnet/minecraft/class_2096$class_2099;field_9703:Ljava/lang/Double;named squaredMinLnet/minecraft/predicate/NumberRange$FloatRange;squaredMin:Ljava/lang/Double;
-
squaredMax
- Mappings:
Namespace Name Mixin selector official gLch$c;g:Ljava/lang/Double;intermediary field_9704Lnet/minecraft/class_2096$class_2099;field_9704:Ljava/lang/Double;named squaredMaxLnet/minecraft/predicate/NumberRange$FloatRange;squaredMax:Ljava/lang/Double;
-
-
Constructor Details
-
FloatRange
-
-
Method Details
-
create
private static NumberRange.FloatRange create(com.mojang.brigadier.StringReader reader, @Nullable @Nullable Double double2, @Nullable @Nullable Double double3) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLch$c;a(Lcom/mojang/brigadier/StringReader;Ljava/lang/Double;Ljava/lang/Double;)Lch$c;intermediary method_9046Lnet/minecraft/class_2096$class_2099;method_9046(Lcom/mojang/brigadier/StringReader;Ljava/lang/Double;Ljava/lang/Double;)Lnet/minecraft/class_2096$class_2099;named createLnet/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 aLch$c;a(Ljava/lang/Double;)Ljava/lang/Double;intermediary method_9044Lnet/minecraft/class_2096$class_2099;method_9044(Ljava/lang/Double;)Ljava/lang/Double;named squareLnet/minecraft/predicate/NumberRange$FloatRange;square(Ljava/lang/Double;)Ljava/lang/Double;
-
exactly
- Mappings:
Namespace Name Mixin selector official aLch$c;a(D)Lch$c;intermediary method_35284Lnet/minecraft/class_2096$class_2099;method_35284(D)Lnet/minecraft/class_2096$class_2099;named exactlyLnet/minecraft/predicate/NumberRange$FloatRange;exactly(D)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
between
- Mappings:
Namespace Name Mixin selector official aLch$c;a(DD)Lch$c;intermediary method_35285Lnet/minecraft/class_2096$class_2099;method_35285(DD)Lnet/minecraft/class_2096$class_2099;named betweenLnet/minecraft/predicate/NumberRange$FloatRange;between(DD)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
atLeast
- Mappings:
Namespace Name Mixin selector official bLch$c;b(D)Lch$c;intermediary method_9050Lnet/minecraft/class_2096$class_2099;method_9050(D)Lnet/minecraft/class_2096$class_2099;named atLeastLnet/minecraft/predicate/NumberRange$FloatRange;atLeast(D)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
atMost
- Mappings:
Namespace Name Mixin selector official cLch$c;c(D)Lch$c;intermediary method_35286Lnet/minecraft/class_2096$class_2099;method_35286(D)Lnet/minecraft/class_2096$class_2099;named atMostLnet/minecraft/predicate/NumberRange$FloatRange;atMost(D)Lnet/minecraft/predicate/NumberRange$FloatRange;
-
test
public boolean test(double double2)- Mappings:
Namespace Name Mixin selector official dLch$c;d(D)Zintermediary method_9047Lnet/minecraft/class_2096$class_2099;method_9047(D)Znamed testLnet/minecraft/predicate/NumberRange$FloatRange;test(D)Z
-
testSqrt
public boolean testSqrt(double value)- Mappings:
Namespace Name Mixin selector official eLch$c;e(D)Zintermediary method_9045Lnet/minecraft/class_2096$class_2099;method_9045(D)Znamed testSqrtLnet/minecraft/predicate/NumberRange$FloatRange;testSqrt(D)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLch$c;a(Lcom/google/gson/JsonElement;)Lch$c;intermediary method_9051Lnet/minecraft/class_2096$class_2099;method_9051(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2096$class_2099;named fromJsonLnet/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 aLch$c;a(Lcom/mojang/brigadier/StringReader;)Lch$c;intermediary method_9049Lnet/minecraft/class_2096$class_2099;method_9049(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_2099;named parseLnet/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 aLch$c;a(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lch$c;intermediary method_9048Lnet/minecraft/class_2096$class_2099;method_9048(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/class_2096$class_2099;named parseLnet/minecraft/predicate/NumberRange$FloatRange;parse(Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/predicate/NumberRange$FloatRange;
-