diff --git a/build.gradle b/build.gradle index ae76a0f2..2969fe7e 100644 --- a/build.gradle +++ b/build.gradle @@ -85,12 +85,12 @@ dependencies { modImplementation "fabric-loader:fabric-loader:${project.loader_version}" // Helper library for translations - modImplementation "bta-halplibe:halplibe:${project.halplibe_version}" + //modImplementation "bta-halplibe:halplibe:${project.halplibe_version}" implementation "org.slf4j:slf4j-api:1.8.0-beta4" implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0" - implementation 'com.google.guava:guava:28.0-jre' + implementation 'com.google.guava:guava:33.0.0-jre' implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1' var log4jVersion = "2.20.0" diff --git a/gradle.properties b/gradle.properties index 701bd378..81791372 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,10 @@ org.gradle.jvmargs=-Xmx2G org.gradle.daemon=false -mod_version=2.0.3 +mod_version=2.0.4 mod_group=io.github.turniplabs mod_name=modmenu-bta -bta_version=7.1-pre1 -loader_version=0.14.19-babric.2-bta -halplibe_version=3.0.0 +bta_version=7.1-pre2a +loader_version=0.15.6-babric.4-bta +halplibe_version=3.4.15 diff --git a/src/main/java/io/github/prospector/modmenu/ModMenu.java b/src/main/java/io/github/prospector/modmenu/ModMenu.java index 7c309b04..7a17c629 100644 --- a/src/main/java/io/github/prospector/modmenu/ModMenu.java +++ b/src/main/java/io/github/prospector/modmenu/ModMenu.java @@ -15,9 +15,9 @@ import net.fabricmc.loader.api.metadata.CustomValue; import net.fabricmc.loader.api.metadata.ModEnvironment; import net.fabricmc.loader.api.metadata.ModMetadata; -import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.options.GuiOptions; +import net.minecraft.client.gui.options.data.OptionsPages; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -85,7 +85,7 @@ public void onInitialize() { CUSTOM_BADGE_MODS.put(mod.getMetadata().getId(), map); }); }); - factories.put("minecraft", (screenBase -> new GuiOptions(screenBase, ((Minecraft) FabricLoader.getInstance().getGameInstance()).gameSettings))); + factories.put("minecraft", (screenBase -> new GuiOptions(screenBase, OptionsPages.GENERAL))); configScreenFactories = factories.build(); Collection mods = FabricLoader.getInstance().getAllMods(); HardcodedUtil.initializeHardcodings(); diff --git a/src/main/resources/assets/modmenu/mc_icon.png b/src/main/resources/assets/modmenu/mc_icon.png index b12d0531..917bc252 100644 Binary files a/src/main/resources/assets/modmenu/mc_icon.png and b/src/main/resources/assets/modmenu/mc_icon.png differ