Description
This file is placed in kubejs/server_scripts, so you need to use hp_TetraDataEvents.queue(…). queue(…) stages the Tetra data from this script and injects it on the next /reload. The easiest workflow is: /hp_tetra_data_kubejs apply
About this mod:
- It lets KubeJS register Tetra materials, schematics, modules, and improvements (that is: materials, schematics, modules, improvements).
- It provides a lot of completions, including effects, schematics, improvements, slots, etc. That is also what I think is the biggest highlight of this mod.
This example contains 5 core parts:
- material: register a custom Tetra material
- improvement: register a custom Tetra improvement
- module: register a custom Tetra module
- schematic: register two schematic examples
- one for installing a custom module
- one for applying a custom improvement to that module
If you are not already familiar with how Tetra normally registers materials, schematics, modules, and improvements through datapacks, I recommend learning that first.






