Remove mods.toml (modlauncher was never supported anyway)

This commit is contained in:
Jonas Herzig
2020-07-13 14:22:03 +02:00
parent 9c49fdf4d1
commit ecee63491c
2 changed files with 2 additions and 32 deletions

View File

@@ -1,28 +0,0 @@
modLoader="javafml"
loaderVersion="[13,)"
updateJSONURL="https://raw.githubusercontent.com/ReplayMod/ReplayMod/master/versions.json"
issueTrackerURL="https://replaymod.com/forum"
displayURL="https://replaymod.com"
logoFile="replaymod_logo.png"
authors="CrushedPixel, johni0702"
[[mods]]
modId="replaymod"
version="${version}"
displayName="Replay Mod"
description='''
A Mod which allows you to record, replay and share your Minecraft experience.
'''
[[dependencies.replaymod]]
modId="forge"
mandatory=true
versionRange="[15.0,)"
ordering="NONE"
side="BOTH"
[[dependencies.replaymod]]
modId="minecraft"
mandatory=true
versionRange="[ 1.13.2 ]"
ordering="NONE"
side="BOTH"

View File

@@ -464,10 +464,9 @@ processResources
inputs.property 'version', { project.version }
inputs.property 'mcversion', { mcVersionStr }
// replace stuff in mcmod.info (pre 1.13) and mods.toml (1.13+) and fabric.mod.json, nothing else
// replace stuff in mcmod.info (forge) and fabric.mod.json, nothing else
from(sourceSets.main.resources.srcDirs) { spec ->
include 'mcmod.info'
include 'mods.toml'
include 'fabric.mod.json'
// replace version and mcversion
@@ -482,10 +481,9 @@ processResources
filter { line -> line.trim().startsWith('//') ? '' : line}
}
// copy everything else, thats not the mcmod.info (or mods.toml or fabric.mod.json)
// copy everything else, thats not the mcmod.info or fabric.mod.json
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
exclude 'mods.toml'
exclude 'fabric.mod.json'
exclude 'pack.mcmeta'
}