This day I solved the previous issue about recipes unlocking. With the advice from a friend, I found out about
misode which is a data pack generator. This helped me to created the json files needed to implement recipe advancements.
I added crops to the game so players can grow their own cassava. I did this by following
this video tutorial.
Testing my code returned an error, which after going back over, I found was because I had placed a file in the wrong folder. Putting it in the correct folder allowed my code to work. Another error I had gotten was because I had used the wrong variable for the textures in the json files. By replacing crop with cross (as I wanted my texture to generate in a cross pattern), my program worked. When I was testing the growth of my crops I discovered that the last stage of growth was missing a texture. This was because the stages of growth start from 0 up to AND INCLUDING the final age.