AuraTip 提供了四种不同的实现方式:数据包、KubeJS、Java,以及可视化编辑(在浏览器中运行,需安装 KubeJS/NekoJS,游戏内输入 /auratip editor 即可打开)。它通过简单的语法和跨方法兼容性来满足不同技能水平的用户需求。
注意: 数据包功能有限;它只能创建组件,但无法决定何时显示这些组件。由数据包定义的组件仅作为被操作的对象,不能干扰其他实现方式。
主要特性
提示框 (Tips)
如果你玩过较新版本的 The Winter Rescue: Frosted Heart 整合包,会对这个功能感到非常熟悉。
支持的特性:
- 进入和退出动画
- 悬停动画
- 渐变、纯色或图片背景
- 主题颜色和侧边栏
- 标题、副标题、正文文本和图片
- 多页内容和分页行为
示例:

默认情况下,所有提示框都可以通过按下 DELETE 键关闭,不过每个提示框都可以分配自定义的关闭按键。
径向菜单 (Radial Menus)
虽然市面上有许多径向菜单模组,但我们的扩展性远超你的想象!
支持的特性:
- 动态添加具有自适应分组的槽位
- 槽位图标
- 文本描述
- 悬停高亮渐变色
- 高度可定制的触发动作

径向菜单动作
默认情况下,AuraTip 提供了一个内置的动作用于执行命令。
然而,动作系统是完全可扩展的。
可能的用例包括:
- 打开 GUI
- 触发自定义脚本
- 运行客户端或服务端逻辑
- 发送数据包
- 与其他模组集成
- 上下文敏感的行为
这意味着径向菜单不仅仅局限于简单的命令快捷键;它们可以作为高度可定制的交互系统,适用于整合包和游戏机制。
如何为 AuraTip 做出贡献?
你可以在 GitHub 上找到源代码。我们欢迎反馈和贡献!
添加此模组后不会立即发生任何变化。以下文档将教你如何使用 Java API 创建自己的提示框和径向菜单:
‣ 提示框文档
‣ 径向菜单文档
这两份文档均基于 Java API 编写。
如果你想先尝试 JSON,请打开可视化编辑器;不建议手写 JSON。
如果你更倾向于使用 KubeJS,每段 Java 代码后面都附有对应的 KubeJS 等效代码供参考。对于缺乏更详细的 KubeJS 专用文档,敬请谅解。
什么?文档很糟糕?或者缺少你需要的功能? 欢迎加入我们的社区向作者提供反馈:
AuraTip provides four different implementation methods: Datapacks, KubeJS, Java, and Visual editing (runs in the browser, requires KubeJS/NekoJS to be installed, and can be opened by entering /auratip editor in-game). It caters to different skill levels with simple syntax and cross-compatibility between methods.
Note: Datapack functionality is limited; it can only create components but cannot determine when they are displayed. Datapack-defined components act as objects to be manipulated and cannot interfere with other implementation methods.
Key Features
Tips
If you have played newer versions of the The Winter Rescue: Frosted Heart modpack, this will feel very familiar.
Supported features:
- Entrance and exit animations
- Hover animations
- Gradient, solid color, or image backgrounds
- Theme colors and sidebars
- Titles, subtitles, body text, and images
- Multi-page content and paging behavior
Example:

All tips are closed by pressing the DELETE key by default, though each tip can be assigned a custom closing key.
Radial Menus
While many radial menu mods exist, our extensibility is beyond your imagination!
Supported features:
- Dynamically add slots with adaptive grouping
- Slot icons
- Text descriptions
- Hover highlight gradient colors
- Highly customizable trigger actions

Radial Menu Actions
By default, AuraTip provides a built-in action for executing commands.
However, the action system is fully extensible.
Possible use cases include:
- Opening GUIs
- Triggering custom scripts
- Running client-side or server-side logic
- Sending packets
- Integrating with other mods
- Context-sensitive behaviors
This means radial menus are not limited to simple command shortcuts; they can function as highly customizable interaction systems for modpacks and gameplay mechanics.
How can I contribute to AuraTip?
You can find the source code on GitHub. We welcome feedback and contributions!
Nothing will happen immediately after adding this mod. The following documentation will teach you how to create your own tips and radial menus:
‣ Tips Documentation
‣ Radial Menu Documentation
Both documents are written based on the Java API.
If you want to try JSON first, please open the visual editor; hand-writing JSON is not recommended.
If you prefer writing KubeJS, each segment of Java code is followed by a KubeJS equivalent for reference. Please excuse the lack of more detailed KubeJS-specific documentation.
What? Is the documentation terrible? Or is a feature you need missing? Feel free to join our communities to provide feedback to the author:
评论 0
登录后参与评分
还没有评论,来抢沙发吧