CustomNPC x MMNM Compat

Quick rating

CustomNPC x MMNM Compat

No reviews yet

Let CustomNPCs use Mine Mine no Mi + Addons abilities

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
mmnm-npc-compat-1.0.9.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Mine Mine no Mi NPC Compat

Give any CustomNPCs mob the full power of Mine Mine no Mi abilities — no coding required.

MMNM NPC Compat is a bridge mod between Mine Mine no Mi (and its addons) and CustomNPCs, allowing you to configure any named NPC as a fully-featured One Piece boss with phase-based ability rotations, permanent haki passives, combat conditions, and — since 1.0.5 — live JavaScript script integration. All through simple JSON files.


✨ Features

  • JSON-driven configuration — drop a file in config/mmnm_npc_compat/ and any NPC with a matching name becomes a boss
  • Full ability support — works with instant, charge-based, and continuous abilities from Mine Mine no Mi, cartaddon, fruitreworks, and any MMNM-compatible addon
  • Phase system — unlock abilities at specific HP thresholds (e.g. only use the ultimate move below 40% HP)
  • Permanent passives — keep haki hardening, logia immunities, zoan transformations, or any buff active at all times
  • Combat conditions — control ability usage by player distance, nearby player count, and health range
  • Per-ability cooldowns — replace MMNM's player-only cooldown system with your own timings (in milliseconds)
  • Spawn stagger — startDelayMs prevents all abilities from firing simultaneously on spawn
  • Haki bar support — automatically grants max haki EXP to NPC bosses so the haki bar never blocks their abilities
  • Goal persistence — re-injects ability goals if CustomNPCs clears them during its own AI ticks
  • Force charge/continuous — forceChargeDuration and forceContinuousDuration for abilities with player-only use guards
  • CustomNPCs script integration (new in 1.0.5) — your NPC's JS script receives onMMNMAbility(event) and onMMNMAbilityEnd(event) callbacks every time an ability fires or ends, letting you dynamically scale damage, trigger dialogue, or react to any phase change without touching Java

📦 Requirements

Mod Version
Minecraft Forge 1.16.5
Mine Mine no Mi 0.10.10+
CustomNPCs 1.16.5

Compatible with: cartaddonfruitreworksawakenawakennomifightingstyles, and any mod that registers abilities in MMNM's ModRegistries.ABILITIES registry.

CustomNPCs is optional for the script integration — if it is absent, all callbacks silently no-op and the rest of the mod works normally.


⚙️ Quick Setup

  1. Place the JAR in your mods/ folder
  2. Start the server once to generate the config folder
  3. Create a JSON file in config/mmnm_npc_compat/ named after your NPC
  4. Set matchValue to the exact in-game name of the NPC
  5. Add ability entries with their registry IDs, cooldowns, and conditions
  6. Restart the server — done

🧩 Script Integration (1.0.5)

If the NPC has a CustomNPCs script attached, you can react to ability events in JavaScript:

function onMMNMAbility(event) {
// event.abilityId, event.slot, event.fireCount, event.cooldownMs, event.isPermanent
// event.damageMultiplier (read/write) — scales all projectile damage from this NPC
if (event.abilityId == "mineminenomi:yasakani_no_magatama") {
event.damageMultiplier = 3.0;
}
}
 
function onMMNMAbilityEnd(event) {
event.damageMultiplier = 1.0; // reset when the ability ends
}
 

The bridge uses pure reflection — no compile-time dependency on CustomNPCs.


The CustomNPC × MMNM Compat Team

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works