Page not found
Sorry, The page you were looking for could not be found.
If you expected this page to exist, you might not have permission to view it.
Popular Pages
List of Events
This is a list of all events. It's possible that not all events are listed here, but this list wi...
RecipeEventJS
Examples The most basic script to add a single recipe: onEvent('recipes', event => { event.s...
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 Blocks
This is a startup script. onEvent('block.registry', event => { event.create('test_block') ...
Recipes
This page is still under development. It is not complete, and subject to change at any time. The...
Custom Items
This is a startup_scripts/ event // Listen to item registry event onEvent('item.registry', even...
TagEventJS
This event is fired when a tag collection is loaded, to modify it with script. You can add and re...
Migrating to KubeJS 6
This page is still being worked on, so if some info is missing, please check back later! What's ...
Intro
FAQ What does this mod do? This mod lets you create scripts in JavaScript language to manage yo...
Custom Items
The custom item event is a startup event. Custom items are created in a startup script. They can...
Popular Chapters
Events
Events that get fired during game to control recipes, world, etc.
Examples
Example scripts for various things you can do with KubeJS
Events
Addons
Intro
Examples
Classes
Available fields and methods and examples on how to use them
Other
Getting Started
A step by step guide for learning the basics of KubeJS
Global
Constants, classes and functions