Package net.minecraft.util.math
Class MathHelper
java.lang.Object
net.minecraft.util.math.MathHelper
- Mappings:
Namespace Name intermediary net/minecraft/class_189glue class_213server fqclient innamed net/minecraft/util/math/MathHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatabs(float value) static doubleabsMax(double a, double b) static final floatcos(float value) static intfloor(double value) static intfloor(float value) static intfloorDiv(int dividend, int divisor) static booleanisNullOrEmtpy(String text) static final floatsin(float value) static final floatsqrt(double value) static final floatsqrt(float value)
-
Field Details
-
SINE_TABLE
private static float[] SINE_TABLE- Mappings:
Namespace Name Mixin selector intermediary field_664Lnet/minecraft/class_189;field_664:[Fglue field_872Lclass_213;field_872:[Fserver aLfq;a:[Fclient aLin;a:[Fnamed SINE_TABLELnet/minecraft/util/math/MathHelper;SINE_TABLE:[F
-
-
Constructor Details
-
MathHelper
public MathHelper()
-
-
Method Details
-
sin
public static final float sin(float value) - Mappings:
Namespace Name Mixin selector intermediary method_644Lnet/minecraft/class_189;method_644(F)Fglue method_1014Lclass_213;method_1014(F)Fserver aLfq;a(F)Fclient aLin;a(F)Fnamed sinLnet/minecraft/util/math/MathHelper;sin(F)F
-
cos
public static final float cos(float value) - Mappings:
Namespace Name Mixin selector intermediary method_646Lnet/minecraft/class_189;method_646(F)Fglue method_1016Lclass_213;method_1016(F)Fserver bLfq;b(F)Fclient bLin;b(F)Fnamed cosLnet/minecraft/util/math/MathHelper;cos(F)F
-
sqrt
public static final float sqrt(float value) - Mappings:
Namespace Name Mixin selector intermediary method_647Lnet/minecraft/class_189;method_647(F)Fglue method_1017Lclass_213;method_1017(F)Fserver cLfq;c(F)Fclient cLin;c(F)Fnamed sqrtLnet/minecraft/util/math/MathHelper;sqrt(F)F
-
sqrt
public static final float sqrt(double value) - Mappings:
Namespace Name Mixin selector intermediary method_642Lnet/minecraft/class_189;method_642(D)Fglue method_1012Lclass_213;method_1012(D)Fserver aLfq;a(D)Fclient aLin;a(D)Fnamed sqrtLnet/minecraft/util/math/MathHelper;sqrt(D)F
-
floor
public static int floor(float value) - Mappings:
Namespace Name Mixin selector intermediary method_648Lnet/minecraft/class_189;method_648(F)Iglue method_1018Lclass_213;method_1018(F)Iserver dLfq;d(F)Iclient dLin;d(F)Inamed floorLnet/minecraft/util/math/MathHelper;floor(F)I
-
floor
public static int floor(double value) - Mappings:
Namespace Name Mixin selector intermediary method_645Lnet/minecraft/class_189;method_645(D)Iglue method_1015Lclass_213;method_1015(D)Iserver bLfq;b(D)Iclient bLin;b(D)Inamed floorLnet/minecraft/util/math/MathHelper;floor(D)I
-
abs
public static float abs(float value) - Mappings:
Namespace Name Mixin selector intermediary method_649Lnet/minecraft/class_189;method_649(F)Fglue method_1019Lclass_213;method_1019(F)Fserver eLfq;e(F)Fclient eLin;e(F)Fnamed absLnet/minecraft/util/math/MathHelper;abs(F)F
-
absMax
public static double absMax(double a, double b) - Mappings:
Namespace Name Mixin selector intermediary method_643Lnet/minecraft/class_189;method_643(DD)Dglue method_1013Lclass_213;method_1013(DD)Dserver aLfq;a(DD)Dclient aLin;a(DD)Dnamed absMaxLnet/minecraft/util/math/MathHelper;absMax(DD)D
-
floorDiv
- Mappings:
Namespace Name Mixin selector intermediary method_650Lnet/minecraft/class_189;method_650(II)Iglue method_1357Lclass_213;method_1357(II)Iserver method_650Lfq;method_650(II)Iclient aLin;a(II)Inamed floorDivLnet/minecraft/util/math/MathHelper;floorDiv(II)I
-
isNullOrEmtpy
- Mappings:
Namespace Name Mixin selector intermediary method_651Lnet/minecraft/class_189;method_651(Ljava/lang/String;)Zglue method_1358Lclass_213;method_1358(Ljava/lang/String;)Zserver method_651Lfq;method_651(Ljava/lang/String;)Zclient aLin;a(Ljava/lang/String;)Znamed isNullOrEmtpyLnet/minecraft/util/math/MathHelper;isNullOrEmtpy(Ljava/lang/String;)Z
-