Bukkit/CraftBukkit — pull request #813 by tomsik68 (2012-07-06 11:27:55+00:00)
Title: Added method to World to get entity with specified id

Added method getEntity(int entityId) which returns an entity from world with specified id.
Useful for saving entities as numbers - their IDs.