Mine the grass block and click the "S" button to trade the dirt for the wooden sword. I know you can just trade for nothin'.... but if you wanna have fun follow the rules!