Class GuiFonts
java.lang.Object
dev.boze.api.gui.render.GuiFonts
Fonts for
GuiPainter.setFont(GuiFont).-
Method Summary
-
Method Details
-
gui
- Returns:
- The font the user picked for the GUI in Boze's font settings
-
vanilla
- Returns:
- Minecraft's font
-
load
Loads a TrueType font from resources. Fonts are cached by id.- Parameters:
ttf- Location of a .ttf file, for examplemyaddon:fonts/inter.ttf- Returns:
- The font, or null if it cannot be read
-