MerlinLib Mod gives other mods three core registration lines for enchantments, mob effects, and potions, along with a ready-to-use testing toolkit. Through a single API entry point, this library bundles ten shared systems that content mods need, including eight enchantment event types, vanilla loot injection, join notices, server lifecycle tracking, mob behaviour hooks, interface animations, and colour helpers. It handles both code-based setup and startup registration from JSON files, and keeps client switches accessible inside an in-game screen that opens from the mod list. This mod must stay present on both the client and the server because its settings screen, join notice page, and registration tools all ship inside one jar file.

MerlinLib Mod

People Also Search For
minecraft library mod that registers custom enchantments mob effects and potions from json filesis there a minecraft api mod that generates normal long and strong potion variants from one effectminecraft mod library with eight enchantment event types and automatic equipment scanning by idhow to recolor or disable existing mob effects using json config files in minecraft 1.20.1minecraft core library that injects enchanted books into vanilla loot chests and mob drop tablesmod api with mob behavior hooks that veto targets or make piglins keep their distanceminecraft library mod with per mod chat join notice toggles inside the mod list settings screendual side minecraft enchantment library on 26.3 with shared interface intro animations and color gradientshow to turn off per mod join notices in merlinlib client.toml or settings screendoes merlinlib need to be installed on both client and server for custom enchantment json loading

Features:

  • Unified API Entry Point: Routes every capability through a single access class, com.huziyang520.merlinlib.api.MerlinApi, keeping code access consistent for dependent mods.
  • Three Core Registration Lines: Registers custom enchantments, mob effects, and potions in one shared library instead of repeating boilerplate across separate mods.
  • Built-In Testing Toolkit: Ships a ready-to-use testing toolkit right on top of the enchantment, effect, and potion registration lines.
  • Single-Jar Dual-Side Packaging: Packs the registration API, the in-game settings screen, and the join notice page into one file that installs on both the client and the server.
  • Registers custom enchantments directly from code or loads definitions written in JSON files automatically during startup.
  • Registers new mob effects and lets you recolour or turn off existing mob effects right from the settings files.
  • Registers new potions, including normal, long, and strong variants generated from a single effect.
  • Provides eight enchantment event types that handle equipment scanning automatically and match triggers by enchantment ID.
  • Injects enchanted books and custom items straight into vanilla loot chests and mob drop tables.
  • Displays chat join notices when players arrive in a world, complete with a per-mod toggle managed by the library.
  • Tracks server lifecycle events for starting, started, stopping, and player join, keeping the starting and started moments strictly separate.
  • Hooks into mob behaviour to veto a mob’s chosen target or make the mob keep its distance, covering both regular mobs and brain-based mobs such as the piglin family.
  • Shares the opening curves and intro animations used by the library’s own screens so other mods can drive their own interfaces with the same motion.
  • Includes colour parsing, colour gradients, grant counters, and smelting lookup helpers for common mod tasks.

Configuration:

  • config/MerlinLib/*.json: Holds JSON definitions for custom content such as enchantments and effect adjustments, registered automatically at startup.
  • config/MerlinLib/client.toml: Stores client-side switches, including per-mod toggles for chat join notices.

How to Use:

  1. Keep the library jar installed on both the client and the server so the registration API, settings screen, and join notice page all load together.
  2. Place JSON definition files inside config/MerlinLib/ to register custom enchantments or adjust existing mob effects automatically at startup.
  3. Open the in-game mod list and enter this library’s settings screen to change client switches such as per-mod join notices.
  4. Save your changes in the settings screen to apply them immediately, or edit config/MerlinLib/client.toml directly.
  5. Add the jar as a dependency in a dependent mod and call com.huziyang520.merlinlib.api.MerlinApi to reach every registration line and hook.

MerlinLib Mod Download Links

Filter by

For Minecraft 26.3

For Minecraft 26.2, 26.1.2, 26.1.1

For Minecraft 1.21.1, 1.21

For Minecraft 1.20.1, 1.20

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

Which performance or optimization mod do you rely on the most?

74 responses · See the full results →