Minecraft wiki entry for Survival_in_an_infinite_desert, associated text: There is also the possibility of sugar cane and, less commonly, pumpkin spawning. In combination with seeds for breeding chickens, from grass, this means it's theoretically possible that a river biome can create sustainable food in the form of pumpkin pie. Pumpkin can also be bought from wandering traders, and sold to farmers for emeralds. Saplings can also be bought, providing an alternative to the river method above. However, because it is rare to find emeralds, make sure you think twice.