{"id":78933,"date":"2026-06-04T16:14:40","date_gmt":"2026-06-04T13:14:40","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/"},"modified":"2026-06-04T16:14:40","modified_gmt":"2026-06-04T13:14:40","slug":"hammer-lib","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/","title":{"rendered":"HammerLib"},"content":{"rendered":"<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.zeith.org\/logos\/hammer-lib.png?v=2\" alt=\"\" width=\"640\" height=\"130\" \/><\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cf.way2muchnoise.eu\/full_247401_downloads.svg\" width=\"165\" height=\"10\" \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cf.way2muchnoise.eu\/versions\/247401_all.svg\" width=\"373\" height=\"18\" \/><\/p>\n<p>Utility mod that contains really useful code for quite a few mods.<\/p>\n<p>&nbsp;<\/p>\n<h4>This library provides:<\/h4>\n<ul>\n<li>Simple, annotation-based content registration.\n<ul>\n<li>For Blocks, HammerLib automagically registers BlockItem(s). If you want to disable BlockItem(s), let your block implement&nbsp;INoItemBlock, ICustomBlockItem, or&nbsp;ICreativeTabBlock, depending on what you want to achieve.<\/li>\n<li>For&nbsp;BlockEntity rendering, custom BlockEntityType constants may have additional @TileRenderer, pointing to an&nbsp;IBESR&lt;Tile&gt; class.<\/li>\n<\/ul>\n<\/li>\n<li>Old-styled language parsers in format of &#8220;key=value&#8221;, instead of JSONs (the file names and format is like in older game versions, but you need to call LanguageAdapter.registerMod(MOD_ID); inside your mod&#8217;s constructor for it to register.<\/li>\n<li>Mod Source checks, that allow you to check if the mod was downloaded from adware\/malware sites, AND warn users about it.<\/li>\n<li>Java-based recipe registration with a simple&nbsp;RegisterRecipesEvent, that runs on HammerLib.EVENT_BUS, allowing you, as a developer, to register crafting recipes like before, with code.<\/li>\n<li>Java-based tag population, with&nbsp;BuildTagsEvent, that runs on HammerLib.EVENT_BUS.<\/li>\n<li>Vastly simplified networking, using Network class, and IPacket + INBTPacket to allow for flawless and intuitive packet code development.<\/li>\n<li>Wrappers for block harvesting, that has been moved over to tags &#8211; BlockHarvestAdapter<\/li>\n<li>Field-based NBT serialization, so that you don&#8217;t make a typo\/forget to write serialization\/deserialization code.<\/li>\n<li>Good old TileEntity wrappers, with TileSyncable and TileSyncableTickable, that allow synchronization of initial state, as well as registering properties that will be synchronized independently.<\/li>\n<li>ContainerAPI for BlockEntities, allowing to avoid MenuType&lt;?&gt; altogether (no need to register screen providers, menu types etc)<\/li>\n<li>ItemStack -&gt; Color[] API, with&nbsp;TexturePixelGetter.getAllColors<\/li>\n<li>Annotation-based custom model loaders (@LoadUnbakedGeometry on IUnbakedGeometry&lt;SELF&gt;), avoids using the geometry loader class by making a common wrapper.<\/li>\n<li>&#8230;And a whole lot more!<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>And a lot of rich features for mod devs.<\/p>\n<p><strong>Not enough? You can just view sources on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mods.zeith.org\/static\/github.svg\" alt=\"\" width=\"40\" height=\"40\" \/>&nbsp;GitHub, it&#8217;s free!<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/i.imgur.com\/LuJJMv1.png\" alt=\"\" width=\"698\" height=\"1\" \/><\/strong><\/p>\n<p style=\"text-align: left;\"><strong>Permissions:<\/strong><\/p>\n<ul style=\"text-align: center;\">\n<li style=\"text-align: left;\"><strong>You&nbsp;can use this mod in your modpack.<\/strong><\/li>\n<li style=\"text-align: left;\"><strong><span style=\"color: #008000;\">Yes, you are allowed to build a mod that requires Hammer Core<\/span>, <span style=\"color: #993300;\">but <span style=\"text-decoration: underline;\">not<\/span> embeds it!<\/span><\/strong><\/li>\n<li style=\"text-align: left;\"><span style=\"color: #993300;\"><strong>You are not allowed to repost this mod to other sites without providing a CurseForge\/Modrinth download link and my permission (<span style=\"color: #00ffff;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.zeith.org\/icons\/zeitheron.png\" width=\"40\" height=\"40\" \/>&nbsp;Zeitheron<\/span>&nbsp;on Discord)<\/strong><\/span><\/li>\n<li style=\"text-align: left;\"><strong>You are not allowed to include this (or any other mods of DragonForge team) in your own mod. Building addons, however, is allowed, but a friendly PM would be good.<\/strong><\/li>\n<\/ul>\n<p><strong>Note:<\/strong><\/p>\n<ul>\n<li><strong>The only supported version of minecraft is the latest one that this mod exists for. DO NOT ASK TO DOWNGRADE!<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ds.zeith.org\/cards\/dev.png\" width=\"510\" height=\"170\" \/><\/p>\n<p style=\"text-align: center;\"><strong>Join the discord server and follow Zeitheron on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/abs.twimg.com\/favicons\/twitter.ico\" width=\"32\" height=\"32\" \/>Twitter!<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>If you would like to support my work, you can become a patron via <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/c5.patreon.com\/external\/favicon\/favicon-32x32.png\" alt=\"\" width=\"32\" height=\"32\" \/>&nbsp;Patreon.&nbsp;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3.amazonaws.com\/pix.iemoji.com\/twit33\/0744.png\" alt=\"\" width=\"33\" height=\"33\" \/><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Utility mod that contains really useful code for quite a few mods.<\/p>\n","protected":false},"featured_media":78934,"template":"","meta":{"_minecraft_slug":"hammer-lib","_minecraft_project_id":"PlkSuVtM","_minecraft_author":"Zeith","_minecraft_license":"LicenseRef-All-Rights-Reserved","_minecraft_downloads":695167,"_minecraft_follows":55,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"hammer-lib.zip","_minecraft_size_bytes":3722423,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-16T15:25:23.473215Z","_minecraft_date_created":"2023-05-16T01:31:02.791988Z","_minecraft_date_modified":"2025-03-26T00:36:52.868772Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/hammer-lib","_minecraft_icon_attachment_id":78934,"_minecraft_imported_at":"2026-06-04T13:14:41+00:00","_minecraft_import_hash":"e348404e48d95c6c3c7a8e261fa62b08","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[104,873,158],"mod_loader":[106],"minecraft_version":[341,357,360,385,449,117,46,48,52,53,56,57,59,36,60,93,94,101,102,62,37,38],"class_list":["post-78933","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-forge","mod_category-library","mod_category-neoforge","mod_loader-forge","minecraft_version-1-10-2","minecraft_version-1-11","minecraft_version-1-11-2","minecraft_version-1-12-2","minecraft_version-1-13-2","minecraft_version-1-15-2","minecraft_version-1-16-3","minecraft_version-1-16-5","minecraft_version-1-18-1","minecraft_version-1-18-2","minecraft_version-1-19-2","minecraft_version-1-19-3","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","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-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HammerLib - 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\/hammer-lib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HammerLib - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Utility mod that contains really useful code for quite a few mods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.zeith.org\/logos\/hammer-lib.png?v=2\" \/>\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\\\/hammer-lib\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-lib\\\/\",\"name\":\"HammerLib - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-lib\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-lib\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hammer-lib-icon-023486a7e0b25c69be2d670b4b5a34bb80eef76d_96.webp\",\"datePublished\":\"2026-06-04T13:14:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-lib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-lib\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-lib\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hammer-lib-icon-023486a7e0b25c69be2d670b4b5a34bb80eef76d_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hammer-lib-icon-023486a7e0b25c69be2d670b4b5a34bb80eef76d_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hammer-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\":\"HammerLib\"}]},{\"@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":"HammerLib - 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\/hammer-lib\/","og_locale":"en_US","og_type":"article","og_title":"HammerLib - Minecraft","og_description":"Utility mod that contains really useful code for quite a few mods.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/","og_site_name":"Minecraft","og_image":[{"url":"https:\/\/assets.zeith.org\/logos\/hammer-lib.png?v=2","type":"","width":"","height":""}],"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\/hammer-lib\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/","name":"HammerLib - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hammer-lib-icon-023486a7e0b25c69be2d670b4b5a34bb80eef76d_96.webp","datePublished":"2026-06-04T13:14:40+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-lib\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hammer-lib-icon-023486a7e0b25c69be2d670b4b5a34bb80eef76d_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hammer-lib-icon-023486a7e0b25c69be2d670b4b5a34bb80eef76d_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hammer-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":"HammerLib"}]},{"@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\/78933","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\/78934"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=78933"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=78933"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=78933"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=78933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}