My suggestion fo the food spoiling mod for version 1.12.2 of java edition minecraft is to add in a feature regarding food preservative or decaying items when placing food into containers.
For Example:
A Vanilla Chest has a configurable storage time modifier to keep food from rotting.
Adding in an item like Snowballs, Snow Blocks, Packed Ice, Pams Salt items, etc. Would Increase the shelf life by an additional configurable modifier for ex. +0.01 for each snowball item in the chest (with a full stack of snowballs increasing the containers modifier by +0.64).
And adding in food decaying items like Rotten Flesh, Red mushrooms, podzol and etc. can decrease an items shelf life the same way snowballs or packed ice can.
I Hope this suggestion gets through!