From cfa09c7ed0d172494461c22fdd2831d037c709a1 Mon Sep 17 00:00:00 2001 From: glowredman <35727266+glowredman@users.noreply.github.com> Date: Tue, 17 Jan 2023 08:05:58 +0100 Subject: Add modinfo for child mods (#265) * Update BWCore.java * Update mcmod.info Former-commit-id: 8ba5b13abb55d34186acbf589e1d262aab5c6d2a --- .../github/bartimaeusnek/bartworks/ASM/BWCore.java | 1 + src/main/resources/mcmod.info | 67 +++++++++++++++++----- 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 + }] } -] -- cgit