MinecraftForge/MinecraftForge — pull request #1137 by ArtixAllMighty (2014-06-08 07:44:33+00:00)
Title: Setting getExperiencePoints to public

Currently, entities only drop experience when killed by a player. setting the getExperiencePoints method to public would allow for modders to get the experience when the mob is killed by a custom entity. This would also prevent the modder from needing to use playerdamage on the mob, which would cause it to attack the player, and not the entity itself. (example : levelable pets)