Перейти к содержимому
Mineforgian

LootTweaker

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

21K загрузок2 подписчиковMITforge

Обновлён 27 февраля 2026 г. · опубликован 12 декабря 2024 г.

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.5.1Релиз1.12.2forge27 февраля 2026 г..jar (145 КБ)
0.0.6.6Бета1.10.2forge16 декабря 2024 г..jar (52 КБ)
0.0.6.5Бета1.11, 1.11.1, 1.11.2forge16 декабря 2024 г..jar (57 КБ)
0.4.1Релиз1.12.2forge12 декабря 2024 г..jar (133 КБ)

Ченджлог

0.5.1Релиз1.12.2 · 27 февраля 2026 г.
  • Correct missing translations for command
  • Fix DuplicateModsFoundException on dedicated Forge server.
0.0.6.6Бета1.10.2 · 16 декабря 2024 г.
  • First version for Minecraft 1.10.2 available on Modrinth
  • Fixed "Backing pool cannot be null!" issue with getPool().
0.0.6.5Бета1.11, 1.11.1, 1.11.2 · 16 декабря 2024 г.
  • First version for Minecraft 1.11 available on Modrinth
  • Removed debug print statements
  • Fixed issue with getPool() and mod-added pools
  • Fixed issues when calling addPool() and getPool() on the same pool
  • Ignore frozen loot tables and loot pools silently
  • Fixed NPE when using getPool() on a table that has no pools. LT now logs an error instead
  • Fixed erroneous error when setting bonus rolls
  • Implemented methods for adding empty loot entries
  • Corrected incorrect log message for addPool()
  • Replaced \mt loottables entity subcommand with \mt loottables target, which gets the loot table of the targeted entity. This is more accurate for entities that can have different loot tables depending on certain conditions(E.g sheep).
0.4.1Релиз1.12.2 · 12 декабря 2024 г.
  • First version for Minecraft 1.12.2 available on Modrinth
  • Fixed NullPointerException when LootTweaker attempts to log issues with loot tables not created by the vanilla loot manager. Loot tables are now repaired before editing or dumping them.
  • Fixed NullPointerException during server startup when other mods have ownerless event listeners. This is invalid, so it is logged.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…