Irons Spells N FTB Teams
A lightweight bridge / addon mod: makes Iron's Spells 'n Spellbooks spell summons (skeletons, zombies, vexes, polar bears, etc.) respect FTB Teams allegiance when picking attack targets.
Within the same FTB team, players — and their summons — will never be targeted by each other's summons, even if the players can still deal damage to one another directly. No teleporting, no items, no new spells — just a targeting fix.
Features
- Summons ignore teammates (and teammates' summons) when selecting attack targets
- Single config toggle to enable/disable, no need to uninstall
- Zero new items, blocks, or spells added — pure behavior patch via a minimal Mixin
- Boss-summoned mobs (Necromancer, Fire Boss, etc.) are unaffected — only player-owned summons are considered
Requirements
| Mod | Version |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 21.1.235+ |
| Iron's Spells 'n Spellbooks | 1.21.1-3.16.2+ |
| FTB Teams | 2101.1.10+ |
Both listed mods are required — this addon will fail to load without them. Their own dependencies (GeckoLib, Curios, Player Animator, Iron's Lib, Architectury, FTB Library) must also be installed as usual.
Configuration
enableTeamSummonProtection (default: true) — disable to fully revert to vanilla Iron's Spells targeting behavior.
Notes
- Server-side logic only; safe for dedicated servers and single-player
- Damage between teammates (friendly fire) is unaffected — that's governed by vanilla scoreboard team settings, not this mod
- This mod's code was generated by AI (Claude Code) under human direction
License
GPL-3.0-or-later. Source: GitHub
彼岸迷途者的队伍法术桥接(Irons Spells N FTB Teams)
一个轻量级桥接 / addon 模组:让 Iron's Spells 'n Spellbooks 的法术召唤物(骷髅、僵尸、Vex、极地熊等)在选取攻击目标时,尊重 FTB Teams 的队伍关系。
同一个 FTB 队伍内的玩家之间,即使互相能造成伤害,对方(或对方的召唤物)也不会被自己的召唤物当作攻击目标。不涉及传送、不加物品、不加法术——只是修正了目标选取逻辑。
功能
- 召唤物在选取攻击目标时会自动忽略队友(以及队友的召唤物)
- 唯一配置开关,随时可以启用/关闭,无需卸载模组
- 不添加任何新物品、方块或法术——纯粹是通过一个最小化 Mixin 做的行为修正
- Boss 召唤的仆从(死灵法师、火焰领主等)不受影响——只处理玩家拥有的召唤物
前置模组
| 模组 | 版本 |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 21.1.235 及以上 |
| Iron's Spells 'n Spellbooks | 1.21.1-3.16.2 及以上 |
| FTB Teams | 2101.1.10 及以上 |
以上两个模组都是必需依赖——缺失会导致本模组加载失败。它们各自的依赖(GeckoLib、Curios、Player Animator、Iron's Lib、Architectury、FTB Library)也需要按正常要求安装。
配置
enableTeamSummonProtection(默认 true)——关闭后完全回退到原版 Iron's Spells 的目标选取行为。
说明
- 逻辑只在服务端运行,专用服务器和单人游戏都可以安全使用
- 队友之间的直接伤害(友伤)不受影响——那由原版计分板队伍设置控制,与本模组无关
- 本模组的代码由 AI(Claude Code)在人工指导下生成
协议
GPL-3.0-or-later。源码:GitHub