Thread:LOTRMod/@comment-25330335-20170418211958/@comment-25101690-20170419020545


 * 1) I have no idea. Maybe I used the wrong Minecraft version when writing this, as I'm also modding in 1.10. Just look what methods are available and how you can get the object you want (Entity/EntityLivingBase/PlayerEntity).
 * 2) You can finds lots of tutorials for creating Forge event listeners.

I'm sorry I can't help you more. It's a while ago that I wrote this code, and a while ago that I did any Minecraft modding at all.