Why patched Minecraft jars is needed
Forge/NeoForge have heavily patched Minecraft classes, the most common patches are adding new methods with more params and deprecating the vanilla one. For Forge/NeoForge mods, using these patched method is the best practice for the sake of compatibility, so it's important to provide the patched code for the agent.
How should patched Minecraft jars work
Patched Minecraft jars should work as different versions of Minecraft, and the version will be provided by the user upon introducing the jar with decompile_minecraft_version (since loader version can't be inferred from the patched jar), the conventional version schema could be <mc version>-<loader>-<loader version>.
Current workaround without patched Minecraft jar support
While not intuitive, agents could be told to use the mod jar tools to decompile and search patched Minecraft code since these tools supports local jars.
Why patched Minecraft jars is needed
Forge/NeoForge have heavily patched Minecraft classes, the most common patches are adding new methods with more params and deprecating the vanilla one. For Forge/NeoForge mods, using these patched method is the best practice for the sake of compatibility, so it's important to provide the patched code for the agent.
How should patched Minecraft jars work
Patched Minecraft jars should work as different versions of Minecraft, and the
versionwill be provided by the user upon introducing the jar withdecompile_minecraft_version(since loader version can't be inferred from the patched jar), the conventional version schema could be<mc version>-<loader>-<loader version>.Current workaround without patched Minecraft jar support
While not intuitive, agents could be told to use the mod jar tools to decompile and search patched Minecraft code since these tools supports local jars.