Started by
kapelnik
on
Topic category: Help with modding (Java Edition)
I want to have armor points added to me (like when I wear armor)while I hold an item in my hand. How can I do this?
Topic category: Help with modding (Java Edition)
I want to have armor points added to me (like when I wear armor)while I hold an item in my hand. How can I do this?
Use an item in hand trigger or item in inventory trigger. Then you can use an effect, on tick add 1 tick of resistance effect. For the armour, use the tick events to check for all 4 pieces then set a variable to true when all 4 are on the player. Then add a condition to the on tick effect that only adds effect when variable above is set to true.