Pocketmine doesn't have hunger implemented. If you are using Imagicalmine or something else, go on their forums and ask there.