###################################################################################################### *** PHASE 7.2 - THE NETHER *** ######################################################################################################



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

# Hoglin #

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

execute if score fake_player ib_after_mob_randomizer matches 1 run summon minecraft:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,CanPickUpLoot: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:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,CanPickUpLoot: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:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,ForcedAge:-24000,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 1..15 run summon minecraft:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 26..40 run summon minecraft:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,ForcedAge:-24000,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 51..65 run summon minecraft:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 1 if score fake_player ib_mob_randomizer matches 76..90 run summon minecraft:hoglin 0 66 0 {IsImmuneToZombification:1,CannotBeHunted:1,PersistenceRequired:1b,ForcedAge:-24000,CanPickUpLoot:1b}

# Piglin #

execute if score fake_player ib_after_mob_randomizer matches 2 run playsound minecraft:entity.piglin.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..25 run summon minecraft:piglin 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:golden_sword}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 26..50 run summon minecraft:piglin 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow}},CanPickUpLoot: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:piglin_brute 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:golden_axe}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 76..100 run summon minecraft:piglin 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:golden_sword}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 51..75 run summon minecraft:piglin 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow}},CanPickUpLoot: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:piglin_brute 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:golden_axe}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 76..100 run summon minecraft:piglin 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:golden_sword}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 1..25 run summon minecraft:piglin 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:crossbow}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 26..76 run summon minecraft:piglin_brute 0 66 0 {IsImmuneToZombification:1,PersistenceRequired:1b,equipment:{mainhand:{id:golden_axe}},CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 15..35 run summon minecraft:piglin 0 66 0 {IsBaby:1,IsImmuneToZombification:1,PersistenceRequired:1b,CanPickUpLoot:1b}
execute if score fake_player ib_after_mob_randomizer matches 2 if score fake_player ib_mob_randomizer matches 65..85 run summon minecraft:piglin 0 66 0 {IsBaby:1,IsImmuneToZombification:1,PersistenceRequired:1b,CanPickUpLoot:1b}


