
# -> Modify items
execute if items block ~ ~ ~ container.0 #overly_realistic:consumables/all_physical_foods unless items block ~ ~ ~ container.0 *[custom_data~{or_no_edit:1b}] run item modify block ~ ~ ~ container.0 overly_realistic:food/food_spoil
execute if items block ~ ~ ~ container.1 #overly_realistic:consumables/all_physical_foods unless items block ~ ~ ~ container.1 *[custom_data~{or_no_edit:1b}] run item modify block ~ ~ ~ container.1 overly_realistic:food/food_spoil
execute if items block ~ ~ ~ container.2 #overly_realistic:consumables/all_physical_foods unless items block ~ ~ ~ container.2 *[custom_data~{or_no_edit:1b}] run item modify block ~ ~ ~ container.2 overly_realistic:food/food_spoil
