Back to mods
AxolotlClient Rendering project artwork

Modrinth · Minecraft mod

AxolotlClient Rendering

AxolotlClient's GUI rendering library. Convenient and simple rendering of some shapes, static SVGs and truetype fonts.

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

Quick answer

Which AxolotlClient Rendering release matches 26.2?

Updated 2 months ago
Best match for your filters 0.0.10+26.2
Game version 26.2, 26.2-rc-2
Loader Fabric, Quilt

AxolotlClient Rendering 0.0.10+26.2 targets 26.2, 26.2-rc-2 with Fabric, Quilt. 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 AxolotlClient Rendering 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, Quilt
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 AxolotlClient Rendering 0.0.10+26.2 need?

0.0.10+26.2 on 26.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

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

Fabric API Needed by AxolotlClient Rendering 0.0.10+26.2
required
Matching file found Matched file: 0.161.0+26.2

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

Before you install it

Add AxolotlClient Rendering without breaking your instance.

Built for AxolotlClient Rendering 0.0.10+26.2 on 26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.0.10+26.2. It targets 26.2, 26.2-rc-2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric 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 0.0.10+26.2. It opens that exact file at the source.

About this project

What does AxolotlClient Rendering add?

AxolotlClient Rendering

This library allows for shader-based rendering of some rounded shapes (e.g. rectangles), static SVGs and TrueType fonts.

For SVGs the Apache Batik library is included, for fonts Freetype¹ is used.

For Players

This is a library, you should not need to install it manually. (Unless someone declared their dependencies wrong or forgot to include it)

For Mod Developers

Inclusion in your project

This library is published at https://maven.axolotlclient.com.

dependencies {
  modImplementation(include("io.github.axolotlclient.rendering:AxolotlClient-rendering:VERSION+MINECRAFT_VERSION")!!)
}

Note: you may omit the include statement if you do not want to embed this library into your mod. Make sure to declare your dependencies correctly for launchers to download the library in that case.

Tip: replace modImplementation with modApi if you're writing a library that uses this one!

General Usage

Most methods of this library are accessible using Minecraft's GuiGraphics class via the injected GuiGraphicsExtension interface.
On 1.8.9, since there is no GuiGraphics class you should obtain a GuiGraphicsExtension using DrawUtil.get().
All methods exposed via this way are prefixed with axolotlclient_rendering.

Fonts can be loaded using Font.read(...). If you're using a variant font
this will automatically read the variants and make use of them appropriately,
however the font features supported by FreeType directly are rather limited.
If a specific feature is provided by a separate font file (for example an italic or
bold variant) they can be added using Font#addSubFont, specifying in which conditions it should be used
(some tags and values can be found as static definitions in the Font class).

Projects that use this library

Your project makes use of this library and you would like it to appear here? Let us know!

FAQ

  • I'm using this library on 1.20.1 and the font looks bad

    A: Because Minecraft 1.20.1 uses lwjgl 3.3.1 which did not have Freetype bindings yet this library uses STB_Truetype, which does not support hinting (there may also be other bugs we don't know about).

  • But doesn't 1.8.9 use lwjgl2 which is also below 3.3.2?

    A: Indeed, however with legacy-lwjgl3 we can run it on lwjgl 3.3.6 where we do have bindings to Freetype.

  • Wouldn't it be possible to use a newer lwjgl on 1.20.1 as well?

    A: Yes, but this is more difficult, increases the jar size even further and will produce incompatibilities with mods like sodium which check for which lwjgl version they're running on.

¹See FAQ, answer #1

Project description from Modrinth.

Pick your setup

AxolotlClient Rendering by Minecraft version and loader

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

17 available setups

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

Recent files

AxolotlClient Rendering versions and loaders

1 of 24 releases match
Clear filters

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