I am trying to figure out how to give entities ai

I am trying give the gaint AI to make him a boss for the overworld and give him custom abilities for my data pack
Continue to help post