From 7251760800aa37810824f66ee5e0754945bdff42 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 8 Mar 2025 17:32:42 +0700 Subject: [PATCH] Try PCG as otm provided random --- src/main/java/ru/dbotthepony/mc/otm/mixin/LevelMixin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/dbotthepony/mc/otm/mixin/LevelMixin.java b/src/main/java/ru/dbotthepony/mc/otm/mixin/LevelMixin.java index e03b7aba2..30172b5cb 100644 --- a/src/main/java/ru/dbotthepony/mc/otm/mixin/LevelMixin.java +++ b/src/main/java/ru/dbotthepony/mc/otm/mixin/LevelMixin.java @@ -5,11 +5,11 @@ import net.minecraft.world.level.Level; import org.jetbrains.annotations.NotNull; import org.spongepowered.asm.mixin.Mixin; import ru.dbotthepony.mc.otm.core.IMatteryLevel; -import ru.dbotthepony.mc.otm.core.util.Xoshiro256Random; +import ru.dbotthepony.mc.otm.core.util.PCG32RandomSource; @Mixin(Level.class) public abstract class LevelMixin implements IMatteryLevel { - public final RandomSource otm_random = new Xoshiro256Random(); + public final RandomSource otm_random = new PCG32RandomSource(); @Override public @NotNull RandomSource getOtmRandom() {