Use Xoshiro256SSRandom instead of CMWC for OTM provided level random

This commit is contained in:
DBotThePony 2025-03-05 09:44:02 +07:00
parent 95f1a304c9
commit 991314c07b
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.CMWCRandom;
import ru.dbotthepony.mc.otm.core.util.Xoshiro256SSRandom;
@Mixin(Level.class)
public abstract class LevelMixin implements IMatteryLevel {
public final RandomSource otm_random = new CMWCRandom();
public final RandomSource otm_random = new Xoshiro256SSRandom();
@Override
public @NotNull RandomSource getOtmRandom() {