Skip to content

Added Pie's Guide to KubeJS#95

Open
Hunter19823 wants to merge 7 commits intoKubeJS-Mods:mainfrom
Hunter19823:feat/pies-kubejs-tutorial
Open

Added Pie's Guide to KubeJS#95
Hunter19823 wants to merge 7 commits intoKubeJS-Mods:mainfrom
Hunter19823:feat/pies-kubejs-tutorial

Conversation

@Hunter19823
Copy link
Contributor

@Hunter19823 Hunter19823 commented Feb 7, 2026

This series of tutorial guides are aimed at both technical and beginner individuals.
I wanted to put down my understanding of how KubeJS works today, and provide an in-depth explanation on how to use various tools when making scripts.

@KonSola5
Copy link
Contributor

KonSola5 commented Feb 7, 2026

Cool! But technically the things in JavaScript objects aren't referred to as "fields", they are referred to more as "properties".

From https://rhino.github.io/tutorials/scripting_java/:

Rhino provides another convenience by allowing properties of JavaBeans to be accessed directly by their property names. A JavaBean property foo is defined by the methods getFoo and setFoo. Additionally, a boolean property of the same name can be defined by an isFoo method. For example, the following code actually calls the File object’s getName and isDirectory methods.

js> f.name
test.txt
js> f.directory
false

@Hunter19823 Hunter19823 changed the title Added the Programmer's Guide to KubeJS Part 1 Added Pie's Guide to KubeJS Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants