Back to mods
Render.js project artwork

CurseForge · Minecraft mod

Render.js

Allow to use Kubejs customize the world rendering.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Render.js release should I use?

Updated 2 years ago
Latest stable file 1.0.5
Game version 1.20
Loader NeoForge, Forge

Render.js 1.0.5 targets 1.20 with NeoForge, Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Render.js required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge, Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Render.js 1.0.5 need?

1.0.5. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Render.js without breaking your instance.

Built for Render.js 1.0.5. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.5. It targets 1.20 with NeoForge, Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.5. It opens that exact file at the source.

About this project

What does Render.js add?

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:

  1. After World Render Event:
RenderLevelEvents.afterSolidBlockRender(event => {
    // do something
});
  1. After/Before Living Entity Render Event:
RenderEntityEvents.beforeRender(event => {
    // do something
});

RenderEntityEvents.afterRender(event => {
    // do something
});

You can give me suggestions in Githu Issues or the comment!

Project description from CurseForge.

Pick your setup

Render.js by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Render.js versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.