CurseForge · Minecraft mod
Render.js
Allow to use Kubejs customize the world rendering.
Quick answer
Which Render.js release matches 1.20.1 Forge?
Render.js 1.0.4 targets 1.20.1 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.
The source does not explicitly classify this release as client-only or server-only.
What else does Render.js 1.0.4 need?
1.0.4 on 1.20.1 Forge. Every mod below is checked against that same setup.
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.4 on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.4. It targets 1.20.1 with NeoForge, Forge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.4. 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:
- After World Render Event:
RenderLevelEvents.afterSolidBlockRender(event => {
// do something
});
- 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.
1.20
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Render.js versions and loaders
1.0.4
renderjs-1.0.4.jar
13 Jul 2024
Looking for an older file? The official CurseForge project page is in Resources.