Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
Loot Table Inserter
This small datapack adds a Loot Table Inserter item which is used to change the Loot Tables of most Block Entities.
⚠ This datapack is intended for development purposes ⚠
Beware, adding this tool in multiplayer survival servers would add the possibility for any players to break the game progression
Who's this for?
This item will be useful to any minecraft mod or datapack developers that want to add containers with random loot to their structures, but can't be bothered to use commands on each one of them.
Some of us have experienced the ordeal of changing the data of all chests on a structure with commands, which is an unpleasant experience due to the waste of time during the correct positioning of the player and the mess that's repositioning already placed chests.
With this item, it'll be as easy as pointing and clicking a container to change their loot table.

How to get
To gain access to the item, simply use the quick actions hotkey (G by default). It can also be acquired through the pause menu in "Custom Options".
The dialog can be exited anytime by pressing "esc".

Prepping the item
To set a loot table, rename the item in an anvil with the path to a loot table. To ensure the correct syntax of the paths, copying them from /loot commands is advised.
Be careful when using the item, as it will always be primed and ready for use. The interaction range of your player will be practically nonexistent.



