Commands, Data Packs
/item entity <targets> <slot> modify <modifier> does not work when the resulting item has a different item ID.
- minecraft:enchant_with_levels (1)
- minecraft:enchant_randomly (1)
- minecraft:set_enchantments (1)
(1) Only applies for books
→ Replaced a slot on … with [Cooked Porkchop], but the item is still Raw Porkchop.