Posted July 7, 201411 yr I have armor that when worn endermen dont attack you anymore. I looked at the endermen code and it uses a private boolean method shouldAttackPlayer which I cannot override, how would I go about making them not attack me? Thanks
July 7, 201411 yr have you tried to use forge events to check when an enderman locks in it's target and then cancel the event?
July 7, 201411 yr There is an event for when a mob agro's. You can cancel it if the player is wearing the armor. Long time Bukkit & Forge Programmer Happy to try and help
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.