Render.js
ModAllow to use KubeJs customize world rendering.
Type
Mod
Modrinth Downloads
977
Modrinth ID
VSqEtwNR
Last Updated
Jul 27, 2026
Description
Due to the simplicity of painter API, I have developed this mod that allows you to customize world rendering.
How to use
// Similar to the painter API, register a RenderObject before rendering. ClientEvents.loggedIn(event => { RenderObjectManager.register({ example_triangle: { type: "triangles", r: 128, g: 255, b: 29, a: 150, vertices: [ -0.120, 0.00, 0.001, 0.0000, 0.20, 0.001, 0.1200, 0.00, 0.001, -0.064, 0.03, 0.000, 0.0000, 0.14, 0.000, 0.0640, 0.03, 0.000 ], options: { blend: true, depth_test: true, cull: false, billboard: "center" } } }) }) // And then, you can render it on event. RenderEntityEvents.afterRender(event => { let h = event.getEntity().getBbHeight(); // entity's height event.renderWithOffset("example_triangle", [0.0, h + 0.2, 0.0]); // render it with offset }); // Now, you can see that each entity has a triangle on its head!Currently supported events:
- After World Render Event:
- After/Before Living Entity Render Event:
You can give me suggestions in Github Issues or the comment!
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Grimoire API
General-purpose Mixin loader framework, which allows to properly implement mixins on 1.7.10/1.12.2 versions of Minecraft...
The Cavenoise King
Cave Dweller Hybrid
Expanded Events
Adds new event handlers for a few key events.
Apothic Fishing
A deep extension of Apotheosis that makes fishing actually worth doing
Energy Stamina
This is mod add to Minecraft stamina mechanic
Epic Pets
Tame and carry cute creatures with you, each with special abilities to help you on your adventure! You can leave them on...