kappa
Don't have it any more.
It will work for anything lol just change the things that are specific to the source I was using like ItemDefinition.getDefinitions().values() to the respective item def list in the one you are using.
yo bro get back to me asap please.