summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-04-23 19:56:39 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-04-23 19:56:39 +0100
commit4c3486bbb0663f30f521ec72bbcc9379978e2dad (patch)
treeb71fd2c18a3cf9f287b59f8bd6a38b0d2f8eeca2 /src/main
parent86944c5f99a2388c4b05a2769d757ec077028d88 (diff)
downloadkinniutils-4c3486bbb0663f30f521ec72bbcc9379978e2dad.tar.bz2
Initial bits
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/flarn/antipp/AntiPP.java29
-rw-r--r--src/main/resources/mcmod.info20
2 files changed, 49 insertions, 0 deletions
diff --git a/src/main/java/net/flarn/antipp/AntiPP.java b/src/main/java/net/flarn/antipp/AntiPP.java
new file mode 100644
index 0000000..5bc9eaa
--- /dev/null
+++ b/src/main/java/net/flarn/antipp/AntiPP.java
@@ -0,0 +1,29 @@
+package net.flarn.antipp;
+
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+
+@Mod(modid="AntiPP", name="Anti-Particle Pendant", version="1.7.10-0.0.1")
+public class AntiPP {
+
+ @Mod.Instance("AntiPP")
+ public static Noctis instance;
+
+ @Mod.EventHandler
+ public void preInit(FMLPreInitializationEvent event) {
+ // Network, mod config, items, blocks
+ }
+
+ @Mod.EventHandler
+ public void init(FMLInitializationEvent envent) {
+ // Guis, TileEntity, recipes, etc. (general event handlers)
+ }
+
+ @Mod.EventHandler
+ public void postInit(FMLPostInitializationEvent event) {
+ // After other mods initialise
+ }
+
+}
diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info
new file mode 100644
index 0000000..38c8c79
--- /dev/null
+++ b/src/main/resources/mcmod.info
@@ -0,0 +1,20 @@
+[
+{
+ "modid": "AntiPP",
+ "name": "Anti-Particle Pendant",
+ "description": "'nuff said",
+ "version": "1.7.10-0.0.1",
+ "noversion": "",
+ "url": "",
+ "updateUrl": "",
+ "authorList": [
+ "Daniel Silverstone <dsilvers@digital-scurf.org>"
+ ],
+ "credits": "",
+ "logoFile": "",
+ "screenshots": [],
+ "parent": "",
+ "dependencies": [
+ ]
+}
+]