Code runs in eclipse but not when compiling

0

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?

    
asked by anonymous 27.07.2015 / 19:32

0 answers