mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
Remove duplicated mcmod.info files
This commit is contained in:
1 parent
228958f1d0
commit
c7ebb39486
8 files changed
+86
-78
No files matched your search
@@ -1,16 +0,0 @@
|
||||
[
|
||||
{
|
||||
"modid": "botany",
|
||||
"name": "Binnie's Botany",
|
||||
"description": "Adds breedable flowers.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/botany/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "binniecore" ]
|
||||
}
|
||||
]
|
||||
@@ -33,7 +33,7 @@ public class ModuleContainer implements IModuleContainer {
|
||||
unloadedModules = new LinkedHashSet<>();
|
||||
enabledModules = new LinkedHashSet<>();
|
||||
configFolder = new File(Loader.instance().getConfigDir(), Constants.FORESTRY_CONFIG_FOLDER + modId);
|
||||
configModules = new Configuration(configFolder, "modules.cfg");
|
||||
configModules = new Configuration(new File(configFolder, "modules.cfg"));
|
||||
configHandlers = new HashSet<>();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,5 +13,61 @@
|
||||
"parent": "",
|
||||
"requiredMods": [ "forestry" ],
|
||||
"dependencies": [ "forestry" ]
|
||||
},
|
||||
{
|
||||
"modid": "extrabees",
|
||||
"name": "Binnie's Extra Bees",
|
||||
"description": "Adds new bees and products to expand the bee breeding in Forestry.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/extrabees/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "BinnieCore" ]
|
||||
},
|
||||
{
|
||||
"modid": "extratrees",
|
||||
"name": "Binnie's Extra Trees",
|
||||
"description": "Adds new trees, aesthetic blocks and alcohol production.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/extratrees/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "BinnieCore" ]
|
||||
},
|
||||
{
|
||||
"modid": "botany",
|
||||
"name": "Binnie's Botany",
|
||||
"description": "Adds breedable flowers.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/botany/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "BinnieCore" ]
|
||||
},
|
||||
{
|
||||
"modid": "genetics",
|
||||
"name": "Binnie's Genetics",
|
||||
"description": "Adds genetic manipulation for bees, trees, butterflies and flowers.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/genetics/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "BinnieCore" ]
|
||||
}
|
||||
]
|
||||
@@ -1,16 +0,0 @@
|
||||
[
|
||||
{
|
||||
"modid": "extrabees",
|
||||
"name": "Binnie's Extra Bees",
|
||||
"description": "Adds new bees and products to expand the bee breeding in Forestry.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/extrabees/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "binniecore" ]
|
||||
}
|
||||
]
|
||||
@@ -1,9 +1,5 @@
|
||||
package binnie.extratrees;
|
||||
|
||||
import binnie.core.Binnie;
|
||||
import binnie.core.api.genetics.IBreedingSystem;
|
||||
import binnie.extratrees.genetics.MothBreedingSystem;
|
||||
import binnie.extratrees.genetics.TreeBreedingSystem;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
@@ -12,16 +8,20 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
|
||||
import binnie.core.Constants;
|
||||
import binnie.core.Binnie;
|
||||
import binnie.core.BinnieCore;
|
||||
import binnie.core.Constants;
|
||||
import binnie.core.api.genetics.IBreedingSystem;
|
||||
import binnie.core.gui.IBinnieGUID;
|
||||
import binnie.core.modules.BlankModuleContainer;
|
||||
import binnie.core.network.BinniePacketHandler;
|
||||
import binnie.core.proxy.IProxyCore;
|
||||
import binnie.extratrees.block.ModuleBlocks;
|
||||
import binnie.extratrees.config.ConfigurationMain;
|
||||
import binnie.extratrees.core.ExtraTreesGUID;
|
||||
import binnie.extratrees.genetics.MothBreedingSystem;
|
||||
import binnie.extratrees.genetics.TreeBreedingSystem;
|
||||
import binnie.extratrees.proxy.Proxy;
|
||||
import binnie.core.modules.BlankModuleContainer;
|
||||
|
||||
@Mod(
|
||||
modid = Constants.EXTRA_TREES_MOD_ID,
|
||||
@@ -47,6 +47,7 @@ public class ExtraTrees extends BlankModuleContainer {
|
||||
|
||||
@Mod.EventHandler
|
||||
public void preInit(final FMLPreInitializationEvent evt) {
|
||||
container.registerConfigHandler(new ConfigurationMain(container));
|
||||
super.preInit(evt);
|
||||
treeBreedingSystem = new TreeBreedingSystem();
|
||||
mothBreedingSystem = new MothBreedingSystem();
|
||||
|
||||
@@ -1,12 +1,27 @@
|
||||
package binnie.extratrees.config;
|
||||
|
||||
import binnie.core.config.ConfigFile;
|
||||
import binnie.core.config.ConfigProperty;
|
||||
import binnie.core.config.PropBoolean;
|
||||
import java.io.File;
|
||||
|
||||
@ConfigFile(filename = "/config/forestry/extratrees/main.conf")
|
||||
public class ConfigurationMain {
|
||||
@ConfigProperty(key = "lemon.citrus.family", comment = {"Uses reflection to convert the Forestry lemon tree to the Citrus family."})
|
||||
@PropBoolean
|
||||
import net.minecraftforge.common.config.Configuration;
|
||||
|
||||
import binnie.core.modules.IConfigHandler;
|
||||
import binnie.core.modules.IModuleContainer;
|
||||
|
||||
public class ConfigurationMain implements IConfigHandler {
|
||||
public static boolean alterLemon = true;
|
||||
|
||||
private final Configuration config;
|
||||
|
||||
public ConfigurationMain(IModuleContainer container) {
|
||||
this.config = new Configuration(new File(container.getConfigFolder(), "main.cfg"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadConfig() {
|
||||
//TODO: Localise comment
|
||||
alterLemon = config.getBoolean("family", "lemon.citrus", alterLemon, "Uses reflection to convert the Forestry lemon tree to the Citrus family.");
|
||||
if(config.hasChanged()){
|
||||
config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
[
|
||||
{
|
||||
"modid": "extratrees",
|
||||
"name": "Binnie's Extra Trees",
|
||||
"description": "Adds new trees, aesthetic blocks and alcohol production.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/extratrees/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "binniecore" ]
|
||||
}
|
||||
]
|
||||
@@ -1,16 +0,0 @@
|
||||
[
|
||||
{
|
||||
"modid": "genetics",
|
||||
"name": "Binnie's Genetics",
|
||||
"description": "Adds genetic manipulation for bees, trees, butterflies and flowers.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "https://minecraft.curseforge.com/projects/binnies-mods",
|
||||
"updateUrl": "",
|
||||
"authorList": [ "Binnie" ],
|
||||
"credits": "Thanks to Sengir, MysteriousAges, Xizzzy and many others",
|
||||
"logoFile": "/assets/genetics/logo.png",
|
||||
"parent": "",
|
||||
"dependencies": [ "binniecore" ]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user