r/learnjava • • Apr 24 '21

Transitioning from minecraft development to general java, where should I start?

I have been developing minecraft plugins / mods for the past 1,5 years but now want to move away from minecraft and more towards general Java if that makes sense. Due to my previous experiences using java while making minecraft plugins I would not consider myself a beginner but I am not completely sure where I do fall in the spectrum since most of my experience was while using an api. I do know my way around enums, (abstract) classes, interfaces, variables, methods and most 'intermidate' stuff. Are there any tips on where I should start? And maybe some handy stuff to check out?

Thanks in advance!

47 Upvotes

27 comments sorted by

View all comments

10

u/thevernabean Apr 24 '21

Here are a few projects I learned a lot from in the past. Feel free to pick something you like or do something different. As always, the best way to learn Java is to code a Java application you are interested in:

  • A TCP/IP server that parses incoming data and does something with it like send an HTTP request.

  • Spring Boot applications

  • A CLI application using Apache Commons CLI

  • A Swing based UI application

  • A password manager that uses PBKDF2, Bcrypt, Scrypt or some other hashing function and AES to encrypt a password store.

  • An HTTPS server using your own Certificate Authority.

  • Build your own search indexer using Lucene

  • Implement your own tree based indexing

  • Build a database client that uses JDBC similar to Squirrel or DBeaver

  • Build a Reactive Java application using Mutiny or Spring Reactor

  • Build a simulation for stuff like falling objects and springs using approximate differential equations. (Runge-Kutta, Euler method, etc...)

  • Implement your own Cipher algorithm or re-implement a well know one like Galois Counter Mode, Rijndael and AES.

  • Build an XML or JSON parser/serializer

Really I just find anything that seems like magic and try to figure it out. In the end I learn a ton and it makes me a better coder. Never stop coding.

1

u/javadeveloper42069 Apr 25 '21

Thank you very much, some of these seem like a great start!