
添加了一个并非毫无用处的附魔(诅咒),将使用动作替换为旋转!
我要开始转圈啦!这是个不错的技巧!
任何带有旋转附魔的物品都可以用于视觉上原地旋转!
这会阻止使用该物品的通常功能,例如拉弓或翻耕土壤。
可以在合成台中使用羽毛、旋风电荷或微风棒对书本施加旋转附魔。
数据包制作
可以通过以下物品标签修改特定物品的行为:
#twirl:keep_use- 允许运行原物品的use()方法。#twirl:keep_tick- 允许运行原物品的usageTick()方法。#twirl:keep_finish- 允许运行原物品的onStoppedUsing()方法。#twirl:keep_action- 保留原物品的getUseAction()返回值。#twirl:rotate_z- 改为沿其他合理的轴旋转。
后记
所有模组都建立在许多其他人的工作基础之上。
本模组是为 ModFest: Carnival 而制作的!
我们欢迎关于如何更好地实现功能的建议——如果你发现有什么不对劲的地方并且有想法,请告诉我们。

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'suse()to run.#twirl:keep_tick- allows the original item'susageTick()to run.#twirl:keep_finish- allows the original item'sonStoppedUsing()to run.#twirl:keep_action- preserves the original item'sgetUseAction()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.
下载 Twirl!
下载 Twirl!
下载 Twirl!
下载 Twirl!
下载 Twirl!
下载 Twirl!
下载 Twirl!
下载 Twirl!
下载 Twirl!
修复:
- 改用 @WrapMethod 以实现更安全的矩阵堆叠
更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
Minecraft 中的表情符号
模组
为你的终界增添新生物群系、神秘仪式和全新生物
评论 0
登录后参与评分
还没有评论,来抢沙发吧