Fix example mod code for 1.7

This commit is contained in:
Christian committed 2013-12-28 13:44:37 -05:00
1 parent 53a1f98414
commit 6a5f9e135f
1 file changed
+2 -2
@@ -1,6 +1,6 @@
package com.example.examplemod;
import net.minecraft.block.Block;
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;
@@ -15,6 +15,6 @@ public class ExampleMod
public void init(FMLInitializationEvent event)
{
// some example code
System.out.println("DIRT BLOCK >> "+Block.dirt.getUnlocalizedName());
System.out.println("DIRT BLOCK >> "+Blocks.dirt.func_149739_a());
}
}