#
# 		Data pack by IJAMinecraft
# 		@ ijaminecraft.com
# 		@ youtube.com/user/IJAMinecraft
#

function ija-one-block:generated/randomizer/ija-a4-mobtype-1-8
execute as @s[scores={ija-a4-mobtype=1..2}] at @s run function ija-one-block:generated/mob/01-01-pig
execute as @s[scores={ija-a4-mobtype=3..4}] at @s run function ija-one-block:generated/mob/01-02-cow
execute as @s[scores={ija-a4-mobtype=5..6}] at @s run function ija-one-block:generated/mob/01-03-sheep
execute as @s[scores={ija-a4-mobtype=7..8}] at @s run function ija-one-block:generated/mob/01-04-chicken