I'm sorry that my answer wasn't detailed enough. The cartoon you mentioned might be an adaptation of a very classic novel because it involves elements of the novel. The name of the cartoon might be My Neighbor Totoro. It was a classic cartoon created by Japanese manga artist Yoshihide Nagai, which was first released in 1986. The protagonist was a little boy named Orotake. He held a weapon called Magic Bullet that could summon all kinds of magical creatures and powers. In this anime, apart from Okumura Goro, there were other characters such as his neighbors. Each of them had their own characteristics and abilities. This cartoon was very popular and deeply influenced several generations.