{"id":69864,"date":"2026-06-04T02:29:58","date_gmt":"2026-06-03T23:29:58","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/"},"modified":"2026-06-04T02:29:58","modified_gmt":"2026-06-03T23:29:58","slug":"fentlib","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/","title":{"rendered":"FentLib"},"content":{"rendered":"<p># FentLib<br \/>\nA shared code library and tweak\/fix mod.<\/p>\n<p>![logo](https:\/\/raw.githubusercontent.com\/JackOfNoneTrades\/FentLib\/master\/images\/logo_small.png)<\/p>\n<p>![hub](https:\/\/github.com\/JackOfNoneTrades\/FentLib\/releases)<br \/>\n![curse](https:\/\/www.curseforge.com\/minecraft\/mc-mods\/fentlib)<br \/>\n![modrinth](https:\/\/modrinth.com\/mod\/fentlib)<br \/>\n![67](https:\/\/67.fentanylsolutions.org\/mod\/fentlib)<br \/>\n![maven](https:\/\/maven.fentanylsolutions.org\/#\/releases\/org\/fentanylsolutions\/fentlib\/FentLib)<br \/>\n![forge](https:\/\/raw.githubusercontent.com\/JackOfNoneTrades\/FentLib\/master\/images\/badges\/forge.png)<br \/>\n![cord](https:\/\/discord.gg\/xAWCqGrguG)<\/p>\n<p><!--![mcmodcn]()--><\/p>\n<p>## Features<br \/>\n* Support for animated GIF server icons. Just drop a `server-icon.gif` file in the server root directory. Size limits are configurable. HodgePodge is a soft dependency, required if you want to use larger GIFs (because of the packet size limit).<br \/>\n![animated_server_icons](https:\/\/raw.githubusercontent.com\/JackOfNoneTrades\/FentLib\/master\/images\/animated_server_icons.gif)<br \/>\nUse the `\/reload_icon` command to reload the icon. Also works for `server-icon.png`.<br \/>\n* Removal of EnderCore \/ HodgePodge Info Button in the mod list screen.<br \/>\n* API to modify the `S00PacketServerInfo` packet. Example:<br \/>\n&#8220;`java<br \/>\npublic class ClientProxy extends CommonProxy {<br \/>\n    @Override<br \/>\n    public void preInit(FMLPreInitializationEvent event) {<br \/>\n      S00PacketServerInfoModifyService.registerDeserializeHandler((response, fentlibData, serverData) -> {<br \/>\n        if (fentlibData.has(&#8220;server_to_client_payload&#8221;)) {<br \/>\n          \/\/ Yoohoo we got something back!!!!<br \/>\n          \/\/ serverData contains stuff like server IP<br \/>\n        }<br \/>\n      });<br \/>\n    }<br \/>\n}<\/p>\n<p>public class CommonProxy {<br \/>\n  public void preInit(FMLPreInitializationEvent event) {<br \/>\n    if (MiscUtil.isServer()) {<br \/>\n      S00PacketServerInfoModifyService.registerHandler((response, fentLibPresent) -> {<br \/>\n        \/\/ fentLibPresent is just a boolean indicating whether fentlib is loaded<br \/>\n        return &#8220;server_to_client_payload&#8221;;<br \/>\n        \/\/ You can return a String, a S00PacketServerInfoModifyService.KeyValue, or a JsonElement. If you return<br \/>\n        \/\/ a non-null value, it will be passed back to the client<br \/>\n      });<br \/>\n    }<br \/>\n  }<br \/>\n}<br \/>\n&#8220;`<br \/>\n* `\/dump_thaumonomicon <Optional Comment>` command. Run it from the client, and all Thaumcraft research will be dumped as a static website. The comment will be visible under the page title, and you can indicate the pack or mods for with which the dump was done.<br \/>\n![Dump example](https:\/\/raw.githubusercontent.com\/JackOfNoneTrades\/FentLib\/master\/images\/dumper_example.png)<br \/>\n* `\/warpdim` [dimension ID] command. Painlessly warp to a dimension (meant for debugging).<br \/>\n* `SessionAccessTokenOverrideMixin` allows overriding the session access token in dev launches via `-Dfentlib.accessTokenOverride=<token>`.<br \/>\n* Client sound utilities to set a custom max attenuation distance without increasing the sound volume. Methods:<br \/>\n&#8220;`java<br \/>\nSoundUtil.withMaxDistance(ISound sound, float maxDistance);<br \/>\nSoundUtil.playWithMaxDistance(ISound sound, float maxDistance);<br \/>\nSoundUtil.playWithMaxDistance(SoundHandler soundHandler, ISound sound, float maxDistance);<br \/>\nSoundUtil.playAt(ResourceLocation soundResource, double x, double y, double z, float volume, float pitch, float maxDistance);<br \/>\n&#8220;`<br \/>\nExample:<br \/>\n&#8220;`java<br \/>\nSoundUtil.playAt(waveSound, x, y, z, 0.25F, 1.0F, 64.0F);<br \/>\n&#8220;`<br \/>\n* HTTP-on-Minecraft-port reverse proxying for local web UIs. Configure path-to-port mappings in `fentlib\/http-port-routes.json` so services like Dynmap can be reached through the server port, such as `\/dynmap\/&#8230;`, instead of separate ports.<br \/>\nSet `publicBaseUrl` in `config\/fentlib\/fentlib.cfg` to the public base URL of the server; mods should append their own relative route paths on top of it.<br \/>\n* QOI image format support and utils thanks to saharNooby\/qoi-java. For usage example, check out how support for `server-icon.qoi` is implemented.<br \/>\n* WebP image format support and utils thanks to haraldk\/TwelveMonkeys. For usage example, check out how support for `server-icon.webp` is implemented.<\/p>\n<p>## Fishing Loot Config<br \/>\nSet `enableFishingLootTable=true` in `config\/fentlib\/fentlib.cfg` to enable FentLib&#8217;s fishing override. The loot table lives at `config\/fentlib\/fishing-loot.json`. When enabled, vanilla still decides whether a catch is `fish`, `junk`, or `treasure`, but the item itself comes only from this JSON.<\/p>\n<p>The JSON has top-level `fish`, `junk`, and `treasure` lists. Each entry uses vanilla-style `weight`, supports `count` and `meta` ranges, can be limited to a biome whitelist with `biomes` or inverted into a blacklist with `invertBiomes`, and biome selectors can be numeric IDs, biome names, or `*` to match any biome. Entries can also use explicit numeric enchant IDs or `useVanillaEnchantingRules` for vanilla-style random enchanting.<\/p>\n<p>&#8220;`json<br \/>\n{<br \/>\n  &#8220;fish&#8221;: [<br \/>\n    {<br \/>\n      &#8220;item&#8221;: &#8220;minecraft:fish&#8221;,<br \/>\n      &#8220;weight&#8221;: 60,<br \/>\n      &#8220;count&#8221;: { &#8220;min&#8221;: 1, &#8220;max&#8221;: 1 },<br \/>\n      &#8220;meta&#8221;: { &#8220;min&#8221;: 0, &#8220;max&#8221;: 0 }<br \/>\n    },<br \/>\n    {<br \/>\n      &#8220;item&#8221;: &#8220;minecraft:fish&#8221;,<br \/>\n      &#8220;weight&#8221;: 10,<br \/>\n      &#8220;count&#8221;: { &#8220;min&#8221;: 1, &#8220;max&#8221;: 2 },<br \/>\n      &#8220;meta&#8221;: { &#8220;min&#8221;: 1, &#8220;max&#8221;: 1 },<br \/>\n      &#8220;biomes&#8221;: [&#8220;ocean&#8221;, &#8220;river&#8221;]<br \/>\n    }<br \/>\n  ]<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>## Dependencies<br \/>\n* UniMixins ![curse](https:\/\/www.curseforge.com\/minecraft\/mc-mods\/unimixins) ![modrinth](https:\/\/modrinth.com\/mod\/unimixins\/versions) ![git](https:\/\/github.com\/LegacyModdingMC\/UniMixins\/releases)<\/p>\n<p>## Building<\/p>\n<p>`.\/gradlew build`.<\/p>\n<p>## Credits<br \/>\n* GT:NH buildscript<\/p>\n<p>## License<\/p>\n<p>`LgplV3 + SNEED`.<\/p>\n<p>## Buy me a coffee<\/p>\n<p>* ko-fi.com<br \/>\n* Monero: `893tQ56jWt7czBsqAGPq8J5BDnYVCg2tvKpvwTcMY1LS79iDabopdxoUzNLEZtRTH4ewAcKLJ4DM4V41fvrJGHgeKArxwmJ`<\/p>\n<p><\/p>\n<p>![license](https:\/\/raw.githubusercontent.com\/JackOfNoneTrades\/FentLib\/master\/images\/lgplsneed_small.png)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A shared code library and tweak\/fix mod.<\/p>\n","protected":false},"featured_media":69865,"template":"","meta":{"_minecraft_slug":"fentlib","_minecraft_project_id":"gicMzKg1","_minecraft_author":"le_jack","_minecraft_license":"LicenseRef-LGPLv3-SNEED","_minecraft_downloads":57,"_minecraft_follows":0,"_minecraft_client_side":"optional","_minecraft_server_side":"optional","_minecraft_storage_type":"zip","_minecraft_archive_name":"fentlib.zip","_minecraft_size_bytes":58537326,"_minecraft_version_count":9,"_minecraft_updated_at":"2026-05-16T16:14:06.084467Z","_minecraft_date_created":"2026-03-24T19:22:01.214353Z","_minecraft_date_modified":"2026-05-14T14:25:28.431298Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/fentlib","_minecraft_icon_attachment_id":69865,"_minecraft_imported_at":"2026-06-03T23:29:58+00:00","_minecraft_import_hash":"4d50aa64f30c3c5b3fb4735ae86e640a","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[104,873,92],"mod_loader":[106],"minecraft_version":[21],"class_list":["post-69864","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-forge","mod_category-library","mod_category-utility","mod_loader-forge","minecraft_version-1-7-10"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>FentLib - 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\/fentlib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FentLib - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A shared code library and tweak\/fix mod.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/\",\"name\":\"FentLib - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/fentlib-icon-8506ceb32756733077fbb6737fd3cd10c6a0f704_96.webp\",\"datePublished\":\"2026-06-03T23:29:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/fentlib-icon-8506ceb32756733077fbb6737fd3cd10c6a0f704_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/fentlib-icon-8506ceb32756733077fbb6737fd3cd10c6a0f704_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/fentlib\\\/#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\":\"FentLib\"}]},{\"@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":"FentLib - 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\/fentlib\/","og_locale":"en_US","og_type":"article","og_title":"FentLib - Minecraft","og_description":"A shared code library and tweak\/fix mod.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/","name":"FentLib - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/fentlib-icon-8506ceb32756733077fbb6737fd3cd10c6a0f704_96.webp","datePublished":"2026-06-03T23:29:58+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/fentlib-icon-8506ceb32756733077fbb6737fd3cd10c6a0f704_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/fentlib-icon-8506ceb32756733077fbb6737fd3cd10c6a0f704_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/fentlib\/#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":"FentLib"}]},{"@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\/69864","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\/69865"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=69864"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=69864"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=69864"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=69864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}