So basically I need to call a function on an Item (happens to be a piece of armor) from a completely separate class, which (as far as I know, only has access to the ItemStack)
This is actually being called from my tickhandler, which should be every X ticks calling a function on that specific piece of armor if a player is wearing it.
The problem is, I can't figure out how to get the ItemStack object returned from .getCurrentItemOrArmor(X); Which returns an Itemstack, but I cannot find a way to call the Custom Object's functions from that.