Posted March 24, 201411 yr Okay, so, I'm making some armour, but I want it to reduce fire damage. I've got the doArmorTick set up to give me fire resistance when I want it to, but fire resistance makes you immune to fire damage, and I want it to only, say, half the amount of damage that fire does. Would it be a LivingHurtEvent? If so, how would I go about doing it? Any pointers would be helpful. (Yes, I know there's an enchantment that does this, and I've looked at how that works, but, from what I can gather, most of it is done in the Entity class, and I'd rather not use the enchantment)
March 24, 201411 yr Author Ah, got it, thanks Well, sort of. I can manipulate how much damage it does by plus and minus, but I can't do percentages/multipliers/dividers But, I can work that out now that I know the code actually works, so, yeah, 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.