Перейти к содержимому
Mineforgian

Backported Spears

A mod that tries to backport spears as accurately as possible

Загрузки
187K
Подписчики
96
Обновлён
27 марта 2026 г.
Лицензия
MIT

Опубликован 15 ноября 2025 г.

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

Ченджлог

1.4.7Релиз1.20.1 · 27 марта 2026 г.

-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.

1.4.7Релиз1.20.1 · 27 марта 2026 г.

-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.

1.8.0Релиз1.21.1 · 7 марта 2026 г.

-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.

1.8.0Релиз1.21.1 · 7 марта 2026 г.

-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.

1.4.6Релиз1.20.1 · 1 марта 2026 г.

-Undid GeckoLib fix as the dev already fixed it on their end.

-Added support for another Forge port of DragonLoot.

1.4.6Релиз1.20.1 · 1 марта 2026 г.

-Undid GeckoLib fix as the dev already fixed it on their end.

-Added support for another Forge port of DragonLoot.

1.4.5Релиз1.20.1 · 27 февраля 2026 г.

-Fixed Lunge not showing up in enchanting tables.

-Fixed damage enchants not appearing in the enchanting table for spears.

1.4.5Релиз1.20.1 · 27 февраля 2026 г.

-Fixed Lunge not showing up in enchanting tables.

-Fixed damage enchants not appearing in the enchanting table for spears.

Комментарии

Загружаем…