hematite icon indicating copy to clipboard operation
hematite copied to clipboard

Copy mapfile automatically, by name (Feature)

Open RichardlL opened this issue 10 years ago • 3 comments

(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.

RichardlL avatar Dec 06 '15 17:12 RichardlL

This should be quite easy to do right now. It may happen sooner than you think... :smile:

toqueteos avatar Dec 06 '15 20:12 toqueteos

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

mattico avatar Mar 09 '16 22:03 mattico

I'll do this once I'm done with #203 :laughing:

mattico avatar Mar 17 '16 02:03 mattico