Programing a game like minecraft

what language would I need to make a game like Minecraft

Minecraft is written in Java, but Java is generally not the standard for such games, in fact, you might say minecraft is an exception

would JS work too. strong text

JS + canvas would work for web games (games on webpages), but not much else when it comes to games

although, unity offers something which is very similair to JS, but you would have to delve into it, but then you should see if c# wouldn’t be a better fit