I was wondering if taking the Java tutorial on repl.it is a good choice for learning or if there is another site that may explain it better.
If you want to learn the coding aspect, use repl.it because most courses only focus on the syntax, if you want to learn more about how programming works, find a YouTube video. Also I would recommend getting a beginner course to Minecraft scripting, because it would leave out the things unnecessary for Minecraft programming, and would save time. If you want to be able to use Java for more stuff, get a detailed java course on repl.it or other places.
@JulianLowe Minecraft has a lot of its own ways of doing things - you're better off learning from a recent youtube tutorial series than learning Java by itself.
Don't get me wrong, learning Java beforehand will be helpful, but don't expect to know how to make Minecraft mods instantly after - won't even be close.