Skip to content
Open
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
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'net.fabricmc.fabric-loom' version "${loom_version}"
}

version = "${project.mod_version}+26.1.x"
version = "${project.mod_version}+26.2"
group = project.maven_group

base {
Expand Down Expand Up @@ -59,4 +59,4 @@ jar {
from("LICENSE") {
rename { "${it}_${inputs.properties.archivesName}"}
}
}
}
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=26.1.2
loader_version=0.19.2
loom_version=1.16-SNAPSHOT
minecraft_version=26.2
loader_version=0.19.3
loom_version=1.17-SNAPSHOT

# Mod Properties
mod_version=2.0.0
Expand All @@ -14,8 +14,8 @@ archives_base_name = NoFortuneChest

# Dependencies
# check this on https://fabricmc.net/develop
fabric_api_version=0.150.0+26.1.2
fabric_api_version=0.154.2+26.2

# check this on https://linkie.shedaniel.dev
cloth_version=26.1.154
modmenu_version=18.0.0-beta.1
cloth_version=26.2.155
modmenu_version=20.0.1
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.4.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ private static void showWarnings(Minecraft minecraft) {
if(!config.enabled) return;

if(config.actionBar && shouldShowWarning(config, minecraft)) {
minecraft.gui.setOverlayMessage(Component.literal(config.actionBarMessage).withColor(config.actionBarColor), false);
minecraft.gui.hud.setOverlayMessage(Component.literal(config.actionBarMessage).withColor(config.actionBarColor), false);
warningShown = true;
} else if(warningShown) {
minecraft.gui.setOverlayMessage(Component.empty(), false);
minecraft.gui.hud.setOverlayMessage(Component.empty(), false);
warningShown = false;
}

if(config.title && shouldShowTitle(config, minecraft)) {
if(!titleShown) minecraft.gui.setTitle(Component.literal(config.titleMessage).withColor(config.titleColor));
if(!titleShown) minecraft.gui.hud.setTitle(Component.literal(config.titleMessage).withColor(config.titleColor));
titleShown = true;
} else if(titleShown) {
minecraft.gui.clearTitles();
minecraft.gui.hud.clearTitles();
titleShown = false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"depends": {
"fabricloader": ">=${loader_version}",
"minecraft": "~26.1",
"minecraft": "~26.2",
"java": ">=25",
"fabric-api": "*",
"cloth-config2": ">=${cloth_version}"
Expand Down