Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"

modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
exclude(group: "net.fabricmc.fabric-api")
Expand Down
16 changes: 8 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21.6
yarn_mappings=1.21.6+build.1
loader_version=0.17.2
loom_version=1.11-SNAPSHOT
minecraft_version=1.21.11
yarn_mappings=1.21.11+build.4
loader_version=0.18.4
loom_version=1.15-SNAPSHOT

#Fabric api
fabric_version=0.128.2+1.21.6
fabric_api_version=0.141.2+1.21.11

# Mod Properties
mod_version=2.0.6
mod_version=2.0.7
maven_group=com.mosadie
archivesBaseName=servermainmenu-lib

# Dependency Versions (easy to check on https://linkie.shedaniel.dev/dependencies)
cloth_config_version=19.0.147
mod_menu_version=15.0.0
cloth_config_version=21.11.153
mod_menu_version=17.0.0-beta.1
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
9 changes: 3 additions & 6 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ public static MenuTheme getTheme() {

private static ServerMainMenuLibConfig config;

public static String getSplashText() {
public static Text getSplashText() {
if (config != null && config.splashOptions.overrideSplash) {
return config.splashOptions.overrideSplashText;
return Text.of(config.splashOptions.overrideSplashText);
}

return getTheme().getSplashText();
return Text.of(getTheme().getSplashText());
}

public static Text getButtonText() {
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"servermainmenu-lib.mixins.json"
],
"depends": {
"fabricloader": ">=0.17.2",
"fabricloader": ">=0.18.0",
"fabric-api": ">=0.128.2",
"minecraft": "~1.21",
"modmenu": ">=15.0.0",
"cloth-config": ">=19.0.147"
"modmenu": ">=16.0.0",
"cloth-config": ">=21.0.0"
},
"custom": {
"modmenu": {
Expand Down