Commands

LootTweaker adds a single command, /ct loottables.

Subcommands

all
Dumps all built-in loot tables.
Example:
/ct loottables all
target
Dumps the loot table associated with the object the player is looking at.
Example:
/ct loottables target

Note

Loot containers lose their loot table data after they are first opened, and some entities don’t have a loot table (e.g The Wither).

byName <tableID>
Dumps the loot table with the specified ID.
Example:
/ct loottables byName minecraft:chests/simple_dungeon
list
Lists all built-in loot tables.
Example:
/ct loottables list

Dump location

Dumped loot tables can be found at minecraftRootFolder/dumps. The folder structure is the same one used in resourcepacks, so the loot table minecraft:chests/simple_dungeon would be found at minecraftRootFolder/dumps/minecraft/chests/simple_dungeon.json.