Skip to content

Instantly share code, notes, and snippets.

@azenla
Last active December 17, 2015 15:29
Show Gist options
  • Select an option

  • Save azenla/5632003 to your computer and use it in GitHub Desktop.

Select an option

Save azenla/5632003 to your computer and use it in GitHub Desktop.
Groovy Forge Container
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