Friendship is mostly about emotion. Taking others feelings into account when deciding upon your actions. “Treat others how you want to be treated” is a nice, general tactic, but not always the best.
But all three are important on at least some level. You wouldn’t buck a friend square in the jaw, for example. And you wouldn’t act dumb around them either. All things in balance, but having a solid and understanding emotional relationship is the key to a steady friendship.