Wiki 9Minecraft Wiki 9Minecraft

Extending Remapping with Custom Hooks

Java EditionModGuides 4FAQ 10Related mods 48
DownloadMod Remapping API Mod

Get the files on 9Minecraft

Contents (4)
  1. What Hooks Allow
  2. For Mod Developers
  3. Implementing Hooks
  4. Best Practices

What Hooks Allow

Mod Remapping API Mod provides hooks—integration points where other tools can intercept and modify the remapping process. This lets developers create custom compatibility solutions beyond what the base mod offers.

For Mod Developers

If you're developing a compatibility tool or launcher enhancement, you can tap into these hooks to adjust how mods are remapped. This is useful for handling edge cases, applying custom transformations, or adding version-specific fixes that the standard remapping can't handle.

Implementing Hooks

Hooks are called during the launch sequence before mods initialize. Your code can inspect mod bytecode, modify mappings, or inject compatibility patches. Refer to the mod's API documentation for available hook types and their execution order.

Best Practices

Keep hook implementations lightweight—heavy processing during launch slows startup. Test thoroughly across different game versions and mod combinations. Document which mods or scenarios your hook targets, so users understand when it applies.

More guides for this mod