modLoader = "javafml" #//mandatory
loaderVersion = "*" # // mandatory. Allow all forge versions as we are definding what Minecraft versions we requre later on
license = "LGPL"
issueTrackerURL = "${issues}"

# https://docs.neoforged.net/docs/gettingstarted/modfiles/#neoforgemodstoml


[[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 = "assets/distanthorizons/logo.png"
    catalogueImageIcon = "assets/distanthorizons/icon.png"
    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 "CLIENT", "SERVER", "BOTH"
    side = "BOTH"
    #// Allow any version to be present (or not) on the server
    acceptableRemoteVersions = "*"

# We may need this to make forge (lexforge) & neoforge work together
[[mixins]]
    config = "DistantHorizons.neoforge.mixins.json"

[[dependencies.distanthorizons]]
    modId = "minecraft"
    type = "required"
    versionRange = "${compatible_forgemc_versions}" # Where we set what version of mc it is avalible for
    ordering = "NONE"
    side = "BOTH"

[[dependencies.distanthorizons]]
    modId = "neoforge"
    type = "required"
    versionRange = "${neoforge_version_range}" 
    ordering = "NONE"
    side = "BOTH"
