Overview
IonTech’s Modular Systems is built on a fundamental principle: centralize commonly used gameplay logic into reusable modules. Rather than copying and pasting skill configurations across your MythicMobs setup, you build complex behaviors by composing smaller, specialized modules.Every module is designed to integrate with all other modules, allowing for complex behavior by nesting modules within each other.
What Are Modules?
Modules are self-contained skill systems that:- Accept inputs via skill parameters (using
<skill.parameter>syntax) - Handle specific gameplay logic independently
- Can be nested within each other for composition
- Minimize technical debt by centralizing common patterns
Core Design Principles
1. Parameter-Driven Configuration
Modules accept configuration through skill parameters rather than hard-coded values. This makes them flexible and reusable:2. Integration by Design
All modules in the system are designed to work together seamlessly. For example:- Spell Handler manages casting, cooldowns, and warmups
- Damage Core handles percentage-based damage scaling
- Knockback Core provides deterministic knockback
- Modifier Handler enables custom buffs/debuffs
3. Nested Composition
Modules can call other modules, creating layers of functionality:Module Categories
- Input Handlers
- Skill Handlers
- Skill Mechanics
Handle player input and bind skills to actions:
- Weapon Movesets - Flowing attack combos integrated with vanilla mechanics
- Click Combos - Wynncraft-style combination casting (e.g., LLL, RRR)
- Spell Cycling - Cycle through up to 9 bound skills on items
- Hit Evaluation - Detect vanilla hit types (CRIT, SPRINT, WEAK)
Benefits of Modular Design
Scalability
Add new spells without rewriting core logic. Thefrost_shard and burning_blast demo spells both use:
- The same Spell Handler for casting
- The same Damage Core for dealing damage
- The same setRandomID module for damage tracking
Maintainability
Fix a bug once, and it’s fixed everywhere. If you improve the cooldown display in the Spell Handler, all spells using that handler benefit automatically.Consistency
All spells cast through the Spell Handler have consistent behavior:- Cooldown displays work the same way
- Charge systems behave predictably
- Channeling interrupts follow the same rules
- VFX and sound effects are standardized
Customization
Despite being modular, the system is highly customizable:onChannelStart, onCast, etc.) can execute custom logic while still benefiting from the core handler’s functionality.
Design Trade-offs
What this system is good for
What this system is good for
- Building complex spell systems with casting, cooldowns, and charges
- Creating consistent gameplay mechanics across many abilities
- Rapid prototyping of new abilities by composing existing modules
- Large-scale projects where maintainability matters
- Risk of Rain-style stacking systems via Modifier Handler
What this system is NOT designed for
What this system is NOT designed for
- Simple one-off mechanics that don’t need modularity
- Minimal MythicMobs setups (the system has overhead)
- Projects where every ability must be completely unique
- Users without basic MythicMobs knowledge (required for effective use)
Getting Started
To effectively use the modular system:- Study the demo spells in
Demo Skills/Demo Spells/ - Understand the Spell Handler as it’s the core of most interactions
- Learn the parameter syntax for passing data between modules
- Experiment with nesting to build complex behaviors
The original creator notes: “I cannot say if I succeeded or failed in [centralizing gameplay logic]. Likely a bit of both.” The system is powerful but has a learning curve—treat it as a primer to advanced MythicMobs usage.
Next Steps
Skill Parameters
Learn how to pass data between modules using the
<skill.parameter> syntaxNesting Modules
Understand how to compose modules for complex behaviors