Error getting project using forge method


This is a plug-in I wrote myself,
I called forge’s config in this plug-in,
It works very well.
And I’m using it on the server right now,
There were no errors.

Ok. Glad it works well.

How come you have 2 if statement with the same lines in the query? Would it not be better to put the result if the first if statement inside the second before the try?

Also how come your using Forge’s configuration?


I forgot to change the two if statements
You see, I call the forge method in the plug-in of Sponge.
It works very well!
I don’t understand. Why other methods can be used, but item method can’t

Thats forge methods though, not minecraft, therefore there is no remappings required for it to run on the server

I also have a method call for minecraft, which still doesn’t make any mistakes.

Im not seeing the minecraft code reference.

Just seen your edits on your post above.
You can use minecraft code, you just need to build your plugin with gradle to use them (same with regular forge mods)

My question is: other plug-ins call methods without any problems, and my plug-in call will have problems.
I don’t think it’s a work environment issue.

However, I still thank you very much for your kind help! Thank you

Believe me, ive been working with many plugins developers, each time I see regular minecraft names with “class not found exception” or something similar, its what I tell them and always works.

Even on sponge docs, forge docs, etc it says to build your plugin with maven or gradle build to solve the MCP issues.

Sorry for the late reply. Had a spider and my girlfriend running around shouting “get rid of it”

1 Like

I see. I’ll test it.
Thank you very much for your advice