What is FentLib?
FentLib is a shared code library and tweak mod for Minecraft that packs a surprising number of useful features into a single, lightweight package. Designed primarily for modpack creators and server administrators, it bridges gaps between mods, adds quality-of-life improvements, and provides powerful APIs for developers. Instead of hunting down multiple small mods to fix minor annoyances or add niche functionality, you can rely on FentLib to handle everything from animated server icons to custom fishing loot tables.
Key Features That Make FentLib Stand Out
Animated Server Icons with GIF, QOI, and WebP Support
One of the most visible features is the ability to use animated GIFs as your server icon. Simply place a server-icon.gif file in the server root directory, and FentLib will animate it in the multiplayer server list. Size limits are configurable, and for larger GIFs that exceed packet size restrictions, the soft dependency HodgePodge steps in to make it work. A convenient /reload_icon command lets you refresh the icon without restarting the server. Beyond GIF, FentLib also supports modern image formats like QOI and WebP for server icons, giving you more options for crisp, compact graphics.
Complete Fishing Loot Overhaul
Server owners can take full control of what players catch while fishing. By setting enableFishingLootTable=true in the config, vanilla loot generation is replaced with a custom JSON file located at config/fentlib/fishing-loot.json. The JSON structure separates fish, junk, and treasure into weighted lists. Each entry can define item, count range, metadata, biome whitelists or blacklists (using numeric IDs, biome names, or wildcards), and even enchantment rules. This means you can create biome-specific fishing rewards, add modded items, or balance the economy with precision.
HTTP Reverse Proxy on the Minecraft Port
FentLib can turn your server’s main port into a reverse proxy for local web interfaces. Configure path-to-port mappings in config/fentlib/http-port-routes.json, and services like Dynmap become reachable through /dynmap/... on the same port players already use. Set a public base URL in the main config, and mods can easily append their own routes. This eliminates the need to open extra firewall ports and makes web-based server tools feel like a natural extension of the game.
Sound Utilities for Mod Developers
Client-side sound methods let you set a custom maximum attenuation distance without increasing volume. Using SoundUtil.playAt, you can play a sound at exact coordinates with a defined range, perfect for custom effects that need to be heard from far away. This small API addition saves developers from writing boilerplate code and ensures consistent audio behavior across mods.
Developer and Debugging Commands
- /warpdim [dimension ID] – instantly teleport to any dimension for quick testing.
- /dump_thaumonomicon – exports all Thaumcraft research as a static website, with an optional comment to label the modpack or mod list.
- SessionAccessTokenOverrideMixin – allows overriding the session access token in dev environments via a JVM argument, simplifying authentication during mod development.
- S00PacketServerInfo API – register handlers to inject custom data into the server list ping packet, enabling server-to-client communication before the player even joins.
Installation and Dependencies
FentLib requires UniMixins as a core dependency and benefits from HodgePodge if you plan to use larger animated server icons. The mod is built with the GT:NH buildscript and licensed under LGPLv3. Getting it into your modpack is straightforward. Many players find that using a modern launcher like foxygame.net simplifies the process—you can browse and install FentLib directly from the launcher’s mod menu, along with all its dependencies, making setup a breeze. This launcher keeps your mods organized and up to date without manual file hunting, so you can focus on playing or configuring your server.
Why Server Admins and Modpack Makers Choose FentLib
FentLib isn’t just a random assortment of tweaks; it’s a carefully curated toolkit. The fishing loot config alone can transform a vanilla mechanic into a fully customized reward system that fits any theme. The HTTP reverse proxy reduces network complexity and improves security. Animated server icons give your server a unique identity in the multiplayer list. For developers, the packet modification API and sound utilities open doors to creative features without reinventing the wheel. And the Thaumonomicon dump command is a lifesaver for documenting modpack progression.
Conclusion
FentLib proves that a shared library mod can be far more than just code reuse. It delivers tangible improvements for players, server operators, and mod authors alike. Whether you want to animate your server icon, fine-tune fishing loot, or streamline web services, FentLib handles it with minimal overhead. Its thoughtful design and broad compatibility make it a valuable addition to any modded Minecraft environment. Give it a try and discover how these small tweaks can make a big difference in your world.
--- **Update Jul 2, 2026:** Added 1 file for version 1.7.10 (Forge).