createNamedEntity will now spawn an entity with a custom name if it's not a human entity.
Made RemoteEntityType a class instead of an enum.

The method to dynamically add enum instances needed parts of the sun
JDK which were not included in third party jdks like openjdk and thus
weren't able to use it. This fixes it and you hopefully don't need to
change anything other than probably recompiling.
Seems like this wasn't added in last commit.
Changed path retry range to 32.

Don't know what was wrong with the empty lines but my ide though it
would be a good idea to change them.