Dungeon Config 1.26.11.1
Curse Maven Snippet
What's new
Added
- Sound playback for mods (
DungeonsSound): play a sound file, a link or a video's sound track through Minecraft's own sound engine, so the volume sliders, the pause menu and audio device changes all apply. Sounds can pause, seek, loop, change volume and report how far along they are and how long they last. OGG and WAV play out of the box; MP3, FLAC, M4A, Opus and video files use FFmpeg. - Crisper text at any scale: screens can ask for exact-scale text, so the pixel fonts stay sharp at fractional GUI and zoom levels instead of landing unevenly on screen pixels.
- FancyMenu support: every Dungeon Config screen can be customized in FancyMenu, and hiding or moving the Dungeon Configs title screen button with FancyMenu now survives a game restart.
- For mod developers: measure the real ink box of a label (
inkBox) to centre text exactly, give a single canvas its own font for a role (face), and hand fonts your mod loads to Dungeon Config (DungeonsFonts.adopt/disown) so they fall back and clean up like the built-in ones.
Fixed
- Font sizes that haven't been drawn for a while are now freed, so long sessions with lots of zooming or scaling no longer build up GPU memory.
This mod has no additional files