我制作这个分支,纯粹是因为在测试整合包时,受够了 HWYLA 因随机概率问题导致启动崩溃的糟糕 RNG。
HWYALA(发音为 "Hwhy-a-la",类似于 "Coo-Hwhip")—— 这是 TehNut 基于 HWYLA 制作的分支,而 HWYLA 本身又是 ProfMobius 开发的 WAILA 的一个分支。
这个分支做了什么?
HWYLA 中存在一个缺陷,偶尔会在启动时导致崩溃,原因是违反了 Java 比较方法通用契约中强制执行的传递性原则(a>b, b>c => a>c)。
此分支通过添加 4 行代码修复了该缺陷。
一些鲜为人知的实用功能
- 如果安装了 JEI/HEI,你可以使用小键盘 3 和小键盘 4 来查询世界中方块的配方。
- 你可以通过进入游戏内配置,打开 “Waila” 选项屏幕,然后选择 “Format content...” 来更改提示框的颜色和文本格式。
- 如果你遇到其他模组添加的提示框处理器出现问题,可以运行
/dumphandlers 命令,这将生成一个包含所有已注册处理器及其注册类型的文本文件。
- 可以切换提示框的语音朗读功能。这将使用系统的文字转语音库来告诉你正在查看的内容。
- 如果你觉得提示框中显示物品是多余的,你可以禁用该项。
由于该模组整体非常稳定,我没有计划积极维护此分支,但如果你有任何修复方案,欢迎提交 PR,只要不会导致游戏爆炸,我可能会合并它们。
任何基于原版模组创建的插件/附加组件/兼容性内容等,都与本分支 100% 兼容。
本分支遵循 CC BY-NC-SA 4.0 许可证。
允许在所有整合包中使用此模组。
我对 Minecraft 的其他版本不感兴趣,也不会为其他版本的 Minecraft 创建 HWYLA 的分支。
I only made this because I was tired of rolling bad RNG for the random chance for HWYLA to crash your pack on startup while testing my modpack.
HWYALA (pronounced "Hwhy-a-la", a la "Coo-Hwhip") - a fork of HWYLA by TehNut, which is itself a fork of WAILA by ProfMobius.
What does this fork do?
There's a bug in HWYLA that will occasionally cause a crash on launch due to a violation of the transitive property (a>b,b>c => a>c) that is enforced by the general Java contract for comparison methods.
This fork fixes that bug by adding 4 lines of code.
Notable Lesser-Known Features
- If JEI/HEI is installed, you can use Numpad 3 and Numpad 4 to look up the recipe of blocks in the world.
- You can change the colors and text formatting of the tooltip by navigating to the in-game config, opening the "Waila" options screen, and selecting "Format content...".
- If you are having issues with tooltip handlers added by mods, you can run "/dumphandlers" which will produce a text file with all registered handlers and what types they are registered to.
- The Narrator can be toggled for the tooltip. This will use the system's text-to-speech library to tell you what you're looking at.
- If you think having the item being displayed in the tooltip is redundant, you can disable that.
I have no plans of actively maintaining this fork as the mod is on the whole hilariously stable, but feel free to PR with any fixes you come up with and I might merge if they don't make anything explode.
Any and all plugins/addons/compatibilities/what-have-you created with the original mod are 100% compatible with this fork.
This fork is permitted under the CC BY-NC-SA 4.0 license.
Usage of this mod is allowed for all packs.
I have no interest in any other version of Minecraft and will not be forking any other versions of HWYLA.
评论 0
登录后参与评分
还没有评论,来抢沙发吧