Update WMD to new LibZontreck API

This commit is contained in:
Aria 2023-03-06 02:26:39 -07:00
parent 3aee097fbc
commit 9f8b5582f1
3 changed files with 7 additions and 8 deletions

View file

@ -137,7 +137,6 @@ dependencies {
implementation fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev")
runtimeOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}")
compileOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev")
// Real mod deobf dependency examples - these get remapped to your current mappings
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
@ -157,9 +156,9 @@ jar {
attributes([
"Specification-Title" : "watchmydurability",
"Specification-Vendor" : "Zontreck",
"Specification-Version" : "1", // We are version 1 of ourselves
"Specification-Version" : "${myversion}", // We are version 1 of ourselves
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Version" : "${myversion}",
"Implementation-Vendor" : "ZNI Creations",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])

View file

@ -5,5 +5,5 @@ org.gradle.daemon=false
mc_version=1.18.2
forge_version=40.2.1
myversion=1.1.2.7
libz_version=1.0.4.9
myversion=1.1.3.0306230216
libz_version=1.0.5.0306230154

View file

@ -9,7 +9,7 @@ modLoader="javafml" #mandatory
loaderVersion="[40,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties.
# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here.
license="GPL-v2"
license="GPL-v3"
# A URL to refer people to when problems occur with this mod
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
# A list of mods - how many allowed here is determined by the individual mod loader
@ -19,7 +19,7 @@ modId="watchmydurability" #mandatory
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
# see the associated build.gradle script for how to populate this completely automatically during a build
version="1.1.2.7" #mandatory
version="${file.jarVersion}" #mandatory
# A display name for the mod
displayName="Watch My Durability" #mandatory
# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
@ -71,6 +71,6 @@ Edit the config file to customize the alerts
[[dependencies.watchmydurability]]
modId="libzontreck"
mandatory=true
versionRange="[1.0.4.9,1.0.5.0)"
versionRange="[1.0.5.0,1.0.6.0)"
ordering="NONE"
side="CLIENT"