Nowhere in the JavaDoc does it say you need to pass an EntityLeash. The name of the variable is "leash", and the signature says it is of type Entity. Could you point me to a line in the docs that contradicts this fact? I agree that the docs need to be revised, but I don't agree that the JD states a EntityLeash should be passed. If you are bothered by the variable name "leash" I could change it to "entity", but I don't see how that would make the docs more understandable.