Exactly, but there is a but.
I had the idea that later on in my project I would want the Minecraft server to be “always online”. To do that, my program will grab the state of the (real) Minecraft server when it crashed. It will fix some things, and then my program would be able to start a different and smaller “fallback” server with that state, to keep the players connected and playing on your server. And then when the (big) server has been restarted, my program will once again connect all players that were “waiting” on the fallback server back to the big server.
And of course, to grab that state of the Minecraft server and to inject it into the new server, I would need access to the Minecraft package and classes in my program.
Thank you for spending your time on this, Merry Christmas! ?