## Hurt
execute store result score @s vb.dummy1 run data get entity @s HurtTime
execute if score @s vb.dummy1 matches 1.. run function vb:tick_entity/custom_mob/piglin_shroomist/hurt

## Convert to zombified piglin
execute if entity @s[type=minecraft:zombified_piglin] run tag @s remove vb.custom_mob
execute if entity @s[type=minecraft:zombified_piglin] run tag @s remove vb.custom_mob.piglin_shroomist
execute if entity @s[type=minecraft:zombified_piglin] run item replace entity @s armor.head with paper[item_model='air',minecraft:equippable={slot:head,equip_sound:{sound_id:''}}]
execute if entity @s[type=minecraft:zombified_piglin] run item replace entity @s armor.chest with paper[item_model='air',minecraft:equippable={slot:chest,equip_sound:{sound_id:''}}]
