{"id":82586,"date":"2026-06-04T20:41:10","date_gmt":"2026-06-04T17:41:10","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/"},"modified":"2026-06-04T20:41:10","modified_gmt":"2026-06-04T17:41:10","slug":"hud-lib","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/","title":{"rendered":"HUD Lib"},"content":{"rendered":"<p># Hud Lib<\/p>\n<p>This mod is a library for other mods to register their own HUD Elements. These HUD Elements has inbuilt repositioning, anchoring, and configuration. They can all be edited after pressing `RIGHT SHIFT` (Can be rebinded in Key Binds). **This mod has no default elements**, you will need a mod such as Generic Hud (mentioned below) if you want any features.<\/p>\n<p>## Mods using this library<\/p>\n<p>Currently there are 3 mods that uses this library:<br \/>\n&#8211; Generic HUD<br \/>\n&#8211; Armor HUD<br \/>\n&#8211; Status Effect HUD<\/p>\n<p>## The Editor<\/p>\n<p>The editor allows you to reposition and disable any HUD Elements. If you want to hide the Settings button or **stop snapping, hold CTRL**. The settings menu will allow you to configure each HUD Element, and disable them\/reset their position in the &#8216;Generic HUD Options&#8217; tab.<\/p>\n<p>![GUI Editor](https:\/\/cdn.modrinth.com\/data\/dWIHwNEE\/images\/64322aa4bef7beda735bbf10ef4d5186f6c4c9fb.png)<\/p>\n<p>## For Developers<\/p>\n<p>Currently no documentation exists, but you can use Generic HUD, Armor HUD or the internal HUD Lib testmod as an example, because they are all open source.<\/p>\n<p>### What is offered in the library?<\/p>\n<p>&#8211; A simple way to render HUD elements, using `DrawContext`, when rendering it you are also given an X and a Y coordinate which is where on the screen it should be rendered.<br \/>\n&#8211; With minimal extra setup they can be repositioned in the editor.<br \/>\n&#8211; The repositioning also anchors to the screen (e.g. If you put it in the top right corner, it will stay there with any screen size)<br \/>\n&#8211; A way to register your own configuration in the &#8220;HUD Lib&#8221; configuration screen, this is done with YetAnotherConfigLib (YACL)<br \/>\n&#8211; They can also be hidden to only show in the editor, or completely disabled in the configuration.<\/p>\n<p>## Versions<\/p>\n<p>The mod has been ported to all 1.21.X versions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A library mod that provides a simple way for other mods to add HUD that can be moved with a visual editor.<\/p>\n","protected":false},"featured_media":82587,"template":"","meta":{"_minecraft_slug":"hud-lib","_minecraft_project_id":"dWIHwNEE","_minecraft_author":"wooferz","_minecraft_license":"MIT","_minecraft_downloads":69341,"_minecraft_follows":18,"_minecraft_client_side":"required","_minecraft_server_side":"unsupported","_minecraft_storage_type":"zip","_minecraft_archive_name":"hud-lib.zip","_minecraft_size_bytes":3858090,"_minecraft_version_count":17,"_minecraft_updated_at":"2026-05-16T02:27:12.978908Z","_minecraft_date_created":"2024-11-17T05:42:57.479527Z","_minecraft_date_modified":"2025-12-07T11:29:38.156215Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/hud-lib","_minecraft_icon_attachment_id":82587,"_minecraft_imported_at":"2026-06-04T17:41:11+00:00","_minecraft_import_hash":"74a36dcea18a10288c977948209440b5","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,873,126,92],"mod_loader":[99],"minecraft_version":[36,94,101,102,62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-82586","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-library","mod_category-management","mod_category-utility","mod_loader-fabric","minecraft_version-1-20-1","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HUD Lib - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HUD Lib - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A library mod that provides a simple way for other mods to add HUD that can be moved with a visual editor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/\",\"name\":\"HUD Lib - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hud-lib-icon-cf2e5766dda8c7ba22c6d4dd5cc57ed9a6564e5e_96.webp\",\"datePublished\":\"2026-06-04T17:41:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hud-lib-icon-cf2e5766dda8c7ba22c6d4dd5cc57ed9a6564e5e_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hud-lib-icon-cf2e5766dda8c7ba22c6d4dd5cc57ed9a6564e5e_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hud-lib\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HUD Lib\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HUD Lib - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/","og_locale":"en_US","og_type":"article","og_title":"HUD Lib - Minecraft","og_description":"A library mod that provides a simple way for other mods to add HUD that can be moved with a visual editor.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/","name":"HUD Lib - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hud-lib-icon-cf2e5766dda8c7ba22c6d4dd5cc57ed9a6564e5e_96.webp","datePublished":"2026-06-04T17:41:10+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hud-lib-icon-cf2e5766dda8c7ba22c6d4dd5cc57ed9a6564e5e_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hud-lib-icon-cf2e5766dda8c7ba22c6d4dd5cc57ed9a6564e5e_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hud-lib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"HUD Lib"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/82586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/82587"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=82586"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=82586"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=82586"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=82586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}