what about the other endings, like я?
We have several types of declension of nouns and some nouns are not declined.
Nouns which end with -я belong to the first declension.
They include feminine gender nouns like земля, статья, экскурсия, masculine gender nouns (дядя, Ваня), common gender nouns (соня)
They have the following forms*:
земля, земли, земле,землю, землёй (землёю), земле
семья, семьи, семье, семью, семьёй (семьёю), семье.
*Forms shown above for the words земля (earth) and семья (family) are singular case declensions of the following (and in this order):
nominative - genitive - dative - accusative - instrumental - prepositional
But nouns ending with -ия have -ии in the dative and prepositional :
России, Марии, Софии, экскурсии.