Class RandomUtils
java.lang.Object
me.emafire003.dev.particleanimationlib.util.RandomUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckProbability(double probability) static doublestatic net.minecraft.world.phys.Vec3static net.minecraft.world.phys.Vec3static net.minecraft.world.phys.Vec3
-
Field Details
-
random
-
-
Method Details
-
getRandomVector
public static net.minecraft.world.phys.Vec3 getRandomVector() -
getRandomFlatVector
public static net.minecraft.world.phys.Vec3 getRandomFlatVector() -
getRandomCircleVector
public static net.minecraft.world.phys.Vec3 getRandomCircleVector() -
getRandomAngle
public static double getRandomAngle() -
checkProbability
public static boolean checkProbability(double probability)
-