diff options
author | nopo <noahogno@gmail.com> | 2022-08-28 16:06:41 +1000 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-08-08 12:47:39 +0200 |
commit | 85bc2dcafb781e0b6e8b3cc91a7efafd630ae419 (patch) | |
tree | fe3b4245e2ca0b6b7a5804b84286c49628951808 /src/main/java | |
parent | c1dabe37d8b43d90a682edde797df9b278ec4a47 (diff) | |
download | Forge1.8.9Template-1.12.tar.gz Forge1.8.9Template-1.12.tar.bz2 Forge1.8.9Template-1.12.zip |
Added 1.12.2 support1.12
Diffstat (limited to 'src/main/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()); } } |