promotional bannermobile promotional banner

CodeBadger: Skillsmith x Iron's Spells

Addon for Skillsmith adding new skills, perk, xp sources, and other changes for Iron's Spells and Spellbook stuff.

CodeBadger: Skillsmith x Iron's Spells

Iron's Spells 'n Spellbooks support for CodeBadger: Skillsmith: spellcasting, magic gear and magic crafting become skills of their own.

This addon adds three new skills and a skill for every school of magic, then ties Iron's Spells into Skillsmith's locks: casting spells, crafting spell books and runes, forging scrolls, wearing magic armor and rings, and even using vanilla magic items like ender pearls and beacons. Like Skillsmith itself, everything lives in plain JSON files in your config folder, so you can rebalance or rework all of it.

Beta: the addon is feature-complete and tested on servers, but new. Please report bugs and balance feedback.

Requires: CodeBadger: Skillsmith 1.0.0-1.21.1 or newer and Iron's Spells 'n Spellbooks 3.8.3 or newer, with NeoForge 21.1.60 or newer.


New skills

Skill What it's for Perks
Magic Casting spells More max mana and spell power
Wisdom Wearing magic armor and jewelry Faster mana regen and more spell resist
Intelligence Crafting magic items Shorter spell cooldowns and faster casting

They're added after Skillsmith's 20 skills, and their icons grow with them: Magic's spell book goes from copper to netherite, Wisdom's chestplate from Wandering Magician to Paladin, and Intelligence's ink from common to legendary. In vanilla XP mode they're bought like any other skill, and the point budget grows to fit them.


A skill for every school

Fire, Ice, Lightning, Holy, Ender, Blood, Evocation, Nature and Eldritch Magic each get a skill, shown with the school's focus item and giving that school's spell power and magic resist.

  • They level by using magic, even on servers where every other skill is bought with vanilla XP, so they never cost points. Dealing damage with a school's spells, letting its summons fight for you, spending mana on its spells and, for Holy, healing all train it.
  • Schools from other mods get one too. The addon reads Iron's Spells' list of schools each time the server starts, so a school added by another Iron's Spells addon gets its own skill, name, icon, perks and XP with no extra work.
  • Don't want them? Turn them off in the addon's config. Players keep their levels, and any lock that needed a school skill falls back to its other requirements.

Magic

  • Casting needs Magic by rarity: uncommon spells need Magic 6, rare 12, epic 20 and legendary 28. This applies to spell books, scrolls and imbued weapons.
  • Spell books need Magic to equip, from copper (2) to netherite and dragonskin (24).
  • XP from casting: every cast, every point of mana spent and every point of damage your spells and summons deal trains Magic.
  • Instant Mana potions need Alchemy, or a higher level of Magic, to brew.
  • The pocket dimension needs Magic 16 or Ender Magic 10.

Wisdom

  • Magic armor needs Wisdom to wear: Wandering Magician (4), wizard armor (8), the eight elemental sets (14), Paladin and Infernal Sorcerer chestplates (22) and Netherite Mage (24).
  • Elemental armor also needs its school: Pyromancer armor needs Fire Magic 6, Priest armor Holy Magic 6, and so on.
  • Rings, amulets and talismans need Wisdom, from the silver ring (4) to the greater conjurer's talisman (18). They can also be forced with Magic at about 1.5 times the level.
  • Locks work in Curios slots too. A locked ring or spell book can't be equipped, and one already worn comes off.

Intelligence

  • Crafting Iron's Spells items needs Intelligence, in tiers that follow Iron's Spells' own materials: magic cloth and copper (2-4), arcane essence and iron (8-10), gold, runes and the elemental armor (12-16), mithril, diamond and upgrade orbs (18-22), and netherite and boss drops (24-28).
  • School items also need their school: a fire upgrade orb needs Intelligence 18 and Fire Magic 10.
  • Iron's Spells' workstations are locked too. Scrolls from the scroll forge need Intelligence by rarity (common 10 up to legendary 26): the scroll in the forge shows what its rarity needs in its tooltip, and clicking a locked one says so above the forge. Items taken out of the arcane anvil need the skills to craft them, and inks and elixirs bottled from the alchemist cauldron need Intelligence or Alchemy.
  • XP from crafting: crafting, forging scrolls, bottling inks and upgrading at the arcane anvil train Intelligence, more for higher-tier items.

Vanilla magic items

The addon reworks some of Skillsmith's own locks so the new skills fit vanilla too: Intelligence crafts magic items, and Magic uses them.

  • Ender pearls, eyes of ender and ender chests need Magic (or Exploration or Building) instead of Enchanting.
  • End crystals, beacons and conduits are crafted with Intelligence (or Building), and beacons and conduits need Magic to use.
  • The respawn anchor, enchanting table and brewing stand can also be crafted with Intelligence, and the totem of undying can use Magic instead of Enchanting.
  • Enchantments that match a school need it too: Fire Aspect II and Flame need Fire Magic, Frost Walker needs Ice Magic, Channeling needs Lightning Magic, and Smite IV and V need Holy Magic.

Spells never train Attack or Dexterity: spell damage isn't a melee hit, and spell projectiles don't count as ranged damage.


For pack makers

  • config/skillsmith/readmes/codebadger_skillsmith_irons_spells.md explains what the addon adds and which file does what, kept up to date with the addon.
  • All of it is in your Skillsmith config folder: skills/, perks/, xp_sources/ and gates/ files named after Iron's Spells. Change or delete anything. The files are copied in once and never overwritten, except the school skill files, which are rebuilt each start (override them in your own file).
  • The _vanilla.json lock files replace Skillsmith's own locks on those vanilla items instead of adding to them.
  • Everything the addon adds needs the addon to be installed, so removing it brings back Skillsmith's own locks, even with its files still in your config.
  • The addon adds XP source types you can use anywhere: casting spells, spending mana, spell and summon damage and healing (each for any school or one school), forging scrolls and bottling from the cauldron. The arcane anvil's XP uses Skillsmith's own workstation XP.
  • config/skillsmith-irons-spells-common.toml sets the casting levels, the scroll forge levels and whether to make school skills.

Compatibility

  • NeoForge 21.1.60 or newer. Current Iron's Spells releases need NeoForge 21.1.221 or newer through Iron's Lib.
  • Iron's Spells 3.8.3 or newer. On 3.8.x, a few locks and icons for items that version doesn't have yet are reported and skipped.
  • Alchemist cauldron locks need Iron's Spells 3.11 or newer.
  • Works in single player and on servers. Install it on both the server and every client.

CodeBadger: Skillsmith x Iron's Spells Team

profile avatar
  • 13
    Projects
  • 1.8K
    Downloads

More from CodeBadgerView all