Spear Legacy
Backports the Spear from newer Minecraft versions (1.21.11 / 26.1) to Minecraft 1.21.1 NeoForge, with the original mechanics, animations and data. This is an unofficial fan port and is not affiliated with Mojang Studios.
Features
- Seven spears: wooden, stone, copper, iron, golden, diamond and netherite. Craft them with a stick and the material, upgrade diamond to netherite at the smithing table, burn wooden spears as fuel and smelt iron or golden spears back into nuggets.
- Stab (left click): a longer-reach thrust with its own attack timing and swing animation.
- Charge (right click): hold the spear and run into enemies. Damage depends on your speed relative to the target, a fast enough charge knocks targets back or off their mounts, and one charge can hit several mobs in a row.
- Lunge enchantment: levels I–III dash you forward when you stab, at the cost of durability and hunger.
- Enchantments: spears accept Sharpness, Smite, Bane of Arthropods, Knockback, Fire Aspect, Looting, Unbreaking and Mending.
- Mobs: zombies can spawn with iron spears, zombified piglins and piglins with golden spears, and they use them with the full charge AI. Piglins love golden spears.
- Loot: spears appear in bastions, buried treasure, end cities, underwater ruins and village weaponsmiths.
- Advancement: "Mob Kabob", hit five mobs in a single charge.
- Animations: first-person and third-person stab, charge and holding poses, plus the attack range shown on the crosshair.
Bug Fixes
Some known problems of the original spear are fixed, and each fix can be turned off in the config:
- Touching a mob with a charge that deals no damage no longer makes it immune to your next hit (MC-310858).
- Charge damage and knockback now follow the same rules, so a hit that deals damage always knocks back.
- An off-hand spear no longer uses the enchantments of your main-hand item (MC-302732).
- Knocking back a target with a charge keeps your sprint and speed.
Configuration
- Startup config: stats of every spear (damage, durability, attack timing, charge speed thresholds) and attack range. Requires a restart, and the server and client should use the same file.
- Common config: bug fix toggles, charge cooldown, minimum hunger for Lunge, mob spear chances and AI, and loot injection for each loot table.
- Client config: charge hit sound and first-person swap animation.
All options can also be edited in game from the mod list.
Compatibility
- Only NeoForge is required.
- Works on both client and server, and must be installed on both sides.
长矛移植
把新版本 Minecraft(1.21.11 / 26.1)的矛移植到 Minecraft 1.21.1 NeoForge,保留原版的机制、动画与数据。本模组为非官方移植,与 Mojang Studios 无关。
功能
- **七种矛:**木、石、铜、铁、金、钻石、下界合金。用木棍和材料合成,钻石矛可在锻造台升级为下界合金矛;木矛可作燃料,铁矛和金矛可熔炼回粒。
- **刺击(左键):**攻击距离更远的突刺,有独立的攻击节奏和挥动动画。
- **冲锋(右键):**持矛奔跑撞向敌人。伤害取决于你与目标的相对速度,速度足够时会击退目标或把它打下坐骑,一次冲锋可以连续命中多只生物。
- **突进附魔:**I~III 级,刺击时向前冲刺,会消耗耐久和饥饿值。
- **附魔:**矛可以附锋利、亡灵杀手、节肢杀手、击退、火焰附加、抢夺、耐久和经验修补。
- **生物:**僵尸可能持铁矛生成,僵尸猪灵和猪灵可能持金矛,并使用完整的冲锋 AI;猪灵喜爱金矛。
- **战利品:**堡垒遗迹、埋藏的宝藏、末地城、水下遗迹和村庄武器匠的箱子里会出现矛。
- 进度:「生物串串香」,一次冲锋命中五只生物。
- **动画:**第一人称与第三人称的刺击、冲锋和持矛姿势,准星会显示攻击距离。
Bug 修复
修复了原版矛的部分已知问题,每一项都可以在配置中关闭:
- 冲锋碰到生物但没有造成伤害时,不再让它对下一次攻击免疫(MC-310858)。
- 冲锋的伤害与击退使用同一套判定,造成伤害时一定会击退。
- 副手持矛时不再使用主手物品的附魔(MC-302732)。
- 冲锋击退目标后保留疾跑和速度。
配置
- **启动配置:**每种矛的数值(伤害、耐久、攻击节奏、冲锋速度阈值)和攻击距离。修改后需重启游戏,服务端与客户端应使用同一份。
- **通用配置:**Bug 修复开关、冲锋冷却、突进所需最低饥饿值、生物持矛概率与 AI、各战利品表的注入开关。
- **客户端配置:**冲锋命中音效和第一人称切换动画。
所有选项也可以在游戏内的模组列表中修改。
兼容性
- 只需要 NeoForge。
- 客户端和服务端都需要安装。

