Backported Spears
This mod implements an accurate adaptation of spears that will appear in the upcoming Mounts of Mayhem update. The modification includes not only the spears themselves but also all technical changes related to their addition.
Spears in action:





Note: Some animations do not yet perfectly match the official versions but will be improved after the release of Mounts of Mayhem update.
Compatibility
- Resource packs for version 1.21.11 that change textures, sound effects, or localization of spears will work with this mod
- Datapacks using item components from version 1.21.11 should also function when this mod is installed
- Better Combat: overrides spear animations added by this mod
First person attack and charged attack with Better Combat

Third person attack and charged attack with Better Combat (front view)

Configuration
- spear_charge_attacks: enables spear charged attack ability (default: enabled)
- spear_stabbing_animation: enables special spear attack animation (default: enabled, disabled when Better Combat is installed)
- tridents_use_spear_attack_animation: allows tridents to use spear attack animation (default: disabled)
Additional Features
Advancements
- Mob Kabob: hit five mobs with one charged attack of any spear
Enchantments
- Lunge: spears propel the player forward (Note: sound effects temporarily not working)
Technical Changes
The following game mechanics have been adapted:
- Item components: "piercing_weapon", "kinetic_weapon", "use_effects", "swing_animation" and "minimum_attack_charge"
- Enchantment components: "post_piercing_attack"
- Enchantment effects: "apply_impulse" and "apply_exhaustion"
- Advancement criteria: "spear_mobs"