I'm trying to convert the Expanded Origins addon (https://www.curseforge.com/minecraft/mc-mods/origins-plus) from Fabric to Forge for the Monke origin, but I'm having some trouble with it, as I know next to nothing about programming. So far, what I did was move most of the files from Expanded Origins to a forge Origins addon that I almost completely cleared out, since a good chunk of the code is identical. This kind of worked, as most of the abilities stuck around, but the main ability (grappling) won't work since it requires a few .CLASS files that aren't coded the same way forge is. After finding what I believe to be one of the main files for the grapple, I compared the files for forge Origins to the files for fabric Origins, and found that the key difference was that in the lines with "import net.minecraft.class_xxxx", the "class_xxxx" was replaced with the forge counterpart (usually entity.something, util.something, or network.something). This was also true for field_xxxx and method_xxxx. Currently, my main issue is that I can't test the changes since in order to edit the code, I had to convert it to .java, and now whenever I try to convert it back to .CLASS, it gives me this error message:
I am using Eclipse IDE to edit the files. Also this is the code I am trying to convert, followed by the edited mod:
mod:
https://www.dropbox.com/s/5447brs1zquzebw/Expanded Origins Forge.jar?dl=0