KubeJS
This wiki is for KubeJS 6+, for Minecraft versions 1.19.2+. This wiki still is incomplete, so you may fallback to 1.18.2 one, see KubeJS Legacy page.
Intro
FAQ
What does this mod do? This mod lets you create scripts in JavaScript language to manage your se...
Features
Here's a list of all documented (and sometimes undocumented) features that I can remember: [Fu...
Global
Primitive prototype additions String#namespace: String - namespace part of namespaced string, ...
Events
List of Events
This is a list of all events. It's possible that not all events are listed here, but this list wi...
Recipes
This page is still under development. It is not complete, and subject to change at any time. The...
Tags
The tag event is a server event. Tags are per item/block/fluid/entity_type and as such cannot be...
Custom Items
The custom item event is a startup event. Custom items are created in a startup script. They can...
Item modification
Item modification is a startup event. ItemEvents.modification is a startup script event used to ...
Custom Blocks
This is a startup script, meaning that you will need to restart your game each time you want to m...
Block Modification
The block modification event is a startup event. BlockEvents.modification event is a startup scr...
Custom Tiers
The custom tier event is a startup event. You can make custom tiers for armor and tools in a sta...
Worldgen
General Notes Biome Filters: Biome filters work similarly to recipe filters and can be used to ...
Examples
Other
Default Options
You can ship default options from options.txt with KubeJS. This includes keybindings, video setti...
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...
Loading Assets and Data
You can also use KubeJS to load assets from resource packs and data from datapacks! While this is...
Changing Mod Display Names
Yes, it's cursed, but possible! In a startup script, add this line: Platform.mods.kubejs.name =...
KubeJS 6.1 Update
For script and pack developers Scheduled events now take in durations (especially strings such...
Addons
KubeJS UI
Download: CurseForge No info yet!
KubeJS Create
Download: CurseForge, Modrinth The example scripts are only here to demonstrate the recipes. The...
KubeJS Thermal
Download: CurseForge, Modrinth This info is currently incomplete! Supported recipe types: - fu...
KubeJS Mekanism
Download: CurseForge, Modrinth No info yet!
KubeJS Immersive Engineering
Download: CurseForge, Modrinth No info yet!
KubeJS Blood Magic
Download: CurseForge No info yet!
KubeJS Tinkers Construct
Download: CurseForge No info yet!
PonderJS
Download: CurseForge No info yet!
LootJS
Download: CurseForge, Modrinth No info yet!
ProbeJS
Download: CurseForge No info yet!
KubeJS Additions
Download: CurseForge, Modrinth No info yet! For more information please see the project's Githu...
MoreJS
Download: CurseForge No info yet!
PowerfulJS
Download: CurseForge No info yet!
beJS
Download: CurseForge The custom BlockEntity event is a startup event. Block Entities Custom ...
ScreenJS
Download: CurseForge The custom ContainerMenu event is a startup event. Custom Container menus ...
KubeJS REI Runtime
Download: Curseforge Modrinth KubeJS REI Runtime lets you show/hide items in REI dynamically, it...
KubeJS Botany Pots
Download: Curseforge Modrinth This mod allows you to create crops, soils, and fertilizers for th...
KubeJS Ars Nouveau
Download: Curseforge, Modrinth This addon allows you to create recipes for the mod Ars Nouveau ...
KubeJS ProjectE
Download: Curseforge, Modrinth Lets you set the EMC values of items and the Philosopher's Stone ...
KubeJS Powah
Download: Curseforge Modrinth Allows you to create Energizing Orb recipes from the Powah mod. ...
KJSPKG
KJSPKG is a package manager for KubeJS that can allow you to download different example scripts a...
KubeJS Offline Documentation
Dynamic Documentation in a single html page. Download: Curseforge, Modrinth KubeJS Offline is a...
KubeJS Farmers Delight
Download: Curseforge Example: Startup Scripts: StartupEvents.registry("block", event => { e...
KubeJS Industrial Foregoing
Download: Curseforge This lets you modify and create various recipes for Industrial Foregoing S...