From 3d91fd7897209f24c172f25fe4331fcda156001d Mon Sep 17 00:00:00 2001 From: Adrian Siekierka Date: Sat, 3 Nov 2018 23:22:32 +0100 Subject: first commit --- src/main/java/net/fabricmc/example/ExampleMod.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/java/net/fabricmc/example/ExampleMod.java (limited to 'src/main/java/net/fabricmc/example/ExampleMod.java') diff --git a/src/main/java/net/fabricmc/example/ExampleMod.java b/src/main/java/net/fabricmc/example/ExampleMod.java new file mode 100644 index 0000000..e5ed082 --- /dev/null +++ b/src/main/java/net/fabricmc/example/ExampleMod.java @@ -0,0 +1,14 @@ +package net.fabricmc.example; + +import net.fabricmc.api.ModInitializer; + +public class ExampleMod implements ModInitializer { + @Override + public void onInitialize() { + // This code runs as soon as Minecraft is in a mod-load-ready state. + // However, some things (like resources) may still be uninitialized. + // Proceed with mild caution. + + System.out.println("Hello Fabric world!"); + } +} -- cgit v1.2.3