Skip to content
YukkuriC edited this page Sep 5, 2026 · 1 revision

The HexJS Object: entry of all

The object is bound globally, like common KubeJS plugins; it's possible to access it wherever on top script scope as a global property.

Contents

Basic contents

All stuff inside Contents section are directly attached on HexJS, both with and without JS postfix. For example, HexJS.Args and HexJS.ArgsJS both retrieves the ArgsJS class.

HexJS.API and HexJS.APIFlat

class importing helpers for base HexCasting mod.

Both objects contain EVERY named class under package at.petrak.hexcasting: HexJS.APIFlat collects them directly together, using their names as keys, while HexJS.API organizes them by their package structure.

For example, HexJS.APIFlat.Iota and HexJS.API.api.casting.iota.Iota get the same built-in Iota class under package at.petrak.hexcasting.api.casting.iota.

Clone this wiki locally