Compare commits

...

2 Commits

Author SHA1 Message Date
7251760800
Try PCG as otm provided random 2025-03-08 17:32:42 +07:00
3bcfd55154
Bump kommons 2025-03-08 17:30:25 +07:00
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ mixin_version=0.8.5
neogradle.subsystems.parchment.minecraftVersion=1.21.1
neogradle.subsystems.parchment.mappingsVersion=2024.11.17
kommons_version=3.3.0
kommons_version=3.3.1
caffeine_cache_version=3.1.5
jei_version=19.16.4.171

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