summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-12-18 20:52:04 +0800
committerKeuin <[email protected]>2020-12-18 20:52:04 +0800
commitac5bdf4a3ca555fa4638d6fad6b06b9941ad3ba2 (patch)
treec995e65c2619e707260fb9a04500fb5cc25b031c /src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java
parentdc20a92e15d43bc87a97fc418475870311f300c2 (diff)
First version: implemented disabling fish schooling.
Diffstat (limited to 'src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java')
-rw-r--r--src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java b/src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java
new file mode 100644
index 0000000..c1dc4af
--- /dev/null
+++ b/src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java
@@ -0,0 +1,17 @@
+package com.keuin.ohmyvanillamc;
+
+import net.fabricmc.api.ModInitializer;
+
+public class OhMyVanillaMinecraft implements ModInitializer {
+
+ public static boolean disableFishSchooling = true;
+
+ @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("OhMyVanillaMinecraft is loading...");
+ }
+}