diff --git a/fabric/src/main/resources/DistantHorizons.fabric.mixins.json b/fabric/src/main/resources/DistantHorizons.fabric.mixins.json index 0c7244db8..d306798af 100644 --- a/fabric/src/main/resources/DistantHorizons.fabric.mixins.json +++ b/fabric/src/main/resources/DistantHorizons.fabric.mixins.json @@ -1,30 +1,29 @@ { - "required": true, - "minVersion": "0.8", - "package": "com.seibel.distanthorizons.fabric.mixins", - "mixins": [ - "server.unsafe.MixinThreadingDetector", - "server.MixinChunkGenerator", - "server.MixinChunkMap", - "server.MixinUtilBackgroundThread" - ], - "client": [ - "client.MixinClientLevel", - "client.MixinClientPacketListener", - "client.MixinDebugScreenOverlay", - "client.MixinFogRenderer", - "client.MixinGameRenderer", - "client.MixinLevelRenderer", - "client.MixinLightmap", - "client.MixinOptionsScreen", - "client.MixinMinecraft", - "client.MixinTextureUtil", - - "mods.sodium.MixinSodiumRenderer" - ], - "server": [], - "injectors": { - "defaultRequire": 1 - }, - "plugin": "com.seibel.distanthorizons.fabric.mixins.FabricMixinPlugin" + "required": true, + "minVersion": "0.8", + "package": "com.seibel.distanthorizons.fabric.mixins", + "mixins": [ + "server.unsafe.MixinThreadingDetector", + "server.MixinChunkGenerator", + "server.MixinChunkMap", + "server.MixinUtilBackgroundThread" + ], + "client": [ + "client.MixinClientLevel", + "client.MixinClientPacketListener", + "client.MixinDebugScreenOverlay", + "client.MixinFogRenderer", + "client.MixinGameRenderer", + "client.MixinLevelRenderer", + "client.MixinLightmap", + "client.MixinOptionsScreen", + "client.MixinMinecraft", + "client.MixinTextureUtil", + "mods.sodium.MixinSodiumRenderer" + ], + "server": [], + "injectors": { + "defaultRequire": 1 + }, + "plugin": "com.seibel.distanthorizons.fabric.mixins.FabricMixinPlugin" } diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 7e6907fd7..1b03cb8cc 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -1,56 +1,55 @@ { - "schemaVersion": 1, - "id": "distanthorizons", - "version": "${version}", - - "name": "${mod_name}", - "description": "${description}", - "authors": $authors, - - "contact": { - "homepage": "${homepage}", - "sources": "${source}", - "issues": "${issues}" - }, - - "license": "LGPL-3", - "icon": "icon.png", - - "accessWidener": "distanthorizons.accesswidener", - - "environment": "*", - "entrypoints": { - "client": [ - "com.seibel.distanthorizons.fabric.FabricClientMain" + "schemaVersion": 1, + "id": "distanthorizons", + "version": "${version}", + + "name": "${mod_name}", + "description": "${description}", + "authors": $authors, + + "contact": { + "homepage": "${homepage}", + "sources": "${source}", + "issues": "${issues}" + }, + + "license": "LGPL-3", + "icon": "icon.png", + + "accessWidener": "distanthorizons.accesswidener", + + "environment": "*", + "entrypoints": { + "client": [ + "com.seibel.distanthorizons.fabric.FabricClientMain" + ], + "server": [ + "com.seibel.distanthorizons.fabric.FabricDedicatedServerMain" + ], + "modmenu": [ + "com.seibel.distanthorizons.fabric.wrappers.config.ModMenuIntegration" + ] + }, + + "mixins": [ + "DistantHorizons.fabric.mixins.json" ], - "server": [ - "com.seibel.distanthorizons.fabric.FabricDedicatedServerMain" - ], - - "modmenu": [ - "com.seibel.distanthorizons.fabric.wrappers.config.ModMenuIntegration" - ] - }, - - "mixins": [ - "DistantHorizons.fabric.mixins.json" - ], - - "depends": { - "fabricloader": "*", - "fabric-api-base": "*", - "fabric-lifecycle-events-v1": "*", - "fabric-key-binding-api-v1": "*", - "fabric-resource-loader-v0": "*", - "minecraft": $compatible_minecraft_versions, - "java": ">=${java_version}" - }, - - "custom": { - "modmenu": { - "links": { - "modmenu.discord": "${discord}" - } + + "depends": { + "fabricloader": "*", + "fabric-api-base": "*", + "fabric-lifecycle-events-v1": "*", + "fabric-key-binding-api-v1": "*", + "fabric-resource-loader-v0": "*", + "minecraft": $compatible_minecraft_versions, + "java": ">=${java_version}" + }, + + "custom": { + "modmenu": { + "links": { + "modmenu.discord": "${discord}" + } + } } - } } diff --git a/forge/src/main/resources/DistantHorizons.mixins.json b/forge/src/main/resources/DistantHorizons.mixins.json index 83bfe64e2..4d03828c3 100644 --- a/forge/src/main/resources/DistantHorizons.mixins.json +++ b/forge/src/main/resources/DistantHorizons.mixins.json @@ -1,23 +1,23 @@ { - "required": true, - "minVersion": "0.8", - "package": "com.seibel.distanthorizons.forge.mixins", - "mixins": [ - "server.unsafe.MixinThreadingDetector", - "server.MixinUtilBackgroundThread", - "server.MixinChunkGenerator", - "server.MixinTFChunkGenerator" - ], - "client": [ - "client.MixinClientPacketListener", - "client.MixinDebugScreenOverlay", - "client.MixinFogRenderer", - "client.MixinGameRenderer", - "client.MixinLevelRenderer", - "client.MixinLightmap", - "client.MixinOptionsScreen", - "client.MixinTextureUtil" - ], - "server": [], - "plugin": "com.seibel.distanthorizons.forge.mixins.ForgeMixinPlugin" + "required": true, + "minVersion": "0.8", + "package": "com.seibel.distanthorizons.forge.mixins", + "mixins": [ + "server.unsafe.MixinThreadingDetector", + "server.MixinUtilBackgroundThread", + "server.MixinChunkGenerator", + "server.MixinTFChunkGenerator" + ], + "client": [ + "client.MixinClientPacketListener", + "client.MixinDebugScreenOverlay", + "client.MixinFogRenderer", + "client.MixinGameRenderer", + "client.MixinLevelRenderer", + "client.MixinLightmap", + "client.MixinOptionsScreen", + "client.MixinTextureUtil" + ], + "server": [], + "plugin": "com.seibel.distanthorizons.forge.mixins.ForgeMixinPlugin" } diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index a9dccfc67..30f586289 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -1,33 +1,32 @@ - -modLoader="javafml" #//mandatory -loaderVersion="*" # // mandatory. Allow all forge versions as we are definding what Minecraft versions we requre later on -license="LGPL" -issueTrackerURL="${issues}" +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"] - #//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="logo.png" - catalogueImageIcon="icon.png" - credits="Massive thanks to: Leonardo, Cola, Ran, CoolGi, and Leetom. 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" - #// TODO change to "BOTH" when we add server support - side="CLIENT" - #// Allow any version to be present (or not) on the server - acceptableRemoteVersions="*" + 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"] + #//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 = "logo.png" + catalogueImageIcon = "icon.png" + credits = "Massive thanks to: Leonardo, Cola, Ran, CoolGi, and Leetom. 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" + #// TODO change to "BOTH" when we add server support + side = "CLIENT" + #// Allow any version to be present (or not) on the server + acceptableRemoteVersions = "*" [[dependencies.distanthorizons]] - modId="minecraft" - mandatory=true - versionRange="${compatible_forgemc_versions}" # Where we set what version of mc it is avalible for - ordering="NONE" - side="BOTH" \ No newline at end of file + modId = "minecraft" + mandatory = true + versionRange = "${compatible_forgemc_versions}" # Where we set what version of mc it is avalible for + ordering = "NONE" + side = "BOTH" \ No newline at end of file