net.minecraft.util

public class Mth

abr
net.minecraft.util.Mth
net.minecraft.class_3532
net.minecraft.unmapped.C_zpccxxiz
net.minecraft.util.math.MathHelper
net.minecraft.util.math.MathHelper
net.minecraft.server.v1_15_R1.MathHelper

Field summary

Modifier and TypeField
public static final float
a
SQRT_OF_TWO
field_15724
f_lslrhbbz
SQUARE_ROOT_OF_TWO
field_180189_a
private static final float[]
b
SIN
field_15725
f_buotfbwr
SINE_TABLE
field_76144_a
private static final Random
c
RANDOM
field_15726
f_gbrviddp
RANDOM
field_188211_c
private static final int[]
d
MULTIPLY_DE_BRUIJN_BIT_POSITION
field_15723
f_puwfbrez
MULTIPLY_DE_BRUIJN_BIT_POSITION
field_151242_b
private static final double
e
FRAC_BIAS
field_15728
f_vuoodfgj
SMALLEST_FRACTION_FREE_DOUBLE
field_181163_d
private static final double[]
f
ASIN_TAB
field_15727
f_andqrvpk
ARCSINE_TABLE
field_181164_e
private static final double[]
g
COS_TAB
field_15722
f_sgcksppq
COSINE_TABLE
field_181165_f

Method summary

Modifier and TypeMethod
public static float
a(float arg0)
sin(float arg0)
method_15374(float arg0)
m_sysagypy(float arg0)
sin(float arg0)
func_76126_a(float arg0)
sin(float arg0)
public static float
b(float arg0)
cos(float arg0)
method_15362(float arg0)
m_trjtkfjo(float arg0)
cos(float arg0)
func_76134_b(float arg0)
cos(float arg0)
public static float
c(float arg0)
sqrt(float arg0)
method_15355(float arg0)
m_xviuaclr(float arg0)
sqrt(float arg0)
func_76129_c(float arg0)
public static float
a(double arg0)
sqrt(double arg0)
method_15368(double arg0)
m_qqtyskeu(double arg0)
sqrt(double arg0)
func_76133_a(double arg0)
sqrt(double arg0)
public static int
d(float arg0)
floor(float arg0)
method_15375(float arg0)
m_zswxoqgk(float arg0)
floor(float arg0)
func_76141_d(float arg0)
public static int
c(double arg0)
floor(double arg0)
method_15357(double arg0)
m_wbbterds(double arg0)
floor(double arg0)
func_76128_c(double arg0)
floor(double arg0)
public static long
d(double arg0)
lfloor(double arg0)
method_15372(double arg0)
m_uekhkomr(double arg0)
lfloor(double arg0)
func_76124_d(double arg0)
public static float
e(float arg0)
abs(float arg0)
method_15379(float arg0)
m_bchherbr(float arg0)
abs(float arg0)
func_76135_e(float arg0)
public static int
a(int arg0)
abs(int arg0)
method_15382(int arg0)
m_snsjabxg(int arg0)
abs(int arg0)
func_76130_a(int arg0)
public static int
f(float arg0)
ceil(float arg0)
method_15386(float arg0)
m_piknrbnn(float arg0)
ceil(float arg0)
func_76123_f(float arg0)
public static int
f(double arg0)
ceil(double arg0)
method_15384(double arg0)
m_zhlzhhym(double arg0)
ceil(double arg0)
func_76143_f(double arg0)
public static int
a(int arg0, int arg1, int arg2)
clamp(int arg0, int arg1, int arg2)
method_15340(int arg0, int arg1, int arg2)
m_nagehyiq(int arg0, int arg1, int arg2)
clamp(int value, int min, int max)
func_76125_a(int arg0, int arg1, int arg2)
clamp(int arg0, int arg1, int arg2)
public static float
a(float arg0, float arg1, float arg2)
clamp(float arg0, float arg1, float arg2)
method_15363(float arg0, float arg1, float arg2)
m_halhjpav(float arg0, float arg1, float arg2)
clamp(float value, float min, float max)
func_76131_a(float arg0, float arg1, float arg2)
public static double
a(double arg0, double arg1, double arg2)
clamp(double arg0, double arg1, double arg2)
method_15350(double arg0, double arg1, double arg2)
m_erurqqrq(double arg0, double arg1, double arg2)
clamp(double value, double min, double max)
func_151237_a(double arg0, double arg1, double arg2)
public static double
b(double arg0, double arg1, double arg2)
clampedLerp(double arg0, double arg1, double arg2)
method_15390(double arg0, double arg1, double arg2)
m_iexiqoth(double arg0, double arg1, double arg2)
clampedLerp(double first, double second, double delta)
func_151238_b(double arg0, double arg1, double arg2)
public static double
a(double arg0, double arg1)
absMax(double arg0, double arg1)
method_15391(double arg0, double arg1)
m_pohafelr(double arg0, double arg1)
absMax(double arg0, double arg1)
func_76132_a(double arg0, double arg1)
public static int
a(int arg0, int arg1)
intFloorDiv(int arg0, int arg1)
method_15346(int arg0, int arg1)
m_smyzynmu(int arg0, int arg1)
floorDiv(int arg0, int arg1)
func_76137_a(int arg0, int arg1)
public static int
a(Random arg0, int arg1, int arg2)
nextInt(Random arg0, int arg1, int arg2)
method_15395(Random arg0, int arg1, int arg2)
m_priangnp(Random arg0, int arg1, int arg2)
nextInt(Random random, int min, int max)
func_76136_a(Random arg0, int arg1, int arg2)
nextInt(Random arg0, int arg1, int arg2)
public static float
a(Random arg0, float arg1, float arg2)
nextFloat(Random arg0, float arg1, float arg2)
method_15344(Random arg0, float arg1, float arg2)
m_gokzydzj(Random arg0, float arg1, float arg2)
nextFloat(Random random, float min, float max)
func_151240_a(Random arg0, float arg1, float arg2)
public static double
a(Random arg0, double arg1, double arg2)
nextDouble(Random arg0, double arg1, double arg2)
method_15366(Random arg0, double arg1, double arg2)
m_uadmzezm(Random arg0, double arg1, double arg2)
nextDouble(Random random, double min, double max)
func_82716_a(Random arg0, double arg1, double arg2)
public static double
a(long[] arg0)
average(long[] arg0)
method_15373(long[] arg0)
m_bmltxoyn(long[] arg0)
average(long[] array)
func_76127_a(long[] arg0)
public static boolean
b(double arg0, double arg1)
equal(double arg0, double arg1)
method_20390(double arg0, double arg1)
m_ydfpyipe(double arg0, double arg1)
approximatelyEquals(double a, double b)
func_219806_b(double arg0, double arg1)
public static int
b(int arg0, int arg1)
positiveModulo(int arg0, int arg1)
method_15387(int arg0, int arg1)
m_kzcmkjdp(int arg0, int arg1)
floorMod(int arg0, int arg1)
func_180184_b(int arg0, int arg1)
public static float
g(float arg0)
wrapDegrees(float arg0)
method_15393(float arg0)
m_owfoeorg(float arg0)
wrapDegrees(float arg0)
func_76142_g(float arg0)
public static double
g(double arg0)
wrapDegrees(double arg0)
method_15338(double arg0)
m_qkrgfbms(double arg0)
wrapDegrees(double arg0)
func_76138_g(double arg0)
public static float
c(float arg0, float arg1)
degreesDifference(float arg0, float arg1)
method_15381(float arg0, float arg1)
m_cccveftx(float arg0, float arg1)
subtractAngles(float start, float end)
func_203302_c(float arg0, float arg1)
public static float
d(float arg0, float arg1)
degreesDifferenceAbs(float arg0, float arg1)
method_15356(float arg0, float arg1)
m_quwfhkpc(float arg0, float arg1)
angleBetween(float first, float second)
func_203301_d(float arg0, float arg1)
public static float
b(float arg0, float arg1, float arg2)
rotateIfNecessary(float arg0, float arg1, float arg2)
method_20306(float arg0, float arg1, float arg2)
m_mrxkqcrn(float arg0, float arg1, float arg2)
method_20306(float start, float end, float speed)
func_219800_b(float arg0, float arg1, float arg2)
public static float
c(float arg0, float arg1, float arg2)
approach(float arg0, float arg1, float arg2)
method_15348(float arg0, float arg1, float arg2)
m_helpkzdz(float arg0, float arg1, float arg2)
func_203300_b(float arg0, float arg1, float arg2)
public static float
d(float arg0, float arg1, float arg2)
approachDegrees(float arg0, float arg1, float arg2)
method_15388(float arg0, float arg1, float arg2)
m_czflaoid(float arg0, float arg1, float arg2)
func_203303_c(float arg0, float arg1, float arg2)
public static int
c(int arg0)
smallestEncompassingPowerOfTwo(int arg0)
method_15339(int arg0)
m_eppzhzdl(int arg0)
smallestEncompassingPowerOfTwo(int value)
func_151236_b(int arg0)
private static boolean
g(int arg0)
isPowerOfTwo(int arg0)
method_15352(int arg0)
m_cysuvbqm(int arg0)
isPowerOfTwo(int arg0)
func_151235_d(int arg0)
public static int
d(int arg0)
ceillog2(int arg0)
method_15342(int arg0)
m_nigulqrr(int arg0)
log2DeBruijn(int arg0)
func_151241_e(int arg0)
public static int
e(int arg0)
log2(int arg0)
method_15351(int arg0)
m_lswxrubx(int arg0)
log2(int arg0)
func_151239_c(int arg0)
public static int
c(int arg0, int arg1)
roundUp(int arg0, int arg1)
method_15359(int arg0, int arg1)
m_bsgiloaj(int arg0, int arg1)
roundUp(int arg0, int arg1)
func_154354_b(int arg0, int arg1)
public static double
h(double arg0)
frac(double arg0)
method_15385(double arg0)
m_nxemyfqo(double arg0)
fractionalPart(double value)
func_181162_h(double arg0)
public static long
a(gg arg0)
getSeed(Vec3i arg0)
method_15389(class_2382 arg0)
m_dxovjztn(C_ceivtqhh arg0)
hashCode(Vec3i vec)
func_180186_a(Vec3i arg0)
public static long
c(int arg0, int arg1, int arg2)
getSeed(int arg0, int arg1, int arg2)
method_15371(int arg0, int arg1, int arg2)
m_deypbatf(int arg0, int arg1, int arg2)
hashCode(int x, int y, int z)
func_180187_c(int arg0, int arg1, int arg2)
public static UUID
a(Random arg0)
createInsecureUUID(Random arg0)
method_15378(Random arg0)
m_daovknxb(Random arg0)
randomUuid(Random random)
func_180182_a(Random arg0)
public static UUID
a()
createInsecureUUID()
method_15394()
m_jwgeotfi()
randomUUID()
func_188210_a()
public static double
c(double arg0, double arg1, double arg2)
pct(double arg0, double arg1, double arg2)
method_15370(double arg0, double arg1, double arg2)
m_rnqeqiyo(double arg0, double arg1, double arg2)
minusDiv(double numerator, double delta, double denominator)
func_181160_c(double arg0, double arg1, double arg2)
public static double
d(double arg0, double arg1)
atan2(double arg0, double arg1)
method_15349(double arg0, double arg1)
m_jtzaydbq(double arg0, double arg1)
atan2(double arg0, double arg1)
func_181159_b(double arg0, double arg1)
public static double
i(double arg0)
fastInvSqrt(double arg0)
method_15345(double arg0)
m_hxlxudoa(double arg0)
fastInverseSqrt(double x)
func_181161_i(double arg0)
public static int
f(float arg0, float arg1, float arg2)
hsvToRgb(float arg0, float arg1, float arg2)
method_15369(float arg0, float arg1, float arg2)
m_nztnzrii(float arg0, float arg1, float arg2)
hsvToRgb(float hue, float saturation, float value)
func_181758_c(float arg0, float arg1, float arg2)
public static int
f(int arg0)
murmurHash3Mixer(int arg0)
method_15354(int arg0)
m_wgakrnoa(int arg0)
idealHash(int arg0)
func_188208_f(int arg0)
public static int
a(int arg0, int arg1, IntPredicate arg2)
binarySearch(int arg0, int arg1, IntPredicate arg2)
method_15360(int arg0, int arg1, IntPredicate arg2)
m_tyugjwcc(int arg0, int arg1, IntPredicate arg2)
binarySearch(int start, int end, IntPredicate leftPredicate)
func_199093_a(int arg0, int arg1, IntPredicate arg2)
public static float
g(float arg0, float arg1, float arg2)
lerp(float arg0, float arg1, float arg2)
method_16439(float arg0, float arg1, float arg2)
m_zxuwetet(float arg0, float arg1, float arg2)
lerp(float delta, float first, float second)
func_219799_g(float arg0, float arg1, float arg2)
public static double
d(double arg0, double arg1, double arg2)
lerp(double arg0, double arg1, double arg2)
method_16436(double arg0, double arg1, double arg2)
m_rqtbfslc(double arg0, double arg1, double arg2)
lerp(double delta, double first, double second)
func_219803_d(double arg0, double arg1, double arg2)
public static double
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
lerp2(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_16437(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
m_ganrrbsv(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
lerp2(double deltaX, double deltaY, double arg2, double arg3, double arg4, double arg5)
func_219804_a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
public static double
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10)
lerp3(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10)
method_16438(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10)
m_qvarkerd(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10)
lerp3(double deltaX, double deltaY, double deltaZ, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10)
func_219807_a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10)
public static double
j(double arg0)
smoothstep(double arg0)
method_16435(double arg0)
m_nbxcesbi(double arg0)
perlinFade(double arg0)
func_219801_j(double arg0)
public static int
k(double arg0)
sign(double arg0)
method_17822(double arg0)
m_ursvkurt(double arg0)
sign(double arg0)
func_219802_k(double arg0)
public static float
j(float arg0, float arg1, float arg2)
rotlerp(float arg0, float arg1, float arg2)
method_22859(float arg0, float arg1, float arg2)
m_jksykgbr(float arg0, float arg1, float arg2)
func_226167_j_(float arg0, float arg1, float arg2)
public static int
b(double arg0)
fastFloor(double arg0)
method_15365(double arg0)
m_ytbusayc(double arg0)
fastFloor(double arg0)
func_76140_b(double arg0)
public static int
e(double arg0)
absFloor(double arg0)
method_15380(double arg0)
m_neagkcrs(double arg0)
absFloor(double arg0)
func_207806_e(double arg0)
public static long
a(long arg0, long arg1, long arg2)
clamp(long arg0, long arg1, long arg2)
method_24156(long arg0, long arg1, long arg2)
m_wtcosxui(long arg0, long arg1, long arg2)
clamp(long value, long min, long max)
func_226163_a_(long arg0, long arg1, long arg2)
public static boolean
a(float arg0, float arg1)
equal(float arg0, float arg1)
method_15347(float arg0, float arg1)
m_puigbfmr(float arg0, float arg1)
approximatelyEquals(float a, float b)
func_180185_a(float arg0, float arg1)
public static float
b(float arg0, float arg1)
positiveModulo(float arg0, float arg1)
method_15341(float arg0, float arg1)
m_ewxpwxnf(float arg0, float arg1)
floorMod(float arg0, float arg1)
func_188207_b(float arg0, float arg1)
public static double
c(double arg0, double arg1)
positiveModulo(double arg0, double arg1)
method_15367(double arg0, double arg1)
m_icszxjam(double arg0, double arg1)
floorMod(double arg0, double arg1)
func_191273_b(double arg0, double arg1)
public static int
b(int arg0)
wrapDegrees(int arg0)
method_15392(int arg0)
m_psrpddcs(int arg0)
wrapDegrees(int arg0)
func_188209_b(int arg0)
public static int
a(String arg0, int arg1)
getInt(String arg0, int arg1)
method_15343(String arg0, int arg1)
m_jknrvurq(String arg0, int arg1)
parseInt(String string, int fallback)
func_82715_a(String arg0, int arg1)
public static int
a(String arg0, int arg1, int arg2)
getInt(String arg0, int arg1, int arg2)
method_15364(String arg0, int arg1, int arg2)
m_dtfzcwgy(String arg0, int arg1, int arg2)
parseInt(String string, int fallback, int minimum)
func_82714_a(String arg0, int arg1, int arg2)
public static double
a(String arg0, double arg1)
getDouble(String arg0, double arg1)
method_15361(String arg0, double arg1)
m_anivrbvv(String arg0, double arg1)
parseDouble(String string, double fallback)
func_207805_a(String arg0, double arg1)
public static double
a(String arg0, double arg1, double arg2)
getDouble(String arg0, double arg1, double arg2)
method_15358(String arg0, double arg1, double arg2)
m_ryjzptus(String arg0, double arg1, double arg2)
parseDouble(String string, double fallback, double arg2)
func_207804_a(String arg0, double arg1, double arg2)
public static int
e(float arg0, float arg1, float arg2)
color(float arg0, float arg1, float arg2)
method_15353(float arg0, float arg1, float arg2)
m_dvwultkg(float arg0, float arg1, float arg2)
packRgb(float r, float g, float b)
func_180183_b(float arg0, float arg1, float arg2)
public static int
b(int arg0, int arg1, int arg2)
color(int arg0, int arg1, int arg2)
method_15383(int arg0, int arg1, int arg2)
m_ahnreeni(int arg0, int arg1, int arg2)
packRgb(int r, int g, int b)
func_180181_b(int arg0, int arg1, int arg2)
public static float
h(float arg0)
frac(float arg0)
method_22450(float arg0)
m_elqmgyfu(float arg0)
fractionalPart(float value)
func_226164_h_(float arg0)
public static float
i(float arg0)
fastInvSqrt(float arg0)
method_22858(float arg0)
m_odjyvcmu(float arg0)
fastInverseSqrt(float x)
func_226165_i_(float arg0)
public static float
j(float arg0)
fastInvCubeRoot(float arg0)
method_23278(float arg0)
m_iknjrvfq(float arg0)
fastInverseCbrt(float x)
func_226166_j_(float arg0)
public static float
h(float arg0, float arg1, float arg2)
rotLerp(float arg0, float arg1, float arg2)
method_17821(float arg0, float arg1, float arg2)
m_fdvuyfhh(float arg0, float arg1, float arg2)
lerpAngleDegrees(float delta, float first, float second)
func_219805_h(float arg0, float arg1, float arg2)
public static float
l(double arg0)
rotWrap(double arg0)
method_22860(double arg0)
m_cafdiqqr(double arg0)
func_226168_l_(double arg0)