Interface TestWorldSave
@NonExtendable
public interface TestWorldSave
A handle for a singleplayer world save. Can be used to reopen a singleplayer world that was created earlier in the
same gametest.
-
Method Summary
Modifier and TypeMethodDescriptionGets the directory of the world save.open()
Opens and joins the singleplayer world.
-
Method Details
-
getSaveDirectory
Path getSaveDirectory()Gets the directory of the world save.- Returns:
- The world save directory
-
open
TestSingleplayerContext open()Opens and joins the singleplayer world.- Returns:
- The singleplayer context of the world that was joined
-