Back to mods

Modrinth · Minecraft mod

Renderer

An easy to use library for rendering content

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

Quick answer

Which Renderer release should I use?

Updated 2 years ago
Latest stable file 1.1
Game version 1.20, 1.20.1, 1.20.2
Loader Fabric

Renderer 1.1 targets 1.20, 1.20.1, 1.20.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Renderer required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

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

This file is marked client-only.

What else does Renderer 1.1 need?

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

All 1 required mods have matching files

Install Satin API first. We found matching files for this game-version and loader setup.

Satin API Needed by Renderer 1.1
required
Matching file found Matched file: 1.16.0

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Renderer without breaking your instance.

Built for Renderer 1.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1. It targets 1.20, 1.20.1, 1.20.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Satin API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

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

About this project

What does Renderer add?

Renderer

An easy to use rendering library for modern fabric

Installing

You can install this library using Jitpack

To install the library, just add the jitpack repository to your repositories block as described on the website, and this to your dependencies block in build.gradle:

include modImplementation("com.github.0x3C50:Renderer:master-SNAPSHOT")

This will use the latest commit as build target, but will cache that build target every time. Use the latest short commit hash found on Jitpack (example: d2cc995ff4) as the version, to get that release instead.

Usage

The api has an extensive javadoc, which explains almost anything. The wiki also has some more insights and examples.

The two renderers

Renderer2d draws in 2 dimensions, on the hud. Renderer3d draws in 3 dimensions, in the world.

Events

This library has its own event system, which broadcasts some basic rendering events (hud render, world render, etc). You can find more information on the wiki

Suggestions

You can leave suggestions in the issues section

If this library helped you, please consider leaving a star, since this library took me a while to make as it is right now :)

Examples

More examples can be found in RendererClient.

class Listener {
    void main() {
        Events.manager.registerSubscribers(this);
    }
    @MessageSubscription
    void onWorldRendered(RenderEvent.World world) {
        // Quad at (0, 0, 0):
        Renderer3d.renderFilled(world.getMatrixStack(), Color.RED, Vec3d.ZERO, new Vec3d(1, 1, 1));
        // Quad outline at (0, 0, 0):
        Renderer3d.renderOutline(world.getMatrixStack(), Color.RED, Vec3d.ZERO, new Vec3d(1, 1, 1));
    }
    
    @MessageSubscription
    void onHudRendered(RenderEvent.Hud hud) {
        // Rounded quad at (50, 50 -> 100, 100), 5 px corner, 10 samples
        Renderer2d.renderRoundedQuad(RendererUtil.getEmptyMatrixStack(), Color.WHITE, 50, 50, 100, 100, 5, 10);
    }
}

Project description from Modrinth.

Pick your setup

Renderer by Minecraft version and loader

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

11 available setups

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

Recent files

Renderer versions and loaders

3 of 3 releases match

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