Posted June 3, 201510 yr Hey, Im trying to create a Damage Reduction Calculator so I can see how much damage my armor, potion effects and enchants are stopping, and I have everything so far I just dont know how to get just the resistance level I have. I want to be able to just get the resistance effect's amplifier without having to create and iterator. Is there a way to do this? Thanks.
June 3, 201510 yr Author What you have against Iterators? someLivingEntity.getActivePotionEffect(<thePotion>) gives you the potion effect which tells you everything about the potion, such as amount left, modifier, etc. Nothing I just wanted to know if there was an easier way But thanks
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.