Issue description
I need some elements to make a wolf-like mob in AI tasks.
Specifically:
[When it is given [item or block],become a pet 60% chance]
[Attack targets that hit [owner or other entity]] ←It can also make mobs like iron-golem.
[If it is a pet]
[do]
[else if it is a wild mob]
[do]
I'm sorry for my poor English if my English is wrong.
Also, I need this:
[Follow [owner or other entity] with speed (number) with max range (number) and follow area (number)] ←It can also make mobs like mobs like zombie that chasing villagers.