Minecraft wiki entry for Item_modifier, associated text: Item modifiers are technical JSON files that can be created inside data packs and are used to add loot functions into existing items using the command /item.