So what do I pass this method? Your JavaDocs say I need to pass some sort of "leash" entity (EntityLeash), but your method says I need to pass it an Entity.

Your JavaDocs and method do not make sense. One or  the other needs to be more defined.