###################################################################################################### *** PHASE 11 - DARK FOREST *** ######################################################################################################



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

# Pillager #

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

execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}

# Pillager x Vindicator #

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

execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:vindicator 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:vindicator 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:vindicator 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 1..15 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}

# Pillager x Vindicator x Evoker #

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

execute if score fake_player ib_after_mob_randomizer matches 3 run summon minecraft:evoker 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b}
execute if score fake_player ib_after_mob_randomizer matches 3 run summon minecraft:vindicator 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 3 run summon minecraft:vindicator 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:pillager 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:vindicator 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,equipment:{mainhand:{id:iron_axe,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 3 if score fake_player ib_mob_randomizer matches 1..15 run summon minecraft:evoker 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b}

# Allay #

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

execute if score fake_player ib_after_mob_randomizer matches 4 run summon minecraft:allay 0 66 0 {CanPickUpLoot:1b,PersistenceRequired: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:allay 0 66 0 {CanPickUpLoot:1b,PersistenceRequired: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:allay 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b,Age:-24000}
execute if score fake_player ib_after_mob_randomizer matches 4 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:allay 0 66 0 {CanPickUpLoot:1b,PersistenceRequired:1b}


