Use Xoshiro256SSRandom instead of CMWC for OTM provided level random
This commit is contained in:
parent
95f1a304c9
commit
991314c07b
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user