From ac5bdf4a3ca555fa4638d6fad6b06b9941ad3ba2 Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 18 Dec 2020 20:52:04 +0800 Subject: First version: implemented disabling fish schooling. --- .../com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java (limited to 'src/main/java/com/keuin/ohmyvanillamc/OhMyVanillaMinecraft.java') 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..."); + } +} -- cgit v1.2.3