Started by
pylonuclear
on
Topic category: Help with MCreator software
I am wanting to make an invulnerability potion.
I tried making it so that it sets your health to 20 every tick, but that would not account for things like fall damage or one-shot weapons. I was wondering what I could do to prevent that.
Any help would be appreciated!
Edited by pylonuclear on Thu, 10/29/2020 - 00:24
I think the best way to avoid things like that being one-shot is for the potion to also apply an absurd amount of resistance as well. This way it sets health to 20 every tick, as well as reduces damage from things as much as possible. Perhaps also include Fire Resist, Water Breathing, and some other stuff like that.
Though, I would also recommend having it set player health to player max health (I think there's a procedure block for Max Health). That way it is compatible with things like health boost potions.
Hope this helps.
It worked! Thank you!