じゃなかったんだ

wasn't

→ だ
phrase Uncommon #17,385
wasn't Casual explanatory form of じゃなかった, used to explain or emphasize that something was not the case. In the example, 気分じゃなかったんだ means “I wasn't in the mood.”
JA: 昨日は忙しくて、映画を見る気分じゃなかったんだ。
EN: I was busy yesterday, so I wasn't in the mood to watch a movie.

落ち込むなよ君を傷つけるつもりじゃなかったんだ

Don’t be so down. I didn’t mean to hurt you.

全然僕の好みじゃなかったんだから

It just wasn’t my thing at all.

使うべきじゃなかったんだ

I shouldn't have used it.

— レザボア・ドッグス (1992)

シータ父さんはうそつきじゃなかったんだ

Sheeta, your father wasn't a liar after all!

— 天空の城ラピュタ (1986)

そんな気分じゃなかったんだ

I just wasn't in the mood.

トム仕事を辞めるべきじゃなかったんだ

Tom shouldn’t have quit his job.

トランクから出すべきじゃなかったんだ

I shouldn't have taken it out of the trunk.

— レザボア・ドッグス (1992)

部屋を掃除したのはトムじゃなかったんだ

It wasn't Tom who cleaned the room.

目が覚めると二日酔い仕事に行く気分じゃなかったんだ

When I woke up, I had a hangover and didn’t feel like going to work.

そういうつもりじゃなかったんだ

That’s not what I meant.

そんなつもりじゃなかったんだ

I didn’t mean it that way.

メアリーあのネックレスをあげたのはトムじゃなかったんだ

It wasn't Tom who gave Mary that necklace.

一緒じゃなかったんだ

So you two weren't together.

— 崖の上のポニョ (2008)