···1212 matrix:
1313 # Use these Java versions
1414 java: [
1515- 17, # Current Java LTS & minimum supported by Minecraft
1515+ 21, # Current Java LTS & minimum supported by Minecraft
1616 ]
1717 # and run on both Linux and Windows
1818 os: [ubuntu-22.04, windows-2022]
···3333 - name: build
3434 run: ./gradlew build
3535 - name: capture build artifacts
3636- if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
3636+ if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
3737 uses: actions/upload-artifact@v3
3838 with:
3939 name: armorhud-mod
+2-2
build.gradle
···11plugins {
22- id 'fabric-loom' version '1.2-SNAPSHOT'
22+ id 'fabric-loom' version '1.6-SNAPSHOT'
33 id 'maven-publish'
4455}
···3939 mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
4040 modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
41414242- include modImplementation("dev.lambdaurora:spruceui:${project.spruceui_version}")
4242+// include modImplementation("dev.lambdaurora:spruceui:${project.spruceui_version}")
43434444 modApi "com.terraformersmc:modmenu:${project.modmenu_version}"
4545
+6-6
gradle.properties
···4455# Fabric Properties
66# check these on https://fabricmc.net/develop
77-minecraft_version=1.20.4
88-yarn_mappings=1.20.4+build.1
99-loader_version=0.15.2
77+minecraft_version=1.20.6
88+yarn_mappings=1.20.6+build.3
99+loader_version=0.15.11
10101111# Mod Properties
1212mod_version=1.4.2
···1414archives_base_name=simple-armor-hud
15151616# Dependency properties
1717-fabric_version=0.91.3+1.20.4
1818-modmenu_version=9.0.0-pre.1
1919-spruceui_version=5.0.3+1.20.2
1717+fabric_version=0.99.0+1.20.6
1818+modmenu_version=10.0.0-beta.1
1919+spruceui_version=5.0.3+1.20.4
···8585APP_BASE_NAME=${0##*/}
8686APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
87878888-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989-DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
9090-9188# Use the maximum available, or set MAX_FD != -1 to use that value.
9289MAX_FD=maximum
9390···144141 case $MAX_FD in #(
145142 max*)
146143 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147147- # shellcheck disable=SC3045
144144+ # shellcheck disable=SC3045
148145 MAX_FD=$( ulimit -H -n ) ||
149146 warn "Could not query maximum file descriptor limit"
150147 esac
···152149 '' | soft) :;; #(
153150 *)
154151 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155155- # shellcheck disable=SC3045
152152+ # shellcheck disable=SC3045
156153 ulimit -n "$MAX_FD" ||
157154 warn "Could not set maximum file descriptor limit to $MAX_FD"
158155 esac
···196193 set -- "$@" "$arg" # push replacement arg
197194 done
198195fi
196196+197197+198198+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
199199+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
199200200201# Collect all arguments for the java command;
201202# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
···66 "config.bettermounthud": "Better Mount Hud",
77 "config.armorvisible": "Armor visible",
88 "config.righttoleft": "Right to left display",
99- "config.done": "Done",
99+ "config.disablearmorbar": "Disable armor bar",
10101111- "config.description.doublehotbar": "Ensures complatibility between double hotbar and armor hud",
1212- "config.description.bettermounthud": "Makes better mount hud compatible",
1313- "config.description.armorvisible": "Toggles the visibility of the armor hud",
1414- "config.description.righttoleft": "Displays the armor from right to left instead of left to right"
1111+ "config.title": "Armor hud config screen",
1212+ "config.done": "Done"
1513}
···55 "config.doublehotbar": "Double Hotbar",
66 "config.bettermounthud": "Better Mount Hud",
77 "config.armorvisible": "Harnas-hud zichtbaar",
88+ "config.disablearmorbar": "Harnasbalk uitzetten",
99+810 "config.righttoleft": "Rechts naar links display",
99- "config.done": "Gereed",
1010-1111- "config.description.doublehotbar": "Zorgt voor compatibiliteit met de double hotbar mod",
1212- "config.description.bettermounthud": "Maakt armor hud compatibel met de better mount hud mod",
1313- "config.description.armorvisible": "Zet de zichtbaarheid van het harnas aan of uit",
1414- "config.description.righttoleft": "Laat de harnas-hud van rechts naar links zien in plaats van links naar rechts"
1111+ "config.done": "Gereed"
1512}