Skip to content

Commit

Permalink
Updated to BTA pre2a!
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Mar 23, 2024
1 parent fda9e4a commit d182cba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/main/java/io/github/prospector/modmenu/ModMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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<ModContainer> mods = FabricLoader.getInstance().getAllMods();
HardcodedUtil.initializeHardcodings();
Expand Down
Binary file modified src/main/resources/assets/modmenu/mc_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d182cba

Please sign in to comment.