Try PCG as otm provided random

This commit is contained in:
DBotThePony 2025-03-08 17:32:42 +07:00
parent 3bcfd55154
commit 7251760800
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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() {