Recently Updated Pages
Global
Primitive prototype additions String#namespace: String - namespace part of namespaced string, ...
PowerfulJS
Download: CurseForge No info yet!
KubeJS Tinkers Construct
Download: CurseForge No info yet!
KubeJS Blood Magic
Download: CurseForge No info yet!
MoreJS
Download: CurseForge No info yet!
ProbeJS
Download: CurseForge No info yet!
PonderJS
Download: CurseForge No info yet!
KubeJS UI
Download: CurseForge No info yet!
Loading Assets and Data
You can also use KubeJS to load assets from resource packs and data from datapacks! While this is...
Changing Window Title and Icon
Yes, you can do that with KubeJS too. To change title, all you have to do is change title in kub...
Default Options
You can ship default options from options.txt with KubeJS. This includes keybindings, video setti...
Loading Assets and Data
You can also use KubeJS to load assets from resource packs and data from datapacks! While this is...
Your First Script
Writing Your First Script If you have launched the game at least once before you will find kubej...
Item and Ingredient
When making recipes you can specify items in many ways, the most common is just to use 'namspace:...
Worldgen Events
These following examples will only work on 1.18+! If you need examples for 1.16, you can look her...
TagEventJS
This event is fired when a tag collection is loaded, to modify it with script. You can add and re...
List of all events
This is a list of all events. It's possible that not all events are listed here, but this list wi...
Custom Items
This is a startup_scripts/ event // Listen to item registry event onEvent('item.registry', even...
REI Integration
Note: REI integration only works on Fabric in 1.16. In 1.18+, it works on both Forge and Fabric! ...
Datapack Load Events
You can load json datapack files programmatically! onEvent('server.datapack.first', event => { ...