######################################################################################################### *** PHASE 17 - BADLANDS *** ######################################################################################################



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..3
execute run playsound minecraft:entity.player.teleport block @a 0 66 0

# Armadillo #

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

execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:armadillo 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..40 run summon minecraft:armadillo 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 41..66 run summon minecraft:armadillo 0 66 0 {PersistenceRequired:1b,Age:-24000}

# Cave Spider #

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

execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:cave_spider 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:cave_spider 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:cave_spider 0 66 0 {PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:cave_spider 0 66 0 {PersistenceRequired:1b}

# 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 run summon minecraft:wolf 0 66 0 {variant:striped,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 1..40 run summon minecraft:wolf 0 66 0 {variant:striped,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 41..66 run summon minecraft:wolf 0 66 0 {variant:striped,PersistenceRequired:1b,Age:-24000}


