Tags
Creators
Details
Licensed ARR
Published 3 months ago
Updated 11 hours ago
All versions
0.1.4-beta
Beta
CC: HUD Glasses 0.1.4-beta11 hours ago 17
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
- OUTLINE text shadow is much cheaper. It used to draw every glyph five times (four black copies plus the glyph). The mod now ships a pre-dilated copy of the font atlas, so the outline is a single black draw and OUTLINE costs two draws per glyph instead of five. It looks identical: dilating a glyph by 1px in four directions is exactly what the four offset copies produced, and the font is 1-bit pixel art so nothing blurs. If the outline atlas ever fails to load, the old four-copy path still runs.
- The F3 debug screen, chat and the player list now draw on top of the HUD. The overlay used to sit above every other GUI layer, so a full-screen HUD buried them with no way to read them short of switching the HUD off. It now renders just below the debug overlay instead.
- Much faster rendering at large HUD sizes. The glyph pass no longer goes through
Font#drawInBatchper cell, which allocated twice and re-resolved the font set, glyph info, baked glyph and style for every character, every frame. Glyphs are now baked once and their vertices written straight into the batch, so the pass is allocation-free and the palette is unpacked once per frame instead of once per cell. This scaled with cell count, so the bigger the HUD the bigger the win (setSize(256, 96)was hit hardest). New client settingfastGlyphRendering(defaulttrue) turns this off again if another mod's text/HUD rendering conflicts with it.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:HAKfjoUe:BTQbUFYC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:HAKfjoUe:BTQbUFYC"
}

