Run datagen when packing the jar up

This commit is contained in:
Zontreck 2024-02-20 04:59:55 -07:00
parent 41192c77ac
commit c326453a36
3 changed files with 4 additions and 3 deletions

View file

@ -220,6 +220,7 @@ tasks.named('jar', Jar).configure {
// This is the preferred method to reobfuscate your jar file
finalizedBy 'reobfJar'
dependsOn 'runData'
}

View file

@ -48,7 +48,7 @@ mod_name=Thresholds
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3
# The mod version. See https://semver.org/
mod_version=1201.4.022024.0416
mod_version=1201.4.022024.0459
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -3,6 +3,6 @@
"description": {
"text": "${mod_id} resources"
},
"pack_format": ${pack_format_number}
"pack_format": 15
}
}