package net.minecraft.realms; import java.util.Random; import net.minecraft.util.math.MathHelper; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import org.apache.commons.lang3.StringUtils; @SideOnly(Side.CLIENT) public class RealmsMth { public static float sin(float p_sin_0_) { return MathHelper.sin(p_sin_0_); } public static double nextDouble(Random p_nextDouble_0_, double p_nextDouble_1_, double p_nextDouble_3_) { return MathHelper.nextDouble(p_nextDouble_0_, p_nextDouble_1_, p_nextDouble_3_); } public static int ceil(float p_ceil_0_) { return MathHelper.ceil(p_ceil_0_); } public static int floor(double p_floor_0_) { return MathHelper.floor(p_floor_0_); } public static int intFloorDiv(int p_intFloorDiv_0_, int p_intFloorDiv_1_) { return MathHelper.intFloorDiv(p_intFloorDiv_0_, p_intFloorDiv_1_); } public static float abs(float p_abs_0_) { return MathHelper.abs(p_abs_0_); } public static int clamp(int p_clamp_0_, int p_clamp_1_, int p_clamp_2_) { return MathHelper.clamp(p_clamp_0_, p_clamp_1_, p_clamp_2_); } public static double clampedLerp(double p_clampedLerp_0_, double p_clampedLerp_2_, double p_clampedLerp_4_) { return MathHelper.clampedLerp(p_clampedLerp_0_, p_clampedLerp_2_, p_clampedLerp_4_); } public static int ceil(double p_ceil_0_) { return MathHelper.ceil(p_ceil_0_); } public static boolean isEmpty(String p_isEmpty_0_) { return StringUtils.isEmpty(p_isEmpty_0_); } public static long lfloor(double p_lfloor_0_) { return MathHelper.lfloor(p_lfloor_0_); } public static float sqrt(double p_sqrt_0_) { return MathHelper.sqrt(p_sqrt_0_); } public static double clamp(double p_clamp_0_, double p_clamp_2_, double p_clamp_4_) { return MathHelper.clamp(p_clamp_0_, p_clamp_2_, p_clamp_4_); } public static int getInt(String p_getInt_0_, int p_getInt_1_) { return MathHelper.getInt(p_getInt_0_, p_getInt_1_); } public static double getDouble(String p_getDouble_0_, double p_getDouble_1_) { return MathHelper.getDouble(p_getDouble_0_, p_getDouble_1_); } public static int log2(int p_log2_0_) { return MathHelper.log2(p_log2_0_); } public static int absFloor(double p_absFloor_0_) { return MathHelper.absFloor(p_absFloor_0_); } public static int smallestEncompassingPowerOfTwo(int p_smallestEncompassingPowerOfTwo_0_) { return MathHelper.smallestEncompassingPowerOfTwo(p_smallestEncompassingPowerOfTwo_0_); } public static float sqrt(float p_sqrt_0_) { return MathHelper.sqrt(p_sqrt_0_); } public static float cos(float p_cos_0_) { return MathHelper.cos(p_cos_0_); } public static int getInt(String p_getInt_0_, int p_getInt_1_, int p_getInt_2_) { return MathHelper.getInt(p_getInt_0_, p_getInt_1_, p_getInt_2_); } public static int fastFloor(double p_fastFloor_0_) { return MathHelper.fastFloor(p_fastFloor_0_); } public static double absMax(double p_absMax_0_, double p_absMax_2_) { return MathHelper.absMax(p_absMax_0_, p_absMax_2_); } public static float nextFloat(Random p_nextFloat_0_, float p_nextFloat_1_, float p_nextFloat_2_) { return MathHelper.nextFloat(p_nextFloat_0_, p_nextFloat_1_, p_nextFloat_2_); } public static double wrapDegrees(double p_wrapDegrees_0_) { return MathHelper.wrapDegrees(p_wrapDegrees_0_); } public static float wrapDegrees(float p_wrapDegrees_0_) { return MathHelper.wrapDegrees(p_wrapDegrees_0_); } public static float clamp(float p_clamp_0_, float p_clamp_1_, float p_clamp_2_) { return MathHelper.clamp(p_clamp_0_, p_clamp_1_, p_clamp_2_); } public static double getDouble(String p_getDouble_0_, double p_getDouble_1_, double p_getDouble_3_) { return MathHelper.getDouble(p_getDouble_0_, p_getDouble_1_, p_getDouble_3_); } public static int roundUp(int p_roundUp_0_, int p_roundUp_1_) { return MathHelper.roundUp(p_roundUp_0_, p_roundUp_1_); } public static double average(long[] p_average_0_) { return MathHelper.average(p_average_0_); } public static int floor(float p_floor_0_) { return MathHelper.floor(p_floor_0_); } public static int abs(int p_abs_0_) { return MathHelper.abs(p_abs_0_); } public static int nextInt(Random p_nextInt_0_, int p_nextInt_1_, int p_nextInt_2_) { return MathHelper.getInt(p_nextInt_0_, p_nextInt_1_, p_nextInt_2_); } }