与原版 FTB Quests Localizer 的区别
在将 FTBQ 元素导出为语言文件时,FTBQL 使用基于章节的任意任务编号系统来命名语言键(例如 "chapter1.quest1")。部分开发者可能会觉得这不太方便,因为确定某个语言字符串对应哪个任务可能比较棘手。
FTB Quests Precision Localizer 则使用代码中显示的元素的十六进制 ID 来命名与之关联的语言键。因此,可以通过在任务文件中搜索轻松找到该元素,因为每个 FTBQ 元素都被分配了一个唯一的 ID。
FTBQPL 还支持包含多种可用难度的整合包。有关使用该模组的详细信息,请参阅 Wiki。
使用方法 -- 简明版
为你的整合包的 Minecraft 和 Forge 版本安装最新发行版,加入任意世界并在聊天栏输入以下命令:
/ftblang <lang> <prefix> <mode>
-
<lang>.json 将是生成的语言文件的名称。请参阅此列表以获取 Minecraft 中可用的语言及其对应的文件名;
-
所有生成的语言键都将以 <prefix> 开头(默认为 "ftbquests");
-
<mode> 是整合包当前设置的难度。如果你的整合包没有难度选项,请使用 "normal"。否则,请查阅 Wiki 中的指南以了解如何使用此参数。
当导出成功时,你的快捷栏上方会显示一条通知。所有生成的文件均可在游戏实例根目录下的 FTBLang 文件夹中找到。
What is different from the original FTB Quests Localizer?
When exporting FTBQ elements to language files, FTBQL uses an arbitrary quests-by-chapter numbering system for naming the lang keys (e.g. "chapter1.quest1"). Some developers may find this inconvenient to work with, as determining which quest a given lang string is associated with can be tricky.
FTB Quests Precision Localizer instead uses a given element's hexadecimal ID, as it is presented in the code, to name the lang keys associated with it. Thus, the element can easily be found by searching through the quest files, as every FTBQ element is given a unique ID.
FTBQPL also supports modpacks with multiple available difficulties. See the wiki for details on using the mod.
Using the mod -- TL;DR
Install the latest release for your pack's Minecraft and Forge version, join any world and type in the following command:
/ftblang <lang> <prefix> <mode>
-
<lang>.json will be the name of the generated language file. See this list of languages available in Minecraft and the filenames associated with each;
-
All generated lang keys will start with <prefix> ("ftbquests" by default);
-
<mode> is the current difficulty the pack is set to. Use "normal" if your pack has no difficulty options. Otherwise, please consult the wiki for a guide on using this argument.
A notification will appear above your hotbar indicating that the export is successful. All generated files will be available in the FTBLang folder located in your game instance's root folder.
评论 0
登录后参与评分
还没有评论,来抢沙发吧