Where communities thrive
your own community
Explore more communities
A Minecraft mod so dedicated to Rubies and Crystals, it's written in Ruby!
I see minecraft LOVES JRuby, doesn't it? XD
It's slightly harder to do JRuby because all the actual code is interpreted and executed at Minecraft runtime.
As opposed to almost any other JVM language which is compiled directly, so missing fields and methods are easily noticed.
Yeah, from what I understand, JRuby creates a java class with the description as specified in the ruby source, but the logic itself is in an internal script?
Why complicate that much? Can't it interpret the ruby code directly?
So it generates Java source classes that contain all the classes and functions that the Ruby files have but the actually code is like a string that gets executed by JRuby itself.
Here is the latest Java source version of Rubycraft