Make sure you are not holding a pickaxe in your hand, then go up to it and press [F] to get the materials
Okay, thanks!