跳到正文

LootTweaker

作者:Daomephsta

A CraftTweaker addon that allows loot tables to be edited with ZenScript

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

https://loottweaker-docs.readthedocs.io/en/latest/

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.

常见问题

LootTweaker 支持哪些 Minecraft 版本?

LootTweaker 支持 Minecraft Java 版 1.10.2–1.12.2,共 5 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

LootTweaker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Daomephsta 的其他作品

查看全部 →