unregister

public abstract void unregister()

Unregisters the goal on the mob, effectively removing the behavior. Does not work for the new mobs that use the brain AI system as of writing this.