Skip to content

Commit

Permalink
update code for 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RecursiveG committed May 19, 2024
1 parent 2443207 commit df2796f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/me/recursiveg/Mc122477Fix.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit df2796f

Please sign in to comment.