My question is in the title, the below paragraph is the backstory for anyone interested. I just want to know if a general term that refers to any broad class of materials anything close to what is listed exists in English, or if not, in another language which I may borrow a word from. After all, English is kind of a language of loan words.
I'm working on some code to help me categorize items in various video games for efficient sorting and I've run into an issue. I need to put materials "from the ground", or "natural blocks", together into one category, and I want it to be divided into solid "stones", and something else. What should I call these remainders, which are all more granulated sorts of naturally occurring ground materials generally?