diff options
Diffstat (limited to 'src/main/java/com/example/ExampleMod.java')
-rw-r--r-- | src/main/java/com/example/ExampleMod.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/example/ExampleMod.java b/src/main/java/com/example/ExampleMod.java index 2ce1671..fc9dd0d 100644 --- a/src/main/java/com/example/ExampleMod.java +++ b/src/main/java/com/example/ExampleMod.java @@ -9,8 +9,7 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent; public class ExampleMod { @Mod.EventHandler public void init(FMLInitializationEvent event) { - System.out.println("Dirt: " + Blocks.dirt.getUnlocalizedName()); - // Below is a demonstration of an access-transformed class access. - System.out.println("Color State: " + new GlStateManager.Color()); + System.out.println("Dirt: " + Blocks.DIRT.getTranslationKey()); + System.out.println("Color State: " + new GlStateManager.Color()); } } |