--- /dev/null
+package com.example.examplemod;
+
+import net.minecraft.init.Blocks;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.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());
+ }
+
+ public void test()
+ {
+
+ }
+}
--- /dev/null
+[
+{
+ "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": []
+}
+]