CNPC Magic
Bring magic and spellcasting to CustomNPCs!
CNPC Magic extends CustomNPCs with magic integration, providing visual spell configuration for NPC combat and script-based spellcasting APIs.
Features
Visual Magic Editor
- Dedicated magic tab for NPCs.
- Visual configuration of spells for NPC combat.
- Designed for easy setup without requiring scripts.
Script API
Provides direct spellcasting methods for scripts:
event.npc.castSpell(id, level, target);
event.player.castSpell(id, level, target);
event.block.castSpell(caster, id, level, target);
event.item.castSpell(caster, id, level, target);
These methods allow NPCs, players, blocks and items to cast spells through scripts.
Supported Versions
- Minecraft 1.20.1 (Forge)
- Minecraft 1.12.2 (Forge)
Compatibility
Designed to support multiple magic mods, with additional integrations planned for future releases.

