Search Filters
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

36 total results found

KubeJS

EventJS

KubeJS Events

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

Loot Table Modification (WIP)

KubeJS Examples

onEvent('block.loot_tables', event => { event.addSimpleBlock('minecraft:dirt', 'minecraft:r...

REI Integration (Fabric Only)

KubeJS Examples

Hide Items onEvent('rei.hide.items', event => { event.hide('example:ingredient') }) Add ...

TagEventJS

KubeJS Events

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

CommandEventJS

KubeJS Events

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

Recipes

KubeJS Examples

Moved to RecipeEventJS!

Custom Blocks

KubeJS Examples

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

Scheduled Server Events

KubeJS Examples

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

Chat Event

KubeJS Examples

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

FTB Quests Integration

KubeJS Examples

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

String

KubeJS Classes

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

Information (Read this first!)

KubeJS

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

Primitive Types

KubeJS Classes

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

KubeJS

This wiki is still very much work in progress! Feel free to suggest changes in #kubejs-and-code D...

Object

KubeJS Classes

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

FTB Utilities Rank Promotions

KubeJS Examples

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

Custom Items

KubeJS Examples

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

Starting Items

KubeJS Examples

This script adds items on first time player joins, checking gamestages Requires GameStages mod! ...

Network Packets

KubeJS Examples

This script shows how to use network packets: // Listen to a player event, in this case item rig...

Reflection

KubeJS Examples

Very limited reflection is possible, but is not recommended. Use it in cases, when mod doesn't ha...

Examples

KubeJS

Example scripts for various things you can do with KubeJS

Events

KubeJS

Events that get fired during game to control recipes, world, etc.

Classes

KubeJS

Available fields and methods and examples on how to use them

Global

KubeJS

Constants, classes and functions

Mod to-do

FTB Mods

Changing Window Title and Icon

KubeJS Examples

Yes, you can do that with KubeJS too. To change title, all you have to do is change title in kub...