########################################################################################################## *** PHASE 18 - DESERT *** #######################################################################################################



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

# Camel #

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

execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:camel 0 66 0 {Tame: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:camel 0 66 0 {Tame: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:camel 0 66 0 {Tame: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:camel 0 66 0 {Tame:0,PersistenceRequired:1b}

# Husk #

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

execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:husk 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:husk 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:husk 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:husk 0 66 0 {IsBaby:1,CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:husk 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 1..35 run summon minecraft:husk 0 66 0 {IsBaby:1,CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 66..100 run summon minecraft:husk 0 66 0 {IsBaby:1,CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}

# Villager #

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

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

# Rabbit #

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

execute if score fake_player ib_after_mob_randomizer matches 4 run summon minecraft:rabbit 0 66 0 {RabbitType:4,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:rabbit 0 66 0 {RabbitType:4,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:rabbit 0 66 0 {RabbitType:4,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:rabbit 0 66 0 {RabbitType:4,CanPickUpLoot:1b,PersistenceRequired:1b}


