Package net.minecraft.src
Class MathHelper
- java.lang.Object
-
- net.minecraft.src.MathHelper
-
public class MathHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MathHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static float
abs(float var0)
static int
abs(int var0)
static double
abs_max(double var0, double var2)
static @net.minecraft.modding.api.Side.Client int
bucketInt(int var0, int var1)
static @net.minecraft.modding.api.Side.Client float
clamp_float(float var0, float var1, float var2)
static int
clamp_int(int var0, int var1, int var2)
static float
cos(float var0)
static int
floor_double(double var0)
static long
floor_double_long(double var0)
static int
floor_float(float var0)
static @net.minecraft.modding.api.Side.Client int
func_40346_b(double var0)
static int
getRandomIntegerInRange(java.util.Random var0, int var1, int var2)
static int
signum(int val)
static float
sin(float var0)
static float
sqrt_double(double var0)
static float
sqrt_float(float var0)
static @net.minecraft.modding.api.Side.Client boolean
stringNullOrLengthZero(java.lang.String var0)
-
-
-
Method Detail
-
sin
public static final float sin(float var0)
-
cos
public static final float cos(float var0)
-
sqrt_float
public static final float sqrt_float(float var0)
-
sqrt_double
public static final float sqrt_double(double var0)
-
floor_float
public static int floor_float(float var0)
-
func_40346_b
@Client public static @net.minecraft.modding.api.Side.Client int func_40346_b(double var0)
-
floor_double
public static int floor_double(double var0)
-
floor_double_long
public static long floor_double_long(double var0)
-
abs
public static float abs(float var0)
-
abs
public static int abs(int var0)
-
clamp_int
public static int clamp_int(int var0, int var1, int var2)
-
clamp_float
@Client public static @net.minecraft.modding.api.Side.Client float clamp_float(float var0, float var1, float var2)
-
abs_max
public static double abs_max(double var0, double var2)
-
bucketInt
@Client public static @net.minecraft.modding.api.Side.Client int bucketInt(int var0, int var1)
-
stringNullOrLengthZero
@Client public static @net.minecraft.modding.api.Side.Client boolean stringNullOrLengthZero(java.lang.String var0)
-
getRandomIntegerInRange
public static int getRandomIntegerInRange(java.util.Random var0, int var1, int var2)
-
signum
public static int signum(int val)
-
-