diff options
author | nopo <noahogno@gmail.com> | 2022-08-28 16:06:41 +1000 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-03-30 17:25:12 +0200 |
commit | 1aef08672b5e3dd6ba6b568bd264f59572bcd053 (patch) | |
tree | 8625f0314ab3adf1dccd1e536c684af8a90f64f1 /src/main/java/com/example/ExampleMod.java | |
parent | 188b659cb177075e78a2a8a95395760d5ae7a013 (diff) | |
download | Forge1.8.9Template-1aef08672b5e3dd6ba6b568bd264f59572bcd053.tar.gz Forge1.8.9Template-1aef08672b5e3dd6ba6b568bd264f59572bcd053.tar.bz2 Forge1.8.9Template-1aef08672b5e3dd6ba6b568bd264f59572bcd053.zip |
Added 1.12.2 support
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()); } } |