Skip to content

Commit 9400705

Browse files
authored
switch to XoShiRo256++ random (#2747)
1 parent fddb179 commit 9400705

File tree

9 files changed

+970
-247
lines changed

9 files changed

+970
-247
lines changed

src/main/java/gregtech/api/GTValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package gregtech.api;
22

3-
import gregtech.api.util.XSTR;
3+
import gregtech.api.util.random.XoShiRo256PlusPlusRandom;
44
import gregtech.common.ConfigHolder;
55

66
import net.minecraftforge.fml.common.FMLCommonHandler;
@@ -45,7 +45,7 @@ public class GTValues {
4545
*/
4646
public static final short W = OreDictionary.WILDCARD_VALUE;
4747

48-
public static final Random RNG = new XSTR();
48+
public static final Random RNG = new XoShiRo256PlusPlusRandom();
4949

5050
/** Current time on the Client. Will always be zero on the server. */
5151
public static long CLIENT_TIME = 0;

src/main/java/gregtech/api/util/XSTR.java

Lines changed: 0 additions & 241 deletions
This file was deleted.

0 commit comments

Comments
 (0)