LootTweaker
LootTweaker 是 CraftTweaker 的一个插件,允许通过 ZenScript 文件来调整战利品表。原版战利品表系统仅限于覆盖现有战利品表或创建全新的战利品表。
LootTweaker 允许你对战利品表进行小幅度或大幅度的调整,而无需完全覆盖该表。
文档
Mixin
从 0.4.0 版本开始,LootTweaker 需要 Mixin。你必须在模组文件夹中添加一个 Mixin 加载器,例如 MixinBootstrap,否则 Minecraft 将会崩溃并报错 Unable to launch java.lang.ClassNotFoundException: org.spongepowered.asm.launch.MixinTweaker。
常见问题
会有 1.13/1.14/1.15/... 版本吗?
LootTweaker 将保持在 1.12.x 版本。CraftTweaker 团队已经为 1.13 之后的战利品系统向 CraftTweaker 本身添加了一个优秀的 API。
因此,与其花费大量精力去理解 1.13 之后的战利品系统并为其创建一个有用的 ZenScript 接口,我选择继续改进适用于 1.12.x 的 LootTweaker。
在 1.13/1.14/1.15/... 中我应该用什么替代 LootTweaker?
适用于 Minecraft 1.13 及更高版本的 CraftTweaker 拥有一个优秀的战利品 API。它与 LootTweaker 有很大不同,但功能更强大。
LootTweaker 能编辑生物/结构/其他类型的战利品吗?
LootTweaker 编辑的是战利品表。如果一个原版机制或模组机制使用战利品表,LootTweaker 就可以编辑这些表。要确定一个模组是否使用战利品表,请查阅其文档或询问作者。
LootTweaker 能创建新的战利品表吗?
可以,此功能已在 0.2.0 版本中实现。详细信息请参阅 loottweaker.LootTweaker 类的文档。
LootTweaker 能自动查找并从所有战利品表中移除某物品吗?
不能,尽管该功能正在开发中。目前没有预计完成时间。
LootTweaker 可以仅安装在服务器上吗?
LootTweaker 0.1.7 或更高版本支持仅服务器端安装。然而,CraftTweaker 要求同时在服务器和客户端上安装。
未安装 LootTweaker 的客户端仍然可以使用 LootTweaker 命令,但反馈消息将是未翻译的(英文)。
请注意,战利品表转储是在服务器端进行的。
不支持仅客户端安装 LootTweaker。
重要提示:
目前仅开发适用于 1.12 的 LootTweaker。
至少需要 Forge 版本 14.23.5.2779
想要更多的战利品条件/函数?
请查看 tmtravlr 制作的 Loot Overhaul。
需要帮助或有疑问?
LootTweaker 的 GitHub 有一个讨论区,你可以在其中搜索以往的问题并提出自己的问题。
Discord 仍然存在,但我正在尝试使用 GitHub Discussions,因为它更容易被其自带的搜索引擎以及 Google 等搜索引擎搜索到。
如果你在 Modrinth 上留言,可能需要一段时间才能看到你的评论。
有建议?
在此处创建一个 issue here。
如果你在 Modrinth 上留言,可能需要一段时间才能看到你的评论。
LootTweaker
LootTweaker is an addon for CraftTweaker that allows loot tables to be tweaked with ZenScript files. The vanilla loot table system is limited to overriding existing loot tables or creating entirely new ones.
LootTweaker allows you to make small or large tweaks to loot tables, without having to override the table completely.
Documentation
Mixin
As of 0.4.0, LootTweaker requires Mixin. You must add a Mixin loader such as MixinBootstrap to your mods folder, or Minecraft will crash with Unable to launch java.lang.ClassNotFoundException: org.spongepowered.asm.launch.MixinTweaker as the error.
FAQ
Will there be a 1.13/1.14/1.15/... version?
LootTweaker will be remaining on 1.12.x. The CraftTweaker team has added an excellent API for the post-1.13 loot system to CraftTweaker itself.
Therefore, rather than spending a lot of energy on understanding the post-1.13 loot system and creating a useful ZenScript interface to it, I have chosen to continue to improve LootTweaker for 1.12.x.
What should I use instead of LootTweaker in 1.13/1.14/1.15/...?
CraftTweaker versions for Minecraft 1.13 and later have an excellent loot API. It's quite different from LootTweaker's, but much more capable.
Can LootTweaker edit mob/structure/whatever loot?
LootTweaker edits loot tables. If a vanilla mechanic or mod mechanic uses loot tables, LootTweaker can edit those tables. To find out if a mod uses loot tables, check its documentation or ask the author.
Can LootTweaker create new loot tables?
Yes, this feature was implemented in version 0.2.0. See the documentation for the class loottweaker.LootTweaker for details.
Can LootTweaker automatically find and remove all of an item from loot tables?
No, though the feature is being worked on. There is no estimate for when it will be ready.
Can LootTweaker be installed only on the server?
Server-only installation is possible with LootTweaker 0.1.7 or later. However CraftTweaker requires that it is installed on both server and client.
Clients without LootTweaker installed will still be able to use LootTweaker commands, but the feedback messages will be untranslated.
Note that loot table dumps occur serverside.
Client-only installation of LootTweaker is not supported.
Important Notes:
Only LootTweaker for 1.12 is still developed.
A Forge version of at least 14.23.5.2779 is required
Want more loot conditions/functions?
Take a look at Loot Overhaul by tmtravlr.
Need help or have a question?
LootTweaker's GitHub has a discussion forum where you can search previous questions and ask your own.
The Discord still exists, but I'm experimenting with Github Discussions as it's more easily searched by its own search and search engines such as Google.
If you comment on Modrinth, it may be some time before your comment is read.
Have a suggestion?
Create an issue here.
If you comment on Modrinth, it may be some time before your comment is read.
评论 0
登录后参与评分
还没有评论,来抢沙发吧