/KesseractJS

KesseractJS is an unofficial fork of the 1.16 version of KubeJS

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

KesseractJS

Welcome to the 4th dimension.

cf actions

logo

KesseractJS is a fork of KubeJS, continuing its development for 1.16.5. It backport a lot of different features from the newer versions, and even adds some that are not present at all in the original mod. The latter are documented on a dedicated wiki, and support for those are offered on our discord server, so don't be afraid to ask there.

This mod depends on a modified fork of the Rhino JS parser called Rhizo, please install it before use. We also highly recommend you use ProbeJS Legacy during script development for better IDE support.

This project was made as a collaboration between Hellish Mods, ZZZank, and MundM2007, with the occasional help from Team Potato. Thank you guys <3

Feature showcase

  • Fake mod registration
// In startup_scripts
Platform.registerFakeMod("notarealmodid").displayName("Hello World!")
onEvent('item.registry', event => {
	event.create('notarealmodid:thing')
})

screenshot

  • Backports
// Welcome to the future babyyyy

// Falling block type
onEvent('block.registry', event => {
    event.create('metal_pipe').material('falling')
})
// Custom music discs (https://github.com/KubeJS-Mods/KubeJS/issues/491)
onEvent('item.registry', event => {
    event.create('disc_14').song('jamiroquai:vitrual_insanity')
})
// thickTexture/thinTexture and textureThick/textureThin intercompatibility
onEvent('fluid.registry', event => {
  event.create('you_dont_want_to_know')
    .thickTexture(0xFF0000)
    .textureThick(0xFF0000) // Both methods work!
})
// JsonIO
let data = JsonIO.read('kubejs/data.json')
JsonIO.write('kubejs/data.json', {recursion: data})

// + more!
  • Fixes. Lot of 'em.

screenshot

  • Full drag-and-drop compatability with old Kube scripts
  • Continuous updates. More in the future!

MMLogo