promotional bannermobile promotional banner

CNPC magic

A Minecraft CustomNPCs addon that brings magic systems and spellcasting mechanics into NPCs, with support for multiple magic mods. Available for Forge 1.12.2 and 1.20.1.

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.

CNPC magic Team

profile avatar
  • 9
    Followers
  • 16
    Projects
  • 23.1K
    Downloads

More from XiaoBiniaoXView all

  • CNPC Curios API project image

    CNPC Curios API

    Adds a Curios GUI to CustomNPCs entities, allowing NPCs to visually wear and render Curios accessories. Perfect for military and combat maps!

    • 1.2K
    • October 30, 2026
  • CNPC-Emote project image

    CNPC-Emote

    CNPC-Emote compatibility mod, allowing CNPC to play CNPC-Emote animations.

    • 94
    • October 30, 2026
  • CNPC-plus-Fix project image

    CNPC-plus-Fix

    CNPCPlus is a community-driven enhancement for CustomNPCs, featuring bug fixes, performance improvements, compatibility patches, new features, and long-term maintenance while preserving compatibility with existing worlds and projects.

    • 5.7K
    • October 30, 2026
  • CNPC-BetterCombat project image

    CNPC-BetterCombat

    Enables Better Combat attack mechanics and animations for CustomNPCs

    • 2.3K
    • October 17, 2026
  • CNPC Curios API project image

    CNPC Curios API

    Adds a Curios GUI to CustomNPCs entities, allowing NPCs to visually wear and render Curios accessories. Perfect for military and combat maps!

    • 1.2K
    • October 30, 2026
  • CNPC-Emote project image

    CNPC-Emote

    CNPC-Emote compatibility mod, allowing CNPC to play CNPC-Emote animations.

    • 94
    • October 30, 2026
  • CNPC-plus-Fix project image

    CNPC-plus-Fix

    CNPCPlus is a community-driven enhancement for CustomNPCs, featuring bug fixes, performance improvements, compatibility patches, new features, and long-term maintenance while preserving compatibility with existing worlds and projects.

    • 5.7K
    • October 30, 2026
  • CNPC-BetterCombat project image

    CNPC-BetterCombat

    Enables Better Combat attack mechanics and animations for CustomNPCs

    • 2.3K
    • October 17, 2026