## Become duck if needed
# Spawned as a variant mob
execute if entity @s[nbt={variant:"vb:duck",Age:0}] run function vb:summon/duck {age:0}
execute if entity @s[nbt={variant:"vb:duck",Age:-24000}] run function vb:summon/duck {age:-24000}
execute if entity @s[nbt={variant:"vb:duck"}] run function vb:load_entity/kill