AxolotlClient Rendering
ModAxolotlClient's GUI rendering library. Convenient and simple rendering of some shapes, static SVGs and truetype fonts.
Type
Mod
Modrinth Downloads
16,944
Modrinth ID
2qX7WO3l
Last Updated
Jun 12, 2026
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
¹See FAQ, answer #1
Compatibility
Mod Loaders
Game Versions
Screenshots
Similar Mods
Sophisticated Backpack/Storage Emerald Upgrade
Enhance your Sophisticated Backpacks/Storage with the Emerald Upgrade! This upgrade boosts storage capacity beyond Nethe...
Hit Indication
Adds hit indicators that show where damage is taken from.
More Powerful Game Rules
49 new custom /gamerules to add or disable features: ie, hunger, trading, ice, gravity, mobs, damage, griefing, crops
Industrial Magic - Crossover IC2
Addon-crossover Thaumcraft 6 and IC2
[Let's Do] Lili's Pottery
Create simple pots, paint them, and finish them with glaze.
Copper Rails
Enhances minecart transportation with new rails : oxidizable copper rails and crossings