In term of money, yes, it beats Sonic 3 a lot.

In term of quality, well ... that's debatable.
I don't enjoy Minecraft movie, Sonic 3 is still the best for me, but then again I'm not a Minecraft player so I could be biased.
The Minecraft movie made me regard Jack Black more of a manchild than I prefered. Everything about the movie felt lazily written. But the fact cinema's were still packed with fans and brainrotted youths had me concerned.