Skip to content

Commit

Permalink
Update NeoForge
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Aug 17, 2024
1 parent b0ed8c1 commit a23701e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build-neoforge.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'eclipse'
id 'idea'
id 'maven-publish'
id 'net.neoforged.gradle.userdev' version '7.0.142'
id 'net.neoforged.gradle.userdev' version '7.0.145'
}

version = project.modVersion
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ forgeVersion=51.0.8
forgeLoaderVersion=[51,)

neoMcVersion=1.21
neoVersion=21.0.0-beta
neoVersion=21.0.167
neoLoaderVersion=[4,)

fabricMcVersion=1.21
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/yalter/mousetweaks/neoforge/ClientHelper.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package yalter.mousetweaks.neoforge;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.screens.Screen;
import net.neoforged.fml.ModContainer;
import net.neoforged.neoforge.client.gui.IConfigScreenFactory;
import yalter.mousetweaks.ConfigScreen;

Expand All @@ -11,7 +11,7 @@
*/
public class ClientHelper implements IConfigScreenFactory {
@Override
public Screen createScreen(Minecraft minecraft, Screen screen) {
return new ConfigScreen(screen);
public Screen createScreen(ModContainer container, Screen modListScreen) {
return new ConfigScreen(modListScreen);
}
}

0 comments on commit a23701e

Please sign in to comment.