I'm trying to make a bot that buys stuff from a shop, then switches worlds once it's done, then a few other things. I'll worry about the rest later, right now I'm stuck at buying things.
I figured out how to get the InterfaceComponent that I need using:
InterfaceComponent itemInterface =...