See My post for a example: http://www.minecraftforum.net/topic/514000-api-minecraft-forge/page__view__findpost__p__10948540