The original version of Minecraft, Java Edition, which supports cross-platform play between Windows, macOS, and Linux, could be purchased and played by creating an account with the developer Mojang.
Way back in 2020, the developers announced a major change to Minecraft: Java Edition, as players would soon be required to swap from a Mojang account to a Microsoft account in order to keep playing.