Last active
December 17, 2015 15:29
-
-
Save azenla/5632003 to your computer and use it in GitHub Desktop.
Groovy Forge Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package mods.groovyforge; | |
| import cpw.mods.fml.common.DummyModContainer; | |
| import cpw.mods.fml.common.LoadController; | |
| import cpw.mods.fml.common.Loader; | |
| import cpw.mods.fml.common.ModMetadata; | |
| import net.minecraftforge.event.EventBus; | |
| import java.util.ArrayList; | |
| public class GroovyForgeContainer extends DummyModContainer { | |
| private static ArrayList<String> authors = new ArrayList<>(); | |
| public GroovyForgeContainer() { | |
| super(new ModMetadata()); | |
| authors.add("Kenneth Endfinger"); | |
| ModMetadata metadata = super.getMetadata(); | |
| metadata.modId = "GroovyForgeCore"; | |
| metadata.name = "GroovyForge Core"; | |
| metadata.description = "GroovyForge Core is a coremod that makes GroovyForge possible"; | |
| metadata.version = "0.1"; | |
| metadata.authorList = authors; | |
| } | |
| @Override | |
| public boolean registerBus(EventBus bus, LoadController controller) { | |
| bus.register(this); | |
| return true; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment