Mod

AxolotlClient Rendering

Quick rating

AxolotlClient Rendering

No reviews yet

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

API/Library
Mod Loaders
Fabric
Quilt
Minecraft
26.1

Community voices

Reviews

Filter by exact patch versions
Loading exact versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your updated review is now pending. It has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 or later
Latest Version
0.0.8+1.8.9

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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

Screenshots

Gallery

  • Showcase
    Showcase Screenshot taken on Minecraft 1.21.11, Minecraft's text rendering is present as a comparison

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Reviews
0
Followers
0
In stacks

By the numbers

Statistics

~16,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync