Skip to content

Commit 7b0d7fe

Browse files
Merge branch 'fabric/26.2' into merge/26.2
2 parents 3c173a4 + d3dc931 commit 7b0d7fe

5 files changed

Lines changed: 21 additions & 15 deletions

File tree

gradle.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ mod_id=modernfix
77
version=5.27.17-build.1
88

99
# Minecraft/Fabric
10-
minecraft_version=26.1.2
11-
loader_version=0.18.6
12-
loom_version=1.16-SNAPSHOT
10+
minecraft_version=26.2
11+
loader_version=0.19.3
12+
loom_version=1.17-SNAPSHOT
1313

1414
# Fabric API
15-
fabric_api_version=0.145.4+26.1.2
15+
fabric_api_version=0.152.1+26.2
1616

1717
# Dependencies
18-
mixinextras_version=0.4.1
19-
modmenu_version=18.0.0-alpha.5
18+
mixinextras_version=0.5.4
19+
modmenu_version=20.0.0-beta.2
2020

2121
# For mod sites
2222
supported_minecraft_versions=~26.1-

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

src/main/java/org/embeddedt/modernfix/screen/OptionList.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import net.minecraft.client.gui.narration.NarratableEntry;
1414
import net.minecraft.client.input.MouseButtonEvent;
1515
import net.minecraft.client.resources.language.I18n;
16+
import net.minecraft.locale.Language;
1617
import net.minecraft.network.chat.Component;
1718
import net.minecraft.network.chat.HoverEvent;
1819
import net.minecraft.network.chat.MutableComponent;
@@ -41,7 +42,7 @@ public class OptionList extends ContainerObjectSelectionList<OptionList.Entry> {
4142
private static MutableComponent getOptionComponent(Option option) {
4243
String friendlyKey = "modernfix.option.name." + option.getName();
4344
MutableComponent baseComponent = Component.literal(option.getSelfName());
44-
if(I18n.exists(friendlyKey))
45+
if(Language.getInstance().has(friendlyKey))
4546
return Component.translatable(friendlyKey).withStyle(style -> style.withHoverEvent(new HoverEvent.ShowText(baseComponent)));
4647
else
4748
return baseComponent;
@@ -168,7 +169,7 @@ public OptionEntry(String optionName, Option option) {
168169
}).pos(75, 0).size(20, 20).build();
169170
String helpKey = "modernfix.option." + optionName;
170171
String helpText = I18n.get(helpKey);
171-
if(!I18n.exists(helpKey) || helpText == null || helpText.isBlank() || helpText.equals(helpKey)) {
172+
if(!Language.getInstance().has(helpKey) || helpText == null || helpText.isBlank() || helpText.equals(helpKey)) {
172173
this.helpButton.active = false;
173174
if(ModernFixPlatformHooks.INSTANCE.isDevEnv() && OPTIONS_MISSING_HELP.add(optionName))
174175
ModernFix.LOGGER.warn("Missing help for {}", optionName);

src/main/java/org/embeddedt/modernfix/util/DummyServerConfiguration.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ public boolean isAllowCommands() {
8787
return false;
8888
}
8989

90+
@Override
91+
public void setAllowCommands(boolean allowCommands) {
92+
93+
}
94+
9095
@Override
9196
public Difficulty getDifficulty() {
9297
return null;

src/main/resources/fabric.mod.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
"embeddedt"
99
],
1010
"contact": {
11-
"sources": "https://github.com/embeddedt/ModernFix",
12-
"homepage": "https://modrinth.com/mod/modernfix",
13-
"issues": "https://github.com/embeddedt/ModernFix/issues"
11+
"sources": "https://github.com/coredex-source/ModernFix---mVUS",
12+
"homepage": "https://modrinth.com/mod/modernfix-mvus",
13+
"issues": "https://github.com/coredex-source/ModernFix---mVUS/issues"
1414
},
1515
"license": "LGPL-3.0",
1616
"icon": "icon.png",
1717
"custom": {
1818
"modmenu": {
1919
"links": {
20-
"modmenu.kofi": "https://ko-fi.com/embeddedt",
21-
"modmenu.github_releases": "https://github.com/embeddedt/ModernFix/releases",
22-
"modmenu.curseforge": "https://www.curseforge.com/minecraft/mc-mods/modernfix"
20+
"modmenu.kofi": "https://ko-fi.com/coredex",
21+
"modmenu.github_releases": "https://github.com/coredex-source/ModernFix---mVUS/releases",
22+
"modmenu.curseforge": "https://www.curseforge.com/minecraft/mc-mods/modernfix-mvus"
2323
}
2424
}
2525
},

0 commit comments

Comments
 (0)