Registers a method to be run while gui is open. Registered method runs on draw. Arguments passed through to method:
int mouseX
int mouseY
float partialTicks
the trigger
the method to run