MerlinLib: The Essential Library Mod for Minecraft Mod Authors

MerlinLib streamlines enchantment, effect, and potion registration for Minecraft mod authors, plus loot injection and mob hooks. Build faster today.

Download merlinlib for Minecraft 26.3, 26.1, 1.21.1, 1.20.1

Original name: merlinlib

Minecraft: 26.1, 26.3, 1.20.1, 1.21.1

Loaders: Fabric, Forge, NeoForge

FileVersionLoaderSize
merlinlib-1.2.1.2612-fabric-26.1-26.2.jar26.1Fabric332 КБDownload
merlinlib-1.2.0.2612-fabric-26.1-26.2.jar26.1Fabric332 КБDownload
merlinlib-1.1.0-fabric-26.1-26.2.jar26.1Fabric442 КБDownload
merlinlib-1.2.2.2612-fabric-26.1-26.2.jar26.1Fabric333 КБDownload
merlinlib-1.0.0-fabric-26.1-26.2.jar26.1Fabric430 КБDownload
merlinlib-1.3.2.2612-fabric-26.1-26.2.jar26.1Fabric336 КБDownload
merlinlib-0.9.2-fabric-26.1-26.2.jar26.1Fabric403 КБDownload
merlinlib-0.9.0-fabric-26.1-26.2.jar26.1Fabric395 КБDownload
merlinlib-1.3.1.2612-fabric-26.1-26.2.jar26.1Fabric357 КБDownload
merlinlib-0.9.1-fabric-26.1-26.2.jar26.1Fabric403 КБDownload
merlinlib-0.8.1-fabric-26.3.jar26.3Fabric309 КБDownload
merlinlib-1.2.1.263-fabric-26.3.jar26.3Fabric332 КБDownload
merlinlib-0.8.1fix-fabric-26.3.jar26.3Fabric311 КБDownload
merlinlib-0.8.3-fix-fabric-26.3.jar26.3Fabric343 КБDownload
merlinlib-0.8.5-fabric-26.3.jar26.3Fabric371 КБDownload
merlinlib-0.9.0-fabric-26.3.jar26.3Fabric386 КБDownload
merlinlib-0.9.1-fabric-26.3.jar26.3Fabric395 КБDownload
merlinlib-0.9.2-fabric-26.3.jar26.3Fabric395 КБDownload
merlinlib-1.0.0-fabric-26.3.jar26.3Fabric428 КБDownload
merlinlib-1.1.0-fabric-26.3.jar26.3Fabric440 КБDownload
merlinlib-1.2.0.263-fabric-26.3.jar26.3Fabric332 КБDownload
merlinlib-0.8.2-fabric-26.3.jar26.3Fabric313 КБDownload
merlinlib-0.7.6-fabric-26.3.jar26.3Fabric245 КБDownload
merlinlib-0.7.5-fabric-26.3.jar26.3Fabric245 КБDownload
merlinlib-1.2.2.263-fabric-26.3.jar26.3Fabric333 КБDownload
merlinlib-1.3.1.263-fabric-26.3.jar26.3Fabric336 КБDownload
merlinlib-0.8.7-forge-1.20.1.jar1.20.1Forge374 КБDownload
merlinlib-0.8.6-forge-1.20.1.jar1.20.1Forge370 КБDownload
merlinlib-1.2.1.1201-forge-1.20.1.jar1.20.1Forge315 КБDownload
merlinlib-1.2.0.1201-forge-1.20.1.jar1.20.1Forge315 КБDownload
merlinlib-1.2.2.1201-forge-1.20.1.jar1.20.1Forge315 КБDownload
merlinlib-1.1.0-forge-1.20.1.jar1.20.1Forge423 КБDownload
merlinlib-1.0.0-forge-1.20.1.jar1.20.1Forge411 КБDownload
merlinlib-1.3.1.1201-forge-1.20.1.jar1.20.1Forge338 КБDownload
merlinlib-0.8.5-forge-1.20.1.jar1.20.1Forge360 КБDownload
merlinlib-0.9.2-forge-1.20.1.jar1.20.1Forge397 КБDownload
merlinlib-0.9.1-forge-1.20.1.jar1.20.1Forge397 КБDownload
merlinlib-0.9.0-forge-1.20.1.jar1.20.1Forge385 КБDownload
merlinlib-0.9.1-neoforge-1.21.1.jar1.21.1NeoForge369 КБDownload
merlinlib-1.2.1.1221-neoforge-1.21.1.jar1.21.1NeoForge298 КБDownload
merlinlib-1.2.0.1221-neoforge-1.21.1.jar1.21.1NeoForge298 КБDownload
merlinlib-1.3.1.1221-neoforge-1.21.1.jar1.21.1NeoForge322 КБDownload
merlinlib-1.1.0-neoforge-1.21.1.jar1.21.1NeoForge395 КБDownload
merlinlib-0.9.2-neoforge-1.21.1.jar1.21.1NeoForge368 КБDownload
merlinlib-0.9.0-neoforge-1.21.1.jar1.21.1NeoForge368 КБDownload
merlinlib-1.2.2.1221-neoforge-1.21.1.jar1.21.1NeoForge298 КБDownload
merlinlib-1.0.0-neoforge-1.21.1.jar1.21.1NeoForge378 КБDownload
merlinlib-0.9.1-neoforge-26.1-26.2.jar26.1NeoForge386 КБDownload
merlinlib-1.2.1.2612-neoforge-26.1-26.2.jar26.1NeoForge310 КБDownload
merlinlib-1.2.0.2612-neoforge-26.1-26.2.jar26.1NeoForge310 КБDownload
merlinlib-1.1.0-neoforge-26.1-26.2.jar26.1NeoForge421 КБDownload
merlinlib-1.3.2.2612-neoforge-26.1-26.2.jar26.1NeoForge334 КБDownload
merlinlib-1.2.2.2612-neoforge-26.1-26.2.jar26.1NeoForge311 КБDownload
merlinlib-1.0.0-neoforge-26.1-26.2.jar26.1NeoForge409 КБDownload
merlinlib-0.9.2-neoforge-26.1-26.2.jar26.1NeoForge386 КБDownload
merlinlib-0.9.0-neoforge-26.1-26.2.jar26.1NeoForge386 КБDownload
merlinlib-1.3.1.2612-neoforge-26.1-26.2.jar26.1NeoForge334 КБDownload
merlinlib-0.7.6-neoforge-26.3.jar26.3NeoForge244 КБDownload
merlinlib-1.2.2.263-neoforge-26.3.jar26.3NeoForge311 КБDownload
merlinlib-0.8.1-neoforge-26.3.jar26.3NeoForge308 КБDownload
merlinlib-0.8.2-neoforge-26.3.jar26.3NeoForge311 КБDownload
merlinlib-1.2.1.263-neoforge-26.3.jar26.3NeoForge310 КБDownload
merlinlib-0.7.5-neoforge-26.3.jar26.3NeoForge244 КБDownload
merlinlib-0.9.0-neoforge-26.3.jar26.3NeoForge375 КБDownload
merlinlib-1.2.0.263-neoforge-26.3.jar26.3NeoForge310 КБDownload
merlinlib-1.3.1.263-neoforge-26.3.jar26.3NeoForge335 КБDownload
merlinlib-0.9.1-neoforge-26.3.jar26.3NeoForge378 КБDownload
merlinlib-0.8.1fix-neoforge-26.3.jar26.3NeoForge310 КБDownload
merlinlib-0.8.3-fix-neoforge-26.3.jar26.3NeoForge341 КБDownload
merlinlib-1.1.0-neoforge-26.3.jar26.3NeoForge419 КБDownload
merlinlib-0.9.2-neoforge-26.3.jar26.3NeoForge378 КБDownload
merlinlib-0.8.5-neoforge-26.3.jar26.3NeoForge369 КБDownload
merlinlib-1.0.0-neoforge-26.3.jar26.3NeoForge407 КБDownload

