diff options
author | nea <romangraef@gmail.com> | 2022-07-21 19:46:41 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-07-21 19:46:41 +0200 |
commit | 5bbf027f32f3ea68ff4193f73f780316599ab59d (patch) | |
tree | d2c6f075ff7b853566fa7e5dd01dda984ea40a6c /src/main/java/com/example/ExampleMod.java | |
download | Forge1.8.9Template-5bbf027f32f3ea68ff4193f73f780316599ab59d.tar.gz Forge1.8.9Template-5bbf027f32f3ea68ff4193f73f780316599ab59d.tar.bz2 Forge1.8.9Template-5bbf027f32f3ea68ff4193f73f780316599ab59d.zip |
Initial commit
Diffstat (limited to 'src/main/java/com/example/ExampleMod.java')
-rw-r--r-- | src/main/java/com/example/ExampleMod.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/com/example/ExampleMod.java b/src/main/java/com/example/ExampleMod.java new file mode 100644 index 0000000..0e6967a --- /dev/null +++ b/src/main/java/com/example/ExampleMod.java @@ -0,0 +1,13 @@ +package com.example; + +import net.minecraft.init.Blocks; +import net.minecraftforge.fml.common.Mod; +import net.minecraftforge.fml.common.event.FMLInitializationEvent; + +@Mod(modid = "examplemod", version = "1.0.0") +public class ExampleMod { + @Mod.EventHandler + public void init(FMLInitializationEvent event) { + System.out.println("Dirt: " + Blocks.dirt.getUnlocalizedName()); + } +} |