Posted August 30, 201411 yr Is there a way to reduce damage of a player? i tried something like this: @SubscribeEvent public void damageEvent(AttackEntityEvent event) { if(event.target instanceof EntityPlayer) { if(somethinghere()) { //damage reduction } } }
August 30, 201411 yr LivingHurtEvent you can change the amount of damage in the event. just need to add your logic like "is the event.entity a player and is holding a bone, -1 to damage (reduction)" Currently updating my Mod to 1.10.2 https://bitbucket.org/hugo_the_dwarf/riseoftristram2016/src?at=master
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.