Remove mods.toml (modlauncher was never supported anyway)
This commit is contained in:
@@ -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"
|
|
||||||
@@ -464,10 +464,9 @@ processResources
|
|||||||
inputs.property 'version', { project.version }
|
inputs.property 'version', { project.version }
|
||||||
inputs.property 'mcversion', { mcVersionStr }
|
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 ->
|
from(sourceSets.main.resources.srcDirs) { spec ->
|
||||||
include 'mcmod.info'
|
include 'mcmod.info'
|
||||||
include 'mods.toml'
|
|
||||||
include 'fabric.mod.json'
|
include 'fabric.mod.json'
|
||||||
|
|
||||||
// replace version and mcversion
|
// replace version and mcversion
|
||||||
@@ -482,10 +481,9 @@ processResources
|
|||||||
filter { line -> line.trim().startsWith('//') ? '' : line}
|
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) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
exclude 'mcmod.info'
|
exclude 'mcmod.info'
|
||||||
exclude 'mods.toml'
|
|
||||||
exclude 'fabric.mod.json'
|
exclude 'fabric.mod.json'
|
||||||
exclude 'pack.mcmeta'
|
exclude 'pack.mcmeta'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user