I've gotten the item itself created, textured, etc, but it would appear that there is no simple way to just tell the item to clear all effects when drinking/eating something.
I've seen other support posts with similar questions, but no helpful answers, since I want this to be able to support any number of other mods' effects as well, but the function demonstrated on the wiki only clears one effect at a time.
I guess a more accurate question here; Is there any way to iterate through all effect IDs to clear them one by one in a single loop, or is there some hidden way to just clear every effect from one function call?