create function for registering recipes that compress (and optionally un-compress) items. an example of this in vanilla is wheat being compressable into hay.