beJS is a mod that allows custom, tickable Block entities to be made fully in KubeJS.
you can also attach other capabilities to the block entities with PowerfulJS made by Prunoideae (but sadly not directly in the builder...)
https://www.curseforge.com/minecraft/mc-mods/bejs
ScreenJS is a mod for creating custom GUI menus for said block entities, but also mobs, blocks and discrete ones as well. Once again all inside a KubeJS script!
https://www.curseforge.com/minecraft/mc-mods/screenjs
More features coming soon™️!