diff --git a/gradle.properties b/gradle.properties index 9cbd82a..6fc2b55 100644 --- a/gradle.properties +++ b/gradle.properties @@ -32,7 +32,7 @@ mod_name=MC-122477 Fix # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=MIT # The mod version. See https://semver.org/ -mod_version=1.0.0 +mod_version=1.1.2 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/me/recursiveg/Mc122477Fix.java b/src/main/java/me/recursiveg/Mc122477Fix.java index fa2e4f8..e75f0d0 100644 --- a/src/main/java/me/recursiveg/Mc122477Fix.java +++ b/src/main/java/me/recursiveg/Mc122477Fix.java @@ -2,16 +2,16 @@ import net.minecraft.client.gui.screens.ChatScreen; import net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen; -import net.minecraftforge.client.event.ScreenEvent; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.TickEvent; -import net.minecraftforge.eventbus.api.SubscribeEvent; -import net.minecraftforge.fml.common.Mod; +import net.neoforged.bus.api.SubscribeEvent; +import net.neoforged.fml.common.Mod; +import net.neoforged.neoforge.client.event.ScreenEvent; +import net.neoforged.neoforge.common.NeoForge; +import net.neoforged.neoforge.event.TickEvent; @Mod("mc122477fix") public class Mc122477Fix { public Mc122477Fix() { - MinecraftForge.EVENT_BUS.register(this); + NeoForge.EVENT_BUS.register(this); } long renderTicksSinceScreenOpen = 0;