diff options
author | Linnea Gräf <nea@nea.moe> | 2024-08-08 12:44:50 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-08-08 12:44:50 +0200 |
commit | c1dabe37d8b43d90a682edde797df9b278ec4a47 (patch) | |
tree | 08b712083aa77affee15da3aeaca38d268311eb7 /src/main/java/com | |
parent | b96ba8a968bffc99f8749d13d8b5fc38b0f3f565 (diff) | |
download | forge1.8.9template-c1dabe37d8b43d90a682edde797df9b278ec4a47.tar.gz forge1.8.9template-c1dabe37d8b43d90a682edde797df9b278ec4a47.tar.bz2 forge1.8.9template-c1dabe37d8b43d90a682edde797df9b278ec4a47.zip |
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/example/ExampleMod.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/example/ExampleMod.java b/src/main/java/com/example/ExampleMod.java index c18b591..2ce1671 100644 --- a/src/main/java/com/example/ExampleMod.java +++ b/src/main/java/com/example/ExampleMod.java @@ -1,5 +1,6 @@ package com.example; +import net.minecraft.client.renderer.GlStateManager; import net.minecraft.init.Blocks; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializationEvent; @@ -9,5 +10,7 @@ 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()); } } |