Package net.guizhanss.guizhanlib.utils
Class RandomUtil
java.lang.Object
net.guizhanss.guizhanlib.utils.RandomUtil
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublerandomDouble(double min, double max) Deprecated, for removal: This API element is subject to removal in a future version.static intrandomInt(int min, int max) Deprecated, for removal: This API element is subject to removal in a future version.static booleantestChance(int chance, int bound) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
randomInt
public static int randomInt(int min, int max) Deprecated, for removal: This API element is subject to removal in a future version. -
randomDouble
public static double randomDouble(double min, double max) Deprecated, for removal: This API element is subject to removal in a future version. -
testChance
public static boolean testChance(int chance, int bound) Deprecated, for removal: This API element is subject to removal in a future version.
-
RandomUtil代替