Jump to content

Modding in java?

Recommended Posts

Hi, I started with a mod creation using Lua scripting (started with Robomat's tutorial and continued studying with some open sourced mods). It works, but the Lua scripting is not enough for my current needs (especially not the 10 years old Kahlua version, which can't call any I/O methods, can't import Lua modules like math etc. Or at least I tested it and couldn't). I also studied Java documentation / java modding doc and Lua Events list (very old) - and it is a real struggle to go through it if there are no comments and no (or little) explanation and can't get even method signatures... Maybe I am doing something wrong?


But the main question: is there, please, any way to start modding in Java? Can't find any tutorials for that (only old ones giving error 404), but I've read in the forums it is (or was) possible.

Thank you in advance.


PS: Or alternatively, do you know how could I use Lua modules like [require "math"]? If yes, that would be enough :-) Thanks in advance to anyone who responses!

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...