Skip to main content

KubeJS Offline Documentation

Dynamic Documentation in a single html page.

KubeJS Offline is a mod that dumps all class data at runtime into a single html file using a single command. `/kubejs_offline`.

How does it work?

When you execute the KubeJS Offline command, a scan of the Java runtime is performed to find what classes exist at that time. This is important as mods might provide new event classes and possibly new methods to existing Minecraft classes.

After the mod has searched what classes exist and are available at that time, it then proceeds to compress that data down into a json object.

It records everything from the full class name, package info, super classes, sub-classes, generic implementations, fields, methods, as well as their relationships to other classes.

This data is then used to create an html