diff --git a/gradle.properties b/gradle.properties index 23581ea6..926aab6f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ fabric_api_version=0.100.1+1.21 mod_menu_version=11.0.0-beta.1 forge_version=49.0.3 -neoforge_version=21.0.0-beta +neoforge_version=21.0.114-beta neoforge_pr= curseforge_id=348521 diff --git a/neoforge/src/main/java/me/shedaniel/clothconfig/ClothConfigForgeDemo.java b/neoforge/src/main/java/me/shedaniel/clothconfig/ClothConfigForgeDemo.java index dc5b1841..c7bb9869 100644 --- a/neoforge/src/main/java/me/shedaniel/clothconfig/ClothConfigForgeDemo.java +++ b/neoforge/src/main/java/me/shedaniel/clothconfig/ClothConfigForgeDemo.java @@ -25,7 +25,7 @@ public class ClothConfigForgeDemo { public static void registerModsPage() { - ModLoadingContext.get().registerExtensionPoint(IConfigScreenFactory.class, () -> (client, parent) -> { + ModLoadingContext.get().registerExtensionPoint(IConfigScreenFactory.class, () -> (container, parent) -> { return ClothConfigDemo.getConfigBuilderWithDemo().setParentScreen(parent).build(); }); } diff --git a/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/neoforge/src/main/resources/META-INF/neoforge.mods.toml index 4052842d..6bcc0632 100644 --- a/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -17,6 +17,6 @@ An API for config screens. [[dependencies.cloth_config]] modId = "neoforge" type = "required" -versionRange = "[20.5.0-alpha.24w14a,)" +versionRange = "[21.0.110-beta,)" ordering = "NONE" side = "BOTH"