summaryrefslogtreecommitdiff
path: root/forge-1.10.2-12.18.3.2281-mdk/src
diff options
context:
space:
mode:
authorLance5057 <Lance5057@gmail.com>2017-08-22 01:35:44 -0500
committerLance5057 <Lance5057@gmail.com>2017-08-22 01:35:44 -0500
commit6af565ab07a802518345df7f06772df56f6e205f (patch)
tree22583ec6d1b519eba68e0471e90f310f249819f0 /forge-1.10.2-12.18.3.2281-mdk/src
parentae504d76e9cc77465978cea71759f85d55c7e0da (diff)
1.4.1.1a update
Diffstat (limited to 'forge-1.10.2-12.18.3.2281-mdk/src')
-rw-r--r--forge-1.10.2-12.18.3.2281-mdk/src/main/java/com/example/examplemod/ExampleMod.java20
-rw-r--r--forge-1.10.2-12.18.3.2281-mdk/src/main/resources/mcmod.info16
2 files changed, 36 insertions, 0 deletions
diff --git a/forge-1.10.2-12.18.3.2281-mdk/src/main/java/com/example/examplemod/ExampleMod.java b/forge-1.10.2-12.18.3.2281-mdk/src/main/java/com/example/examplemod/ExampleMod.java
new file mode 100644
index 0000000..f01de14
--- /dev/null
+++ b/forge-1.10.2-12.18.3.2281-mdk/src/main/java/com/example/examplemod/ExampleMod.java
@@ -0,0 +1,20 @@
+package com.example.examplemod;
+
+import net.minecraft.init.Blocks;
+import net.minecraftforge.fml.common.Mod;
+import net.minecraftforge.fml.common.Mod.EventHandler;
+import net.minecraftforge.fml.common.event.FMLInitializationEvent;
+
+@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION)
+public class ExampleMod
+{
+ public static final String MODID = "examplemod";
+ public static final String VERSION = "1.0";
+
+ @EventHandler
+ public void init(FMLInitializationEvent event)
+ {
+ // some example code
+ System.out.println("DIRT BLOCK >> "+Blocks.DIRT.getUnlocalizedName());
+ }
+}
diff --git a/forge-1.10.2-12.18.3.2281-mdk/src/main/resources/mcmod.info b/forge-1.10.2-12.18.3.2281-mdk/src/main/resources/mcmod.info
new file mode 100644
index 0000000..f480667
--- /dev/null
+++ b/forge-1.10.2-12.18.3.2281-mdk/src/main/resources/mcmod.info
@@ -0,0 +1,16 @@
+[
+{
+ "modid": "examplemod",
+ "name": "Example Mod",
+ "description": "Example placeholder mod.",
+ "version": "${version}",
+ "mcversion": "${mcversion}",
+ "url": "",
+ "updateUrl": "",
+ "authorList": ["ExampleDude"],
+ "credits": "The Forge and FML guys, for making this example",
+ "logoFile": "",
+ "screenshots": [],
+ "dependencies": []
+}
+]