The required dependencies are not provided for the set the provided items damage to blocks. You will have to find another trigger or another way to do this.
The problem is that the Player Update Tick isn't linked to an item. You cannot deal 5 damage to a player update tick.
What you seem to get wrong is that yo think that "Provided Item" is the item that you checked for in the If statement, like "Get armour from slot 3". But none of these are "Provided item". Provided item is the item that is provided by the procedure itself.
For example: If you'd create an Item mod element, and created a procedure on that item, "provided item" would refer to THAT item. The item the procedure is attached to.
If you would attach this procedure to a pickaxe for example, then this is what the procedure would do: ("Provided item" would become Pickaxe:)
if Has provided entity Get item from armor slot 3 in inventory
Set the (Pickaxe) item damage to Get item damage of the (Pickaxe) - 5
else if Has provided entity Get item from armor slot 2 in inventory
Set the (Pickaxe) item damage to Get item damage of the (Pickaxe) - 5
Has provided entity Get item from armor slot 1 in inventory
Set the (Pickaxe) item damage to Get item damage of the (Pickaxe) - 5
The required dependencies are not provided for the set the provided items damage to blocks. You will have to find another trigger or another way to do this.
The problem is that the Player Update Tick isn't linked to an item. You cannot deal 5 damage to a player update tick.
What you seem to get wrong is that yo think that "Provided Item" is the item that you checked for in the If statement, like "Get armour from slot 3". But none of these are "Provided item". Provided item is the item that is provided by the procedure itself.
For example: If you'd create an Item mod element, and created a procedure on that item, "provided item" would refer to THAT item. The item the procedure is attached to.
If you would attach this procedure to a pickaxe for example, then this is what the procedure would do: ("Provided item" would become Pickaxe:)
Oh, I see! Thanks! Is there a way to add procedures to the vanilla armor?
They there is a global trigger for armor or I don't think that's possible yet.
Either there is*
Thanks again for the help ^u^