removeFreeWill

public boolean removeFreeWill(LivingEntity livingEntity)

Removes vanilla goals and brain behaviors from a mob without disabling its pathfinding AI. This is primarily used for plugin-owned NPC bodies before installing a replacement goal.