FentLib
ModA shared code library and tweak/fix mod.
Type
Mod
Modrinth Downloads
333
Modrinth ID
gicMzKg1
Last Updated
Jun 19, 2026
Description
FentLib
A shared code library and tweak/fix mod.

Features
- 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).
Use the /reload_icon command to reload the icon. Also works for server-icon.png. - Removal of EnderCore / HodgePodge Info Button in the mod list screen.
- API to modify the S00PacketServerInfo packet. Example:
- /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.

- /warpdim [dimension ID] command. Painlessly warp to a dimension (meant for debugging).
- SessionAccessTokenOverrideMixin allows overriding the session access token in dev launches via -Dfentlib.accessTokenOverride=<token>.
- Client sound utilities to set a custom max attenuation distance without increasing the sound volume. Methods:
Example:
SoundUtil.playAt(waveSound, x, y, z, 0.25F, 1.0F, 64.0F);- HTTP-on-Minecraft-port reverse proxying for local web UIs. Configure path-to-port mappings in config/fentlib/http-port-routes.json so services like Dynmap can be reached through the server port, such as /dynmap/..., instead of separate ports. Set 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.
- QOI image format support and utils thanks to saharNooby/qoi-java. For usage example, check out how support for server-icon.qoi is implemented.
- WebP image format support and utils thanks to haraldk/TwelveMonkeys. For usage example, check out how support for server-icon.webp is implemented.
- Default server icon path can be configured using the serverIconDirectory config option.
Fishing Loot Config
Set enableFishingLootTable=true in config/fentlib/fentlib.cfg to enable FentLib'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.
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.
{ "fish": [ { "item": "minecraft:fish", "weight": 60, "count": { "min": 1, "max": 1 }, "meta": { "min": 0, "max": 0 } }, { "item": "minecraft:fish", "weight": 10, "count": { "min": 1, "max": 2 }, "meta": { "min": 1, "max": 1 }, "biomes": ["ocean", "river"] } ] }Dependencies
Building
./gradlew build.
Credits
License
LGPLv3.
Buy me a coffee
- ko-fi.com
- Monero: 893tQ56jWt7czBsqAGPq8J5BDnYVCg2tvKpvwTcMY1LS79iDabopdxoUzNLEZtRTH4ewAcKLJ4DM4V41fvrJGHgeKArxwmJ

Compatibility
Mod Loaders
Game Versions
Similar Mods
MIDWUT
the Most Important Datapack With Useful Tools — Datapack core and library, for some datapacks to work
Improved Copper
Add new uses to copper
Berezka's Simple Day Counter
A mod that shows a new day notification with a typing animation. Simple, convenient, and clean!
M*dder Name Lib
Yeah, another one of these. Shared code for quat's Season 2 mods.
Vanilla Items Expanded
Adds new QoL items like magnets to make survival better. Vanilla friendly!
Local Locator
Restores the server-disabled Locator Bar, so you can always find your friends.





