function rng:percentage

execute if score out rng matches ..9 run give @s golden_apple
execute if score out rng matches 10..14 run give @s enchanted_golden_apple
execute if score out rng matches 15..34 run give @s cooked_beef

execute if score out rng matches 35..49 run give @s ender_pearl

execute if score out rng matches 50..54 run give @s splash_potion{Potion:"strong_healing"}
execute if score out rng matches 55..59 run give @s splash_potion{Potion:"long_swiftness"}
execute if score out rng matches 60..64 run give @s splash_potion{Potion:"strong_regeneration"}

execute if score out rng matches 70..100 run function items_py:rnd_shard_drop/drop
