What does this mod do?
How to use it?
Run the game with mod installed once. It should generate
kubejs folder in your minecraft directory with example scripts and README.txt. Read that!
Here's a video tutorial for 1.19.2:
There's examples and pre-made scripts here. And you can always ask in discord support channel for help with scripts, but be specific.
Can I reload scripts?
/reload to reload
F3 + T to reload
/kubejs reload startup_scripts to reload
startup_scripts/. If you don't care about reloading recipes but are testing some world interaction event, you can run
/kubejs reload server_scripts. Note: Not everything is reloadable. Some things require you to restart game, some only world, some work on fly. Reloading startup scripts is not recommended, but if you only have event listeners, it shouldn't be a problem.
What mod recipes does it support / is mod X supported?
If the mod uses datapack recipes, then it's supported by default. Some more complicated mods require addon mods, but in theory, still would work with datapack recipes. See Recipes section for more info.
What features does this mod have?
The feature list would go here if I actually wrote it. But basically, editing and creating recipes, tags, items, blocks, fluids, worldgen. Listening to chat, block placement, etc. events. Just look at the event list on Wiki.
How does this mod work?
Ok, but what if it.. doesn't work?
You can report issues here.
I have more questions/suggestions!
Source and issue tracker: https://github.com/KubeJS-Mods/KubeJS
Anything below 1.16 is no longer supported!