Started by
shadowmaster2119
on
Topic category: Help with MCreator software
Is there a way I can cause the armour items that a player has equipped to regenerate damage using the "On player update" trigger? This would greatly help in my mod
Thanks,
Shadow
You want to regen armor or player?
The armour
make it unbreakable then
I want it to be breakable just when you go into lava it regenerates the health of the armour
Mcreator can lower durability, not sure about lava only. Just make the armour give Fire Resistance all the time, or you can set the durability lower to a negative number and hope it works.
I want it to regenerate the item health when the player enters lava
Ok, set when [touching lava] lower item durability by -10, or 5 or whatever you want. Done.
But the problem is is that with that trigger I can't access the items durability
Also rednax you should check your "how to make enemies that inflict conditions" forum more often
Do on player update trigger, if (touching lava) then decrease item durability (specify which slot) by -X.