Given that we now have the ability to test for an item or block in a specific GUI's inventory slot when adding an event to an item, does that technically make it possible to test whether a certain piece of armor is equipped by the player? If it is possible, does anyone perhaps know how to do it? Or would it be easier to do that through the source code? I've attempted to use the said condition and plug in the values myself (thanks to info from the wiki), but either I'm using the wrong information, or it doesn't work that way.
Would anyone happen to know how to do this? I am wanting to allow a keybind to be usable if the player has a custom armor piece equipped. If you know how to do this, either through the "add event" window or via the source code, I would greatly appreciate the information.