"StarClan are the deceased ancestors, descendants, and Clanmates of the Clan cats. Cats are only allowed to join StarClan when they die if they have lived an honorable life and followed the warrior code." (Warriors Wiki)