{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/419","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/419/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/419/events","html_url":"https://github.com/SpongePowered/SpongeAPI/issues/419","id":55636188,"number":419,"title":"Ability to get EntityType from Class<? extends Entity>","user":{"login":"Soren025","id":3269850,"avatar_url":"https://avatars.githubusercontent.com/u/3269850?v=3","gravatar_id":"","url":"https://api.github.com/users/Soren025","html_url":"https://github.com/Soren025","followers_url":"https://api.github.com/users/Soren025/followers","following_url":"https://api.github.com/users/Soren025/following{/other_user}","gists_url":"https://api.github.com/users/Soren025/gists{/gist_id}","starred_url":"https://api.github.com/users/Soren025/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soren025/subscriptions","organizations_url":"https://api.github.com/users/Soren025/orgs","repos_url":"https://api.github.com/users/Soren025/repos","events_url":"https://api.github.com/users/Soren025/events{/privacy}","received_events_url":"https://api.github.com/users/Soren025/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T16:00:32Z","updated_at":"2015-01-27T16:18:17Z","closed_at":null,"body":"There currently no way to convert an entity class into an entity type. Probably could be a method in GameRegistry called ```EntityType getEntity(Class<? extends Entity>)```"},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments/71675877","html_url":"https://github.com/SpongePowered/SpongeAPI/issues/419#issuecomment-71675877","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/419","id":71675877,"user":{"login":"Soren025","id":3269850,"avatar_url":"https://avatars.githubusercontent.com/u/3269850?v=3","gravatar_id":"","url":"https://api.github.com/users/Soren025","html_url":"https://github.com/Soren025","followers_url":"https://api.github.com/users/Soren025/followers","following_url":"https://api.github.com/users/Soren025/following{/other_user}","gists_url":"https://api.github.com/users/Soren025/gists{/gist_id}","starred_url":"https://api.github.com/users/Soren025/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soren025/subscriptions","organizations_url":"https://api.github.com/users/Soren025/orgs","repos_url":"https://api.github.com/users/Soren025/repos","events_url":"https://api.github.com/users/Soren025/events{/privacy}","received_events_url":"https://api.github.com/users/Soren025/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T16:18:17Z","updated_at":"2015-01-27T16:18:17Z","body":"My reasoning is that currently there is no reliable way to store a type of entity into an annotation. The only means are through its id (requires a string constant to exist), enum (out of the question by design), or by entity class (thuss a method to get the ```EntityType``` from its class)."}}