Continuing the discussion from Minimum food from raid?:
It is possible to have such a low amount of food that your opponent gets none when raiding you. I craft all of my food into replenish’s and all my opponents get is wood.
You can get both of your resources so low that you don’t even show up when people look for raids. This is called ghosting. Search it and I’m sure Ull find some threads about it.