
item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:custom_model_data":{flags:[1b]}}}
item modify entity @s weapon.mainhand {function:"minecraft:set_components",components:{"minecraft:custom_model_data":{flags:[1b]}}}
item modify entity @s weapon.offhand {function:"minecraft:set_components",components:{"minecraft:custom_model_data":{flags:[1b]}}}
item modify entity @s armor.chest {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"chest",asset_id:"vb:custom_mob/sunken_hurt"}}}
item modify entity @s armor.legs {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"legs",asset_id:"vb:custom_mob/sunken_hurt"}}}

execute if score @s vb.dummy1 matches 1 run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:custom_model_data":{flags:[0b]}}}
execute if score @s vb.dummy1 matches 1 run item modify entity @s weapon.mainhand {function:"minecraft:set_components",components:{"minecraft:custom_model_data":{flags:[0b]}}}
execute if score @s vb.dummy1 matches 1 run item modify entity @s weapon.offhand {function:"minecraft:set_components",components:{"minecraft:custom_model_data":{flags:[0b]}}}
execute if score @s vb.dummy1 matches 1 run item modify entity @s armor.chest {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"chest",asset_id:"vb:custom_mob/sunken"}}}
execute if score @s vb.dummy1 matches 1 run item modify entity @s armor.legs {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"legs",asset_id:"vb:custom_mob/sunken"}}}