What are you searching for?

LexForgeFix

LexForgeFix

Allow some mods for MinecraftForge 47.3.10+ run on NeoForge 47.1.x

download 6 Downloads · favorite 1 Followers · Updated 1 month ago
Neoforge Utility 1.20.1

Versions

inventory_2
LexForgeFix 0.1.1

0.1.1 · 1 month ago · 8.04 KB

Release download
Neoforge 1.20.1
inventory_2
LexForgeFix 0.1.0

0.1.0 · 1 month ago · 7.98 KB

Release download
Neoforge 1.20.1

About

MinecraftForge 1.20.1-47.3.10 introduced a new feature: allowing the mod entry class constructor to obtain an FMLJavaModLoadingContext as a parameter, whereas NeoForge 47.1.x at the same time did not support such a mod constructor.

This mod adds the classic parameterless constructor to these mods through bytecode modifications.

Fix these errors:

-- Head --
Thread: Render thread
Stacktrace:
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:109) ~[language-java-47.2.2.jar%23416!/:47.2] {}
-- MOD somemod --
Details:
	Mod File: <.minecraft>/mods/<somemod>-1.20.1-Forge.jar
	Failure message: Some Mod (somemod) has failed to load correctly
		java.lang.RuntimeException: Could not find mod constructor. Allowed optional argument classes: ModContainer, IEventBus, FMLModContainer
	Mod Version: 1.1.4514
	Mod Issue URL: https://example.com/
	Exception message: java.lang.RuntimeException: Could not find mod constructor. Allowed optional argument classes: ModContainer, IEventBus, FMLModContainer
Stacktrace:
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:109) ~[language-java-47.2.2.jar%23416!/:47.2] {}
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:123) ~[core-47.2.2.jar%23415!/:47.2] {re:mixin}
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?] {re:mixin,re:computing_frames}
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?] {re:mixin,re:computing_frames}
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?] {re:mixin}
-- Head --
Thread: Render thread
Stacktrace:
	at java.lang.Class.getConstructor0(Class.java:3761) ~[?:?] {}
-- MOD somemod --
Details:
	Mod File: <.minecraft>/mods/<somemod>-1.20.1-Forge.jar
	Failure message: Some Mod (somemod) has failed to load correctly
		java.lang.NoSuchMethodException: com.example.SomeMod.<init>()
	Mod Version: 0.1.0
	Mod Issue URL: NOT PROVIDED
	Exception message: java.lang.NoSuchMethodException: com.example.SomeMod.<init>()
Stacktrace:
	at java.lang.Class.getConstructor0(Class.java:3761) ~[?:?] {}
	at java.lang.Class.getDeclaredConstructor(Class.java:2930) ~[?:?] {}
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.20.1-47.1.3.jar%23181!/:?] {}
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:123) ~[fmlcore-1.20.1-47.1.3.jar%23180!/:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?] {}
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?] {}
open_in_new View on Modrinth
Categories
Compatibility
Client: Required Server: Required
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.1M
favorite 7,607
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.9M
favorite 13,668
lock Cookie consent

SkinMC uses cookies to provide functionality and features.