RubyCore is a easy way to create mods for minecraft using ruby.
FAQ
What the mods i can create?
You can access all Java, Minecraft, Forge Api using ruby, so, feel free to create!
Can I use gems?
Sure, but the gems need to be all in Ruby, native gems(C language) don’t work because the framework has written in Ruby/Java.
Can I create gems for others moders?
Yes, please.
Can i use other dev mods(BuildCraft, IndustrialCraft, etc)
I don't know :D, but i believe than yes.
Can i use java in my mod?
Yes.
Why Ruby?
Ruby is a awesome language is made for humans not for machines, is easy to learn and write code, you can create everything with ruby, desktop and mobile apps, web servers, etc, so why not we can create mods for Minecraft?
So, don't be lazy, so, download the RubyCore and:
Geting started:
Develop a mod using RubyCore is very similar with a normal forge mod.
First, download the last version of Rubycore, unpack the zip in any folder, run the command 'gradlew setupdecompworkspace'.
Run the command 'gradlew runClient' for start minecraft
If you want to mix java code with your mod you can use eclipe for this, just run the command "gradlew eclipse" and open the project on eclipse.
You code will be in the “src/main/resources/mod” folder (ruby only) the main file of your mod need to contain the prefix “mod_”, ex: mod_newSword.rb
Create a mod using RubyCore is easy:
class TutorialMod #create a class
def pre_init #like a nomal forge mod
@block = QuickBlock.new(Material.wood) #QuickBlock is a class to create blocks more easily
@block.setUnlocalizedName("tutorial_block")# normal
@block.setCreativeTab(CreativeTabs.tabBlocks)# normal
GameRegistry.registerBlock(@block, "tutorial_block")
end
end
add_mod(TutorialMod, "Tutorial Mod", "0.1") # tells to rubycore that your mod exist
Thanks for updating it.Even I was also searching for this type of solution.I have another correlated query in this regard that I am missing the encryption key to decry pt file in Ruby and an error displays out when I am trying to login in office 365 login in my hp laptop "Activation error".Guide us if anything we have to add on .
RubyCore | Download
RubyCore is a easy way to create mods for minecraft using ruby.
FAQ
What the mods i can create?
You can access all Java, Minecraft, Forge Api using ruby, so, feel free to create!
Can I use gems?
Sure, but the gems need to be all in Ruby, native gems(C language) don’t work because the framework has written in Ruby/Java.
Can I create gems for others moders?
Yes, please.
Can i use other dev mods(BuildCraft, IndustrialCraft, etc)
I don't know :D, but i believe than yes.
Can i use java in my mod?
Yes.
Why Ruby?
Ruby is a awesome language is made for humans not for machines, is easy to learn and write code, you can create everything with ruby, desktop and mobile apps, web servers, etc, so why not we can create mods for Minecraft?
So, don't be lazy, so, download the RubyCore and:
Geting started:
Develop a mod using RubyCore is very similar with a normal forge mod.
First, download the last version of Rubycore, unpack the zip in any folder, run the command 'gradlew setupdecompworkspace'.
Donwload the 'jruby-complete.jar' and puts in the 'libs/' folder
Run the command 'gradlew runClient' for start minecraft
If you want to mix java code with your mod you can use eclipe for this, just run the command "gradlew eclipse" and open the project on eclipse.
You code will be in the “src/main/resources/mod” folder (ruby only) the main file of your mod need to contain the prefix “mod_”, ex: mod_newSword.rb
Create a mod using RubyCore is easy:
Full documentation
You can find the code on Github:https://github.com/btripoloni/RubyCore Fork, Star and wach the repositories to get the new updates
Please Comment and say any questions that you have.
Thanks, Bruno Tripoloni.
Cool now i can be not lazy
Thanks for updating it.Even I was also searching for this type of solution.I have another correlated query in this regard that I am missing the encryption key to decry pt file in Ruby and an error displays out when I am trying to login in office 365 login in my hp laptop "Activation error".Guide us if anything we have to add on .