Description
🪄 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
🎮 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.
📝 Configuration / 配置说明
Config Location: .minecraft/config/this_is_a_magic_staff-common.toml
toml
[magic]
# Enable debug logging
logDebug = false
🐛 Known Issues
- None currently reported
Please submit issues via GitHub Issues or CurseForge comments!
📥 Download
✨🪄 -[ Every item is a wand waiting to be awakened ]- 🪄✨
undefined


