########################################################################################################## *** PHASE 8 - OCEAN *** #########################################################################################################



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

# Turtle #

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

execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:turtle 0 66 0 {home_pos:[0,64,0],CanPickUpLoot:1b,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:turtle 0 66 0 {home_pos:[0,64,0],CanPickUpLoot:1b,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:turtle 0 66 0 {home_pos:[0,64,0],CanPickUpLoot:1b,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:turtle 0 66 0 {home_pos:[0,64,0],CanPickUpLoot:1b,PersistenceRequired:1b,Age:-24000}

# Drowned #

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

execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:drowned 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:drowned 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}],equipment:{mainhand:{id:trident,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 2 run summon minecraft:drowned 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:drowned 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}]}

# Dolphin #

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

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

# Drowned #

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

execute if score fake_player ib_after_mob_randomizer matches 4 run summon minecraft:drowned 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 4 run summon minecraft:drowned 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 4 run summon minecraft:drowned 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 4 run summon minecraft:drowned 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 4 if score fake_player ib_mob_randomizer matches 1..50 run summon minecraft:drowned 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 4 if score fake_player ib_mob_randomizer matches 51..100 run summon minecraft:drowned 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 4 if score fake_player ib_mob_randomizer matches 15..35 run summon minecraft:drowned 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}],equipment:{mainhand:{id:trident,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 4 if score fake_player ib_mob_randomizer matches 65..85 run summon minecraft:drowned 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 4 if score fake_player ib_mob_randomizer matches 36..65 run summon minecraft:drowned 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 4 if score fake_player ib_mob_randomizer matches 1..35 run summon minecraft:drowned 0 66 0 {IsBaby:1,CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}],equipment:{mainhand:{id:trident,count:1}}}
execute if score fake_player ib_after_mob_randomizer matches 4 if score fake_player ib_mob_randomizer matches 66..100 run summon minecraft:drowned 0 66 0 {CanBreakDoors:1,CanPickUpLoot:1b,PersistenceRequired:1b,active_effects:[{id:fire_resistance,duration:24000,show_particles:0b}],equipment:{mainhand:{id:trident,count:1}}}


