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 Details

    • getSaveDirectory

      Path getSaveDirectory()
      Gets the directory of the world save.
      Returns:
      The world save directory
    • open

      Opens and joins the singleplayer world.
      Returns:
      The singleplayer context of the world that was joined