aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglowredman <35727266+glowredman@users.noreply.github.com>2023-01-17 08:05:58 +0100
committerGitHub <noreply@github.com>2023-01-17 08:05:58 +0100
commitcfa09c7ed0d172494461c22fdd2831d037c709a1 (patch)
tree4b24c9dfc8f7971b16a8ac440db6afd630de4048
parent14a684e3cf336f9d2214e6e0903433806a784cae (diff)
downloadGT5-Unofficial-cfa09c7ed0d172494461c22fdd2831d037c709a1.tar.gz
GT5-Unofficial-cfa09c7ed0d172494461c22fdd2831d037c709a1.tar.bz2
GT5-Unofficial-cfa09c7ed0d172494461c22fdd2831d037c709a1.zip
Add modinfo for child mods (#265)
* Update BWCore.java * Update mcmod.info Former-commit-id: 8ba5b13abb55d34186acbf589e1d262aab5c6d2a
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/ASM/BWCore.java1
-rw-r--r--src/main/resources/mcmod.info67
2 files changed, 54 insertions, 14 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/ASM/BWCore.java b/src/main/java/com/github/bartimaeusnek/bartworks/ASM/BWCore.java
index f4251f2cd5..c09bb3e77e 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/ASM/BWCore.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/ASM/BWCore.java
@@ -54,6 +54,7 @@ public class BWCore extends DummyModContainer {
metadata.version = "0.0.1";
metadata.authorList.add("bartimaeusnek");
metadata.dependants = this.getDependants();
+ metadata.parent = MainMod.MOD_ID;
}
@Subscribe
diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info
index f13aa2a23b..d2b71dd111 100644
--- a/src/main/resources/mcmod.info
+++ b/src/main/resources/mcmod.info
@@ -1,16 +1,55 @@
-[
{
- "modid": "${modId}",
- "name": "${modName}",
- "description": "A Gregtech Addon.",
- "version": "${modVersion}",
- "mcversion": "${minecraftVersion}",
- "url": "https://github.com/bartimaeusnek/bartworks",
- "updateUrl": "",
- "authorList": ["bartimaeusnek"],
- "credits": "Gregorius Techneticies for making gregtech and allowing me to port his old stuff.\n Austin Appleby and Yonik Seeley for creating and putting the MurmurHash3 into the public domain.\n Spluff and EmeraldsEmerald for the Awesome Textures aswell.",
- "logoFile": "",
- "screenshots": [],
- "dependencies": []
+ "modListVersion": 2,
+ "modList": [{
+ "modid": "${modId}",
+ "name": "${modName}",
+ "description": "A Gregtech Addon.",
+ "version": "${modVersion}",
+ "mcversion": "${minecraftVersion}",
+ "url": "https://github.com/bartimaeusnek/bartworks",
+ "updateUrl": "",
+ "authorList": ["bartimaeusnek"],
+ "credits": "Gregorius Techneticies for making gregtech and allowing me to port his old stuff.\n Austin Appleby and Yonik Seeley for creating and putting the MurmurHash3 into the public domain.\n Spluff and EmeraldsEmerald for the Awesome Textures aswell.",
+ "logoFile": "",
+ "screenshots": [],
+ "parent": "",
+ "requiredMods": [],
+ "dependencies": [],
+ "dependants": [],
+ "useDependencyInformation": true
+ },{
+ "modid": "bartworkscrossmod",
+ "name": "BartWorks Mod Additions",
+ "description": "",
+ "version": "${modVersion}",
+ "mcversion": "${minecraftVersion}",
+ "url": "https://github.com/bartimaeusnek/bartworks",
+ "updateUrl": "",
+ "authorList": ["bartimaeusnek"],
+ "credits": "",
+ "logoFile": "",
+ "screenshots": [],
+ "parent": "bartworks",
+ "requiredMods": [],
+ "dependencies": [],
+ "dependants": [],
+ "useDependencyInformation": true
+ },{
+ "modid": "bartworkscrossmodtgregworkscontainer",
+ "name": "BartWorks Mod Additions - TGregworks Container",
+ "description": "",
+ "version": "${modVersion}",
+ "mcversion": "${minecraftVersion}",
+ "url": "https://github.com/bartimaeusnek/bartworks",
+ "updateUrl": "",
+ "authorList": ["bartimaeusnek"],
+ "credits": "",
+ "logoFile": "",
+ "screenshots": [],
+ "parent": "bartworks",
+ "requiredMods": [],
+ "dependencies": [],
+ "dependants": [],
+ "useDependencyInformation": true
+ }]
}
-]