Should I program with Java or Python?

Lo
- in Plugins
3

I would like to program Minecraft servers, so plugins and so on. I don't know whether to start learning with Python or Java. I know that I can use Python very well for other things and java is very well intended for Minecraft. So another question is: Is it good to program Minecraft plugins with Python? I would like to (if possible) program other things in the future too, for example robots. And Python would be better suited.

Bu

I would like to program Minecraft servers, so plugins and so on.

Java is known to be the optimal choice for this task. After a short research you will find ways to build plugins with Python, but you may have to wait for new developments of the APIs or you will not get any support at all.

I know that I can use Python very well for other things and java is very well intended for Minecraft.

Java shouldn't just be reduced to Minecraft. The possible application range of Java is quite broad. Web, IoT, Android, … There are already corresponding libraries / frameworks for many topics that support further developments.

I would like to (if possible) program other things in the future too, for example robots.

There are also Java tools for microcontrollers. I have already named some of them.

I don't know whether to start learning with Python or Java.

If in doubt, you will learn one of the two later.

Both are suitable for entry. You will find plenty of teaching material for both. I would probably prefer Java (or Processing, read more), because on the one hand you get to know such a powerful, well-formed programming language that exemplifies a strict, stable system. On the other hand, a later switch to a ducktyping language like Python will certainly be easier than the other way around.

Ma

I can only recommend Java to you.

Best wishes

gl

There's probably only one person in the whole universe who programs Minecraft plugins with Python

I've tried it myself, but for that you need a localhost server, then you have to link Python stuff to the server and then an error comes up that can't be fixed xD

And even if you finally have the opportunity to program Minecraft plugins with Python, Java is still better because there are many more possibilities with Java

With Python you can just send messages and place blocks, which is what you can actually do with commands xD

But you can do pretty much anything with Java

Hypixel is roughly 50% Java plugins lol

All the game modes are also Java plugins

And the cosmetics etc. Are also all made with Java plugins

SO

If you want to program Minecraft plugins then you definitely have to learn Java, but you can also learn Python first if you want

I started btw with python first