If you are playing on the official skyblock server I think you can buy some grass. I believe grass grows on its own so if you have dirt just place it and make a few runs over it until it becomes grass, or try putting some bonemeal on your dirt (idk if it works)