mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 08:44:25 +00:00
Fix example mod code for 1.7
This commit is contained in:
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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user