Information (Read this first!)
Website and FAQ: https://kubejs.latvian.dev/
Discord server: https://discord.gg/bPFfH6P
Forge download: https://www.curseforge.com/minecraft/mc-mods/kubejs
Forge sourceSource and issue tracker: https://github.com/KubeJS-Mods/KubeJS
Forge download: https://www.curseforge.com/minecraft/mc-mods/kubejs-forge
Fabric download: https://www.curseforge.com/minecraft/mc-mods/kubejs-fabric
Fabric source and issue tracker: https://github.com/KubeJS-Mods/KubeJS-Fabric
1.12 versions aren't supported, only 1.15 and up!
How to read Variables and Functions
var x = event.variableName
event.variableName = 10
event.functionName()
Function with no parameters, can be called
functionName(int x, String y)
event.functionName(10, 'abc')
var x = event.variableName
Variable that can only be read but can't be changed
variableName
event.variableName = 10
Variable that can only be changed, but can't be read