blob: fc9dd0da068caae3feb35b8e756c3ba0907412dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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;
@Mod(modid = "examplemod", useMetadata=true)
public class ExampleMod {
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
System.out.println("Dirt: " + Blocks.DIRT.getTranslationKey());
System.out.println("Color State: " + new GlStateManager.Color());
}
}
|