When Mojang sold Minecraft to Microsoft, they did not own the copyright and did not have a contract saying they have the right to transfer their implied license, therefore Microsoft actually is violating copyright here.
Source: I went through exactly this same legal scenario and won.