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 CurseForge, it may be some time before your comment is read.
Have a suggestion?
Create an issue here. If you comment on CurseForge, it may be some time before your comment is read.
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
LootTweaker is a free Minecraft Java mod. Downloaded 36,345,604 times (via CurseForge). Download it and open it directly in the game.
