Note: Porting this mod to older versions will take a while! This is because of how the original spear code is written. It needs to be completely rewritten for versions before 1.21 for it to even work!
This mod attempts to accurately backport the spears added in the upcoming Mounts of Mayhem update. From the spears themselves, to technical changes that came with them.
I am aware that some of the animations here are not 1:1 with the official ones, but I will likely update them to be more accurate when Mounts of Mayhem releases
Compatibility:
-Resource packs for 1.21.11 that change the texture, sound effects or localization of spears will also work here
-Datapacks that use item components added by 1.21.11 will likely work as long as this mod in installed
-Better Combat: overrides the spear animation this mod adds for the spears
Config:
-spear_charge_attacks: allows spears to perform their right-click charge ability (true by default)
-spear_stabbing_animation: makes spears play different attack animation (true by default, false if Better Combat is installed)
-tridents_use_spear_attack_animation: makes tridents also use the spear stabbing animation (false by default)
Miscellaneous:
Advancements:
-Mob Kabob: Hit five mobs with any spear in one charge attack
Enchantments:
-Lunge: Spears propel the user forward
Technical Changes:
-"piercing_weapon", "kinetic_weapon", "use_effects", "swing_animation", "attack_range" and "minimum_attack_charge" item components have been backported
-"post_piercing_attack" enchantment component have been backported
-"apply_impulse" and "apply_exhaustion" enchantment effects have been backported
-"spear_mobs" advancement criterion have been backported
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 | ||||
| 1d ago | 1 |
- Fixed crash when opening inventory.
- Fixed copper spears not existing.
- Fixed crash when opening inventory.
- Fixed copper spears not existing.
- Redid the code for patching certain enchantments and allowing them to be put in spears.
- Fixed Lunge being enchantable onto any weapon.
- Fixed Knockback and Fire Aspect not being enchantable on spears in the enchanting table.
- Fixed damage enchantments only being enchantable on spears via enchanting tables.
- Fixed a rare crash on Forge when putting a spear in the enchanting table.
- Redid the code for patching certain enchantments and allowing them to be put in spears.
- Fixed Lunge being enchantable onto any weapon.
- Fixed Knockback and Fire Aspect not being enchantable on spears in the enchanting table.
- Fixed damage enchantments only being enchantable on spears via enchanting tables.
- Fixed a rare crash on Forge when putting a spear in the enchanting table.
- Attribute swapping now bypasses the minimum attack charge of spears. This allows them to reach-swap and lunge-swap like in 1.21.11. Can also be disabled by setting "attribute_swap_bypasses_minimum_attack_charge" to false in the config.
- Spears can no longer break blocks in survival
Known Issues:
- Spears still show visual breaking progress despite not being able to break blocks at all.
- Attribute swapping now bypasses the minimum attack charge of spears. This allows them to reach-swap and lunge-swap like in 1.21.11. Can also be disabled by setting "attribute_swap_bypasses_minimum_attack_charge" to false in the config.
- Spears can no longer break blocks in survival
Known Issues:
- Spears still show visual breaking progress despite not being able to break blocks at all.
- Undid GeckoLib fix as the dev already fixed it on their end.
- Added support for another Forge port of DragonLoot.
- Undid GeckoLib fix as the dev already fixed it on their end.
- Added support for another Forge port of DragonLoot.
- Fixed Lunge not showing up in enchanting tables.
- Fixed damage enchants not appearing in the enchanting table for spears.
- Fixed Lunge not showing up in enchanting tables.
- Fixed damage enchants not appearing in the enchanting table for spears.
- Added support for another NeoForge port of DragonLoot.
- Added rotation cap for arms to prevent them from clipping behind the player.
- Added support for another NeoForge port of DragonLoot.
- Added rotation cap for arms to prevent them from clipping behind the player.
- Finally fixed arm rotation issue with GeckoLib.
- Finally fixed arm rotation issue with GeckoLib.
- Fixed spears not being enchantable in enchanting tables.
- Fixed spears not being enchantable in enchanting tables.
- Changed spears to use the trident's moveset instead of generic spears when better combat mod is installed. This is done because the trident moveset is one-handed, like how vanilla spears are also one-handed. This also allows the spears to be used in the offhand.
- Changed spears to use the trident's moveset instead of generic spears when better combat mod is installed. This is done because the trident moveset is one-handed, like how vanilla spears are also one-handed. This also allows the spears to be used in the offhand.
- Improved hit registration for spears.
- Fixed spears not being able to hit targets correctly on Forge.
- Left beta as the mod is stable enough.
- Improved hit registration for spears.
- Fixed spears not being able to hit targets correctly on Forge.
- Left beta as the mod is stable enough.
- Fixed spear attack animations being incorrect when the user is riding a boat.
- Fixed spear charging animation's last stage rotating the wrong direction.
- Fixed zombified piglins not having spear attack animations.
- Spears now have the "minecraft:consumable" component by default.
- Fixed spear attack animations being incorrect when the user is riding a boat.
- Fixed spear charging animation's last stage rotating the wrong direction.
- Fixed zombified piglins not having spear attack animations.
- Spears now have the "minecraft:consumable" component by default.
- Fixed spear charge attacks always dealing knockback on their 2nd and 3rd stages, even if the mobs it hit are immune to knockback.
- Fixed spear charge attack cooldowns not taking i-frames into account, causing it to hit a lot more frequently.
- Fixed Lunge not working with Better Combat mod.
- Fixed spears not letting the user sprint if they were already using it before trying to. (Known issue: sometimes causes desync, making the player sprint on the server side only.)
- Added support for Dragon Loot, Enderite, Oreganized and Caverns and Chasms mods.
- Fixed spear charge attacks always dealing knockback on their 2nd and 3rd stages, even if the mobs it hit are immune to knockback.
- Fixed spear charge attack cooldowns not taking i-frames into account, causing it to hit a lot more frequently.
- Fixed Lunge not working with Better Combat mod.
- Fixed spears not letting the user sprint if they were already using it before trying to. (Known issue: sometimes causes desync, making the player sprint on the server side only.)
- Added support for Dragon Loot, Enderite, Oreganized and Caverns and Chasms mods.
- Fixed spear charge attacks always dealing knockback on their 2nd and 3rd stages, even if the mobs it hit are immune to knockback.
- Fixed spear charge attack cooldowns not taking i-frames into account, causing it to hit a lot more frequently.
- Added support for enderite mod, backporting the enderite spear from its 1.21.11 version.
- Fixed spear charge attacks always dealing knockback on their 2nd and 3rd stages, even if the mobs it hit are immune to knockback.
- Fixed spear charge attack cooldowns not taking i-frames into account, causing it to hit a lot more frequently.
- Added support for enderite mod, backporting the enderite spear from its 1.21.11 version.
- Fixed spear charge attacks always dealing knockback on their 2nd and 3rd stages, even if the mobs it hit are immune to knockback.
- Fixed spear charge attack cooldowns not taking i-frames into account, causing it to hit a lot more frequently.
- Added support for enderite mod, backporting the enderite spear from its 1.21.11 version.
- Fixed spear charge attacks always dealing knockback on their 2nd and 3rd stages, even if the mobs it hit are immune to knockback.
- Fixed spear charge attack cooldowns not taking i-frames into account, causing it to hit a lot more frequently.
- Added support for enderite mod, backporting the enderite spear from its 1.21.11 version.
- Made spears smeltable into nuggets.
- Fixed spears not being craftable.
- Fixed data structure to match 1.21.8 vanilla's.
- Made spears smeltable into nuggets.
- Fixed spears not being craftable.
- Fixed data structure to match 1.21.8 vanilla's.