Minecraft wiki entry for Survival_in_an_infinite_desert, associated text: If you are lucky enough to have any grass blocks or buy podzol from a Wandering Trader, you may be able to get flowers. With flowers, you can attract and breed rabbits. This then turns them into a renewable food source. Otherwise, you may have to keep wandering around the desert to find more rabbits after you have killed off all the rabbits in an area. If there are no flowers nearby, kill skeletons for their bones, because you can craft bone meal and use that to fertilize grass blocks to grow additional flowers. As long as skeletons keep coming, you can create a permanently sustainable food supply this way. Alternatively, if you are able to mine fossils, you can craft bone meal from those, but that is difficult without at least stone tools (bone meal can be obtained from various ways in villages, but villages can solve your food problems in easier ways).