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

Twirl!

Adds the "Twirling" enchantment, replacing any item's use action with being pointlessly spun around.

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

Опубликован 10 июня 2024 г.

preview
Adds a less-than-useless enchantment (curse) that replaces the use action with a twirl!
I'll try spinning! That's a good trick!

Any twirling-enchanted item can be used to visually spin around!

This prevents utilizing the usual use for an item, like drawing a bow or tilling soil.

Books can be enchanted with twirling at a crafting table using feathers, wind charges, or breeze rods.

Datapacking

Item-specific behaviour can be altered with these item tags:

  • #twirl:keep_use - allows the original item's use() to run.
  • #twirl:keep_tick - allows the original item's usageTick() to run.
  • #twirl:keep_finish - allows the original item's onStoppedUsing() to run.
  • #twirl:keep_action - preserves the original item's getUseAction() result.
  • #twirl:rotate_z - spin in the other sensible axes instead.

Afterword

All mods are built on the work of many others.

This mod was made for ModFest: Carnival!

We're open to suggestions for how to implement stuff better - if you see something wonky and have an idea - let us know.

Ченджлог

0.3.3+1.21Релиз1.21 · 26 июня 2024 г.

Fixes:

  • swap to @WrapMethod for safer matrix stacking

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.3.3

0.3.2+1.21Релиз1.21 · 25 июня 2024 г.

Changes:

  • similarly cancel finishUsing, and appropriately rename #twirl:keep_finish and #twirl:keep_stop

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.3.2

0.3.1+1.21Релиз1.21 · 24 июня 2024 г.

Fix:

  • NPE due to an unconditional item render mixin over a nullable entity

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.3.1

0.3.0+1.21Релиз1.21 · 11 июня 2024 г.

Changes:

  • Twirl offhand item if both are enchanted

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.3.0

0.2.3+1.21Релиз1.21 · 11 июня 2024 г.

Fix:

  • metadata mod desc
  • fix offhand twirling offsets

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.2.3

0.2.2+1.21Релиз1.21 · 11 июня 2024 г.
0.2.1+1.21Релиз1.21 · 11 июня 2024 г.

Fix:

  • onStoppedUsing being called due to a bad mixin target

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.2.1

0.2.0+1.21Релиз1.21 · 10 июня 2024 г.

Changes:

  • add item tags (#twirl:keep_use, #twirl:keep_tick, #twirl:keep_finish, #twirl:keep_action) to specify when an item's original usage should be preserved.
  • add item tags (#twirl:rotate_z) to swap the axis twirling occurs in.

Changelog: https://github.com/sisby-folk/twirl/releases/tag/v0.2.0

Комментарии

Загружаем…