Im making a datapack that has a few bosses

I need help making the enderman boss not teleport but can still walk around
Continue to help post