Lootr command - LootrMinecraft/Lootr GitHub Wiki
For 1.16.5 and later:
/lootr - command usage
/lootr barrel - creates a barrel with a random loot table
/lootr barrel <table> - allows the selection of the loot table (auto-completes)
/lootr trapped_chest - creates a trapped chest with a random loot table
/lootr trapped_chest <table> - allows the selection of the loot table (auto-complete)
/lootr chest - creates a chest with a random loot table
/lootr chest <table> - allows the selection of the loot table (auto-complete)
/lootr shulker - creates a shulker box with a random loot table
/lootr shulker <table> - allows the selection of the loot table (auto-complete)
/lootr clear <player> - allows you to clear all saved loot tables (auto-complete from online players)
/lootr cart - creates a minecart with chest with a random loot table
/lootr cart <table> - allows the selection of the loot table (auto-complete)
/lootr custom - converts an inventory (1.21 and onwards: tagged blocks, earlier: chests and barrels) that the player is standing on into a custom inventory
/lootr open_as <player> - allows you to open a container as though you were another player. (since 1.20)
/lootr open_as_uuid <uuid> - allows you to open a container as though you were another player, providing their UUID rather than the player name. (since 1.20)
/lootr id - provides the unique identifier for the container that the player is standing on
/lootr refresh - marks the container the player is standing on to be refreshed based on the refresh_duration configuration option.
/lootr decay - marks the container the player is standing on to be decayed based on the decay_duration configuration option.
/lootr openers <location> - lists the UUID and player names of people who have looted the chest at the current location (use relative coordinates)
/lootr convert <startx> <starty> <startz> <stopx> <stopy> <stopz> - converts all containers that are eligible (lootr:convert/custom_eligible) within the confines specified into custom containers. (since 1.21)