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

Grappling Hooke

Springy! (Grappling hook but it behaves like a spring)

Загрузки
1K
Подписчики
3
Обновлён
26 мая 2026 г.
Лицензия
LGPL-3.0-or-later

Опубликован 11 апреля 2026 г.

Исходный код

Made for Modfest 26

Adds a grappling hook, but...

The hook added in this mod follows the physics of an idealised (linear elastic) spring, i.e. Hooke's law - instead of pulling you all the way to the hook, it attempts to pull you to (by default) 4 blocks away. For extra fun, the hook itself also follows these physics when it's not embedded in a block.

The mod also adds three enchantments;

  • Stiffness (I-III) - increases the acceleration that the hook's spring applies
  • Resting Range (I-III) - allows you to change the distance that the hook attempts to pull/push you to
    • (3-5 blocks for I, 2-6 for II, 1-7 for III)
  • Boosting - launches you backwards slightly whenever you fire the hook

You can either sneak+scroll or fire+scroll to change the hook's resting distance in increments of 0.5 blocks, or 0.1 if both at once.

Also has optional Area Lib compatibility to disallow hook usage in areas with the grapplinghooke:disallow component.

Ченджлог

1.2.1Релиз26.1.2 · 26 мая 2026 г.
  • fix players being kicked for flying when using hookes
1.2.0Релиз26.1.2 · 1 мая 2026 г.
  • Added Item Descriptions compatibility
  • Nerfed Boosting slightly (so you can't get infinite height by spamming) by adding a very short cooldown
1.1.1Релиз26.1.2 · 30 апреля 2026 г.

added firing sound effect and changed the subtitle of the projectile hit sound to match (was going to do this last version but forgot .w.)

1.1.0Релиз26.1.2 · 30 апреля 2026 г.
  • Fixes AreaLib compat to be slightly less laggy (uses SampledAreaComponentType instead of EntityTrackedComponentType now)
  • Adds a new enchantment, Boosting, which slightly pushes you in the opposite direction when you fire the hook
  • Enchantments now actually show up in the enchanting table
1.0.0Релиз26.1.2 · 29 апреля 2026 г.

First version of the mod! Adds:

  • the hook item (and related hook entity)
  • Stiffness and Resting Range enchantments

Комментарии

Загружаем…