aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/dulkirmod/DulkirMod.java
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-09-23 05:01:47 -0500
committeringle <inglettronald@gmail.com>2022-09-23 05:01:47 -0500
commitadd142c970d52d33e731fb3a30605a5ef1f128bd (patch)
tree5cad6bf99e2453481f3cbba220cbe6491b4ce625 /src/main/java/com/dulkirmod/DulkirMod.java
parent033de65a180b64fc645036d142589f57956ea263 (diff)
downloadDulkirMod-add142c970d52d33e731fb3a30605a5ef1f128bd.tar.gz
DulkirMod-add142c970d52d33e731fb3a30605a5ef1f128bd.tar.bz2
DulkirMod-add142c970d52d33e731fb3a30605a5ef1f128bd.zip
Nothing works yet :+1:
Diffstat (limited to 'src/main/java/com/dulkirmod/DulkirMod.java')
-rw-r--r--src/main/java/com/dulkirmod/DulkirMod.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/com/dulkirmod/DulkirMod.java b/src/main/java/com/dulkirmod/DulkirMod.java
new file mode 100644
index 0000000..07117c4
--- /dev/null
+++ b/src/main/java/com/dulkirmod/DulkirMod.java
@@ -0,0 +1,22 @@
+package com.dulkirmod;
+
+import com.dulkirmod.commands.Commands;
+import net.minecraft.init.Blocks;
+import net.minecraftforge.fml.common.Mod;
+import net.minecraftforge.fml.common.event.FMLInitializationEvent;
+import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
+
+@Mod(modid = "dulkirclient", version = "1.0.0")
+public class DulkirMod {
+ public Commands commands;
+
+ @Mod.EventHandler
+ public void init(FMLInitializationEvent event) {
+ System.out.println("Dirt: " + Blocks.dirt.getUnlocalizedName());
+ }
+
+ @Mod.EventHandler
+ public void preinit(FMLPreInitializationEvent event) {
+ this.commands = new Commands();
+ }
+}