################################################################################################ *** PHASE 5 - SNOWY PLAINS & MOUNTAINS *** ################################################################################################



execute store result score fake_player ib_mob_randomizer run random value 1..100
execute store result score fake_player ib_after_mob_randomizer run random value 1..6
execute run playsound minecraft:entity.player.teleport block @a 0 66 0

# Goat #

execute if score fake_player ib_after_mob_randomizer matches 1 run playsound minecraft:entity.goat.ambient block @a 0 66 0

execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:goat 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:goat 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:goat 0 66 0 {PersistenceRequired:1b,Age:-24000}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:goat 0 66 0 {PersistenceRequired:1b}

# Rabbit #

execute if score fake_player ib_after_mob_randomizer matches 2 run playsound minecraft:entity.rabbit.ambient block @a 0 66 0

execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:rabbit 0 66 0 {RabbitType:1,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:rabbit 0 66 0 {RabbitType:3,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:rabbit 0 66 0 {RabbitType:3,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:rabbit 0 66 0 {RabbitType:1,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 11..20 run summon minecraft:rabbit 0 66 0 {RabbitType:1,PersistenceRequired:1b,Age:-24000}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 21..30 run summon minecraft:rabbit 0 66 0 {RabbitType:3,PersistenceRequired:1b,Age:-24000}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 41..50 run summon minecraft:rabbit 0 66 0 {RabbitType:1,PersistenceRequired:1b,Age:-24000}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 51..60 run summon minecraft:rabbit 0 66 0 {RabbitType:3,PersistenceRequired:1b,Age:-24000}

# Wolf #

execute if score fake_player ib_after_mob_randomizer matches 3 run playsound minecraft:entity.wolf.ambient block @a 0 66 0

execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:wolf 0 66 0 {variant:ashen,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:wolf 0 66 0 {variant:snowy,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 25..45 run summon minecraft:wolf 0 66 0 {variant:ashen,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 55..75 run summon minecraft:wolf 0 66 0 {variant:ashen,PersistenceRequired:1b,Age:-24000}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 1..20 run summon minecraft:wolf 0 66 0 {variant:snowy,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 81..100 run summon minecraft:wolf 0 66 0 {variant:snowy,PersistenceRequired:1b,Age:-24000}

# Fox #

execute if score fake_player ib_after_mob_randomizer matches 4 run playsound minecraft:entity.fox.ambient block @a 0 66 0

execute if score fake_player ib_after_mob_randomizer matches 4 run summon minecraft:fox 0 66 0 {Type:snow,PersistenceRequired:1b,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 4 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:fox 0 66 0 {Type:snow,PersistenceRequired:1b,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 4 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:fox 0 66 0 {Type:snow,PersistenceRequired:1b,Age:-24000,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 4 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:fox 0 66 0 {Type:snow,PersistenceRequired:1b,CanPickUpLoot:1b}

# Polar Bear #

execute if score fake_player ib_after_mob_randomizer matches 5 run playsound minecraft:entity.polar_bear.ambient block @a 0 66 0

execute if score fake_player ib_after_mob_randomizer matches 5 run summon minecraft:polar_bear 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 5 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:polar_bear 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 5 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:polar_bear 0 66 0 {PersistenceRequired:1b,Age:-24000}

# Villager #

execute if score fake_player ib_after_mob_randomizer matches 6 run playsound minecraft:entity.villager.ambient block @a 0 66 0 1 1.5

execute if score fake_player ib_after_mob_randomizer matches 6 run summon minecraft:villager 0 66 0 {VillagerData:{type:snow},PersistenceRequired:1b,Age:-24000,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 6 run summon minecraft:villager 0 66 0 {VillagerData:{type:snow},PersistenceRequired:1b,Age:-24000,CanPickUpLoot:1b}


