package net.mcft.copy.betterstorage.utils;

import java.util.Random;

public class RandomUtils {
	
	private static final Random random = new Random();
	
	public static int getInt(int max) { return random.nextInt(max); }
	
	public static int getInt(int min, int max) { return min + getInt(max - min); }
	
	public static float getFloat() { return random.nextFloat(); }
	
	public static float getFloat(float max) { return getFloat() * max; }
	
	public static float getFloat(float min, float max) { return min + getFloat(max - min); }
	
	public static double getGaussian() { return random.nextGaussian(); }
	
}

@@ -209,26 +209,24 @@
 Int(max); %7D%0A
-%09%0A
 %09public stat
@@ -354,26 +354,24 @@
 tFloat(); %7D%0A
-%09%0A
 %09public stat
@@ -424,26 +424,24 @@
 () * max; %7D%0A
-%09%0A
 %09public stat
@@ -512,32 +512,269 @@
 max - min); %7D%0A%09%0A
+%09public static double getDouble() %7B return random.nextDouble(); %7D%0A%09public static double getDouble(double max) %7B return getDouble() * max; %7D%0A%09public static double getDouble(double min, double max) %7B return min + getDouble(max - min); %7D%0A%09%0A
 %09public static d

Add RandomUtils.getDouble