The word that means the same as the main villain in a book is "antagonist". This is a character or force that opposes or goes against the protagonist or main character, creating conflict and tension in the story. The antagonist can range from a human or animal character to a supernatural entity or even an idea or system. Understanding the role and motivations of the antagonist is important in analyzing the themes and messages of a story.