Recently Updated Pages

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...

RecipeEventJS

Examples // kubejs/server_scripts/example.js // This is just an example script to show off mult...

Recipes

Moved to RecipeEventJS!

TagEventJS

This event is fired when a tag collection is loaded, to modify it with script. You can add and re...

Custom Blocks

This is a startup script. events.listen('block.registry', function (event) { event.create('te...

REI Integration (Fabric Only)

Hide Items events.listen('rei.hide.items', function (event) { event.hide('example:ingredient'...

JEI Integration

Sub-types events.listen('jei.subtypes', function (event) { event.useNBT('example:item') ev...

Scheduled Server Events

At server load, you can schedule anything to happen at later time. Within callback handler you ca...

Chat Event

This script is peak of human evolution. Whenever someone says "Creeper" in chat, it replies with ...

FTB Quests Integration

events.listen('ftbquests.custom_task.75381f79', function (event) { log.info('Custom task!') ...

String

Class of string objects, such as "abc" (and in JS 'abc' works as well)  Parent Object Variable...

FTB Quests 1.12

So quest width, hide unavailable dependencies in arrows If you complete an optional quest ...

Information (Read this first!)

Website and FAQ: https://kubejs.latvian.dev/ Discord server: https://discord.gg/bPFfH6P Forge ...

EventJS

This event is the most basic event class, parent of all other events. Parent class Object Can ...

Primitive Types

Information Primitive types are objects that don't have a real class and don't inherit methods f...

CommandEventJS

This event needs cleanup! Using it is not recommended. Information This event is fired when a c...

Object

Parent class of all Java objects.  Parent None (and itself at the same time, don't question it)...

Clearlag

This script removes all items from world every 30 minutes. Only works in 1.12. // Create item wh...

FTB Utilities Rank Promotions

With this script you can have FTB Utilities roles that change over time. Is for 1.12 only. Requi...

Custom Items

// Listen to block registry event events.listen('item.registry', function (event) { // The te...