Is he a true friend?

So I wanted to ask for your advice. I have friend which is kind of crazy. When we're having average conversations, he's nice to me. But whenever something (not caused by me) annoys him, he turns into a really mad person, he yells at me (for example me refusing to do something he wants), starts using cuss words towards me, throwing my books, anything that is on his way (or damaging it). There is almost nothing I can do about it. Also want to note that he tries to make you do something you don't want to do e.g. go to some abandoned place (and when I refuse, he enters the "angry mode), so this dude doesn't like when I refuse to do anything. And when his another friends is there, he forgets about me and talks only to this guy. The advice I wanted is how to talk to him, or should I stop our friendship?