MerlinLib

If you have ever written a content mod for Minecraft, you know the grind: registering an enchantment here, a potion variant there, then wiring up loot tables, join messages, and mob behaviour hooks that every project eventually needs. MerlinLib exists to take that repetitive scaffolding off your plate. It is a library mod built for mod authors, gathering the registration lines and utility systems that content mods keep reinventing into a single, well-organized entry point.

What MerlinLib Actually Provides

Everything in the library is reached through one class: com.huziyang520.merlinlib.api.MerlinApi. That single entry point keeps your imports tidy and your code readable. Here is the core of what you get.

Registration: Enchantments, Effects, and Potions

The three main registration lines cover the content most mods need. You can register an enchantment directly from code, or describe it in a JSON file under config/MerlinLib/*.json and let the library handle registration at startup. Mob effects work the same way, and you can even recolour or disable existing effects through configuration. Potions round it out, including the familiar normal, long, and strong variants of a single effect.

Events and Hooks

  • Enchantment events: Eight event types with the equipment scan already done for you, matched by enchantment id.
  • Loot injection: Drop enchanted books or custom items into vanilla chests and mob drops without rewriting loot tables.
  • Join notices: Show a chat message when a player arrives, with per-mod toggles handled automatically.
  • Server lifecycle: Starting, started, stopping, and player join events, with the two start moments kept strictly distinct.
  • Mob behaviour hooks: Veto a mob's target or make it keep its distance, covering ordinary mobs and brain-based mobs like the piglin family.

There are also smaller conveniences that add up: interface animation curves and intro animations any mod can drive its own screens with, colour parsing and gradients, grant counters, and smelting lookups. For players who prefer a frictionless setup, the foxygame.net launcher installs MerlinLib in a single click and keeps it updated automatically alongside the rest of your add-on catalog.

Supported Versions and Loaders

MerlinLib is designed for modern Minecraft releases and follows the loader conventions of the platform it targets, so you should confirm the exact Minecraft version and mod loader listed on the project page before adding it to a pack. Because the library is also a client-side mod, its configuration screen and join notice page ship inside the same jar. That means even a mod that only wants the registration API still installs just one file, but it must be present on both the client and the server.

How to Install MerlinLib

Installation is straightforward for developers and players alike. Place the jar in your mods folder on both sides, then add it as a dependency in your project and call MerlinApi. When you download MerlinLib, check that the build matches your Minecraft version and loader. Configuration lives in config/MerlinLib/*.json for content and config/MerlinLib/client.toml for client switches; the in-game configuration screen opens from the mod list and applies changes on save.

For players running modpacks, the foxygame.net launcher also handles version compatibility checks, so the MerlinLib build you get always matches the Minecraft version you are launching.

Why It Belongs in Your Toolkit

MerlinLib is released under CC0 1.0 Universal, meaning you can use it freely in any project without licensing headaches. If you are a mod author tired of rewriting the same registration boilerplate, or a pack maker looking for a dependable foundation, MerlinLib for Minecraft offers a clean, documented API that grows with your content. Grab the latest build, drop it in, and spend your time on the fun parts of modding instead of the plumbing.

--- **Update Nov 30, 2026:** Added 19 files for version 26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.1, 1.20.1 (NeoForge, Fabric, Forge).