I'm creating a minecraft mod that uses JRuby to run my scripts inside the mod. It runs perfectly in the eclipse, but only in it. If I compile the mod or run it by gradlew runClient
it does not work, it results in this error:
org.jruby.embed.InvokeFailedException: (NameError) cannot load Java class net.minecraf.block.material.Material
All errors are related to minecraft api.
What can I do to resolve this error?