Minecraft wiki entry for Survival_in_an_infinite_desert, associated text: Wood is more difficult to get. You need to find a pillager outpost or a mineshaft to get logs and planks (only planks in mineshafts). Be careful of cave spiders and pillagers, and make sure you have some armor, at least leather or better.