mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fork me in the glass
I have no idea what I'm doing
This commit is contained in:
parent
2512ed9151
commit
3085b3c7dc
20
src/main/java/com/example/examplemod/ExampleMod.java
Normal file
20
src/main/java/com/example/examplemod/ExampleMod.java
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
package com.example.examplemod;
|
||||||
|
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
|
||||||
|
@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION)
|
||||||
|
public class ExampleMod
|
||||||
|
{
|
||||||
|
public static final String MODID = "examplemod";
|
||||||
|
public static final String VERSION = "1.0";
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event)
|
||||||
|
{
|
||||||
|
// some example code
|
||||||
|
System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user