Skip to main content

Origins JS (1.20.1)

warning

This document is for 1.20.1, for 1.21.1, see the 1.21 docs.

Origins JS is a KubeJS addon that lets you register custom Actions, Conditions, and Powers from JavaScript, and directly manipulate entity origins at runtime.



What You Can Do

CapabilityHow
Custom entity / block / item actionsOriginsJS.registerEntityAction(...) etc.
Custom conditions (entity, biome, damage, fluid…)OriginsJS.registerEntityCondition(...) etc.
Fully scripted powers with tick / toggle / grantOriginsJS.powerBuilder(...)
Change origins at runtimeholder.setOrigin(...)
Grant / revoke powers on the flyholder.grantPower(...)

Target Version

Minecraft 1.20.1 · Origins 1.20.1 (Fabric or Forge) · KubeJS 2001.6.5