scoreboard players set min rng 1
scoreboard players set max rng 10
function rng:interval
scoreboard players operation choose shop = out rng

execute if score choose shop matches 1..4 run function items:shop/display/food/cooked_beef
execute if score choose shop matches 5..7 run function items:shop/display/food/golden_carrot
execute if score choose shop matches 8..9 run function items:shop/display/food/golden_apple
execute if score choose shop matches 10 run function items:shop/display/food/enchanted_golden_apple

tag @s add food
tag @s add restock
