Copy mapfile automatically, by name (Feature)
(I know in a previous issue said how the map file reading is unnecessary for the client, but while it is still in testing, its obviously still needed.)
What I mean is when launched it with
hematite $World_name
hematite would copy and load/manipulate your world from
$(minecraftdir)/saves/$World_name
automatically, as it does with the 1.8.3 jar.
It would also be convenient if when called with no arguments, It would list your save files.
This should be quite easy to do right now. It may happen sooner than you think... :smile:
I can do this once I'm done with https://github.com/PistonDevelopers/hematite/pull/260.
If I'm understanding correctly, the first part works already e.g. hematite Test loads the map named Test from the minecraftdir. It doesn't copy the save though (is that necessary?)
The second part does sound like a good idea, though I think it should require an argument or an invalid world to be given as its a convention for no-arguments to print usage. Example:
$ hematite --list-worlds
./Test
./Test2
~/.minecraft/saves/Test3
$ hematite Test4
No save `Test4` found. These saves were found:
./Test
./Test2
~/.minecraft/saves/Test3
I'll do this once I'm done with #203 :laughing: