From 6e88427eef0343cb9bff8df8602f268c89486d80 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 12 Mar 2025 16:18:18 +0700 Subject: [PATCH] Bump version --- gradle.properties | 2 +- src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index ba9609a..e766155 100644 --- a/gradle.properties +++ b/gradle.properties @@ -34,7 +34,7 @@ mod_name=Better Random # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=BSD 2 Clause # The mod version. See https://semver.org/ -mod_version=1.2.2 +mod_version=1.3.0 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java b/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java index 277e9ed..aa0cf33 100644 --- a/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java +++ b/src/main/java/ru/dbotthepony/mc/prng/BetterRandom.java @@ -12,6 +12,9 @@ public final class BetterRandom { public static final String SAVEDATA_LOCATION = "better_random_sequences"; private static RandomSource createWorldRandomC2ME(Supplier thread) { + // TODO: actually implement proper integration + // also, this shouldn't be synchronized, per say, in this way, but instead throw an exception when + // concurrently accessed (to match C2ME and vanilla behavior) return new SynchronizedGJRAND64RandomSource(); }