053d1333ca
Done to fix a forge limitation where logos can't contain a file pathhttps://github.com/MinecraftForge/MinecraftForge/issues/7348
45 lines
2.2 KiB
TOML
45 lines
2.2 KiB
TOML
modLoader = "javafml" #//mandatory
|
|
loaderVersion = "*" # // mandatory. Allow all forge versions as we are definding what Minecraft versions we requre later on
|
|
license = "LGPL"
|
|
issueTrackerURL = "${issues}"
|
|
|
|
|
|
[[mods]] #//mandatory
|
|
modId = "distanthorizons" #//mandatory
|
|
version = "${version}" #//mandatory, gets the version number from jar populated by the build.gradle script
|
|
displayName = "${mod_name}" #//mandatory
|
|
authors = ["James Seibel", "Leonardo Amato", "Cola", "coolGi", "Ran", "Leetom", "pshsh"] # Should be done with `$authors`, but architectury complains
|
|
#//updateJSONURL="https://change.me.example.invalid/updates.json" # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
|
|
displayURL = "${homepage}"
|
|
description = "${description}" #//mandatory. The description text for the mod
|
|
logoFile = "dh_forge_logo.png" #// can't contain a file path due to an old forge limitation https://github.com/MinecraftForge/MinecraftForge/issues/7348
|
|
catalogueImageIcon = "dh_forge_icon.png" #// can't contain a file path due to an old forge limitation https://github.com/MinecraftForge/MinecraftForge/issues/7348
|
|
credits = "Massive thanks to all the developers for their hard work to bring Distant Horizons to where it is today. - James"
|
|
#// if not set defaults to "false"
|
|
clientSideOnly = "true"
|
|
#// if not set side defaults to "BOTH"
|
|
side = "BOTH"
|
|
#// Allow any version to be present (or not) on the server
|
|
acceptableRemoteVersions = "*"
|
|
|
|
[[dependencies.distanthorizons]]
|
|
modId="forge" #mandatory
|
|
mandatory = true # Forge syntax
|
|
versionRange="[0,)" #mandatory
|
|
ordering="NONE"
|
|
side="BOTH"
|
|
|
|
[[dependencies.distanthorizons]]
|
|
modId = "minecraft"
|
|
mandatory = true # Forge syntax
|
|
versionRange = "${compatible_forgemc_versions}" # Where we set what version of mc it is avalible for
|
|
ordering = "AFTER"
|
|
side = "BOTH"
|
|
|
|
[[dependencies.distanthorizons]]
|
|
modId = "oculus"
|
|
mandatory = false
|
|
versionRange = "[1.8.0,)" # Iris/Oculus 1.8.0 added support for DH API 3+, so anything below that won't work
|
|
ordering = "AFTER"
|
|
side = "CLIENT"
|