Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published last month
⚔️ This is a Magic Staff | 万法皆杖 ⚔️
Turn any item into a spellcasting implement — Your sword is now your wand
📖 Overview
This is a Magic Staff! (万法皆杖) is a NeoForge 1.21.1 addon for Iron's Spells 'n Spellbooks that liberates your spellcasting potential.
- Transform any item in your hand — diamond swords, iron axes, even a potato — into a functional spellcasting staff with a single keystroke. Cast devastating spells, then revert back to melee combat instantly.
- Currently, you can press the J key while holding a magic book or weapon to take out the fixed spells. Executing this action will consume 5 levels of experience, and it can be toggled on or off in the configuration(🎉Thank you for the suggestions provided by the community!)
+ No crafting recipes needed — use existing gear
+ Seamless weapon/staff switching mid-combat
+ Persistent state saved to item NBT
+ Zero visual clutter — no new item sprites
✨ Key Features
| Feature | Description | Benefit |
|---|---|---|
| 🔮 Dynamic Conversion | Toggle any item's casting capability on/off | No inventory bloat |
| ⚔️ Dual-Mode Items | Switch between melee weapon and spell staff | Tactical flexibility |
| 💾 Persistent State | Conversion status saved in item data | Survives drops/death |
| 🌐 Bilingual | Full English & 简体中文 support | Global accessibility |
🎮 How to Use
Step 1: Hold any item (Sword, Axe, anything!)
↓
Step 2: Press [H] to activate casting mode
↓
Step 3: Equip spells via ISS spellbook/wheel
↓
Step 4: Right-click to cast!
↓
Step 5: Press [H] again to revert to weapon
💡 Tip: Keybind can be customized in Options → Controls → Key Binds
🔧 Technical Details
Utilizes Minecraft 1.21.1's Data Component System:
// Core logic (simplified)
item.set(DataComponents.CASTING_IMPLEMENT, true); // Enable casting
item.remove(DataComponents.CASTING_IMPLEMENT); // Disable casting
- Iron's Spells 'n Spellbooks automatically recognizes items with the
CASTING_IMPLEMENTcomponent, enabling right-click spellcasting functionality.
🐛 Known Issues
- None currently reported
Please submit issues via GitHub Issues or CurseForge comments!
![[ISS TMS] This is a Magic Staff !](https://cdn.modrinth.com/data/tJuTRDX0/c70af2290007a13125d4830931b4354982801dce_96.webp)

