Interface WorldPaths


public interface WorldPaths
Contains paths related to worlds.

Paths are those the server writes to; they may not exist yet if nothing has been saved.

Since:
0.1.0
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Contains paths shared by all worlds.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the directory holding data specific to the world, e.g.
    Returns the directory holding the world, e.g.
    Returns the holder for root paths.
  • Method Details

    • directory

      Path directory()
      Returns the directory holding the world, e.g. world/dimensions/minecraft/overworld.
      Returns:
      the directory holding the world
      Since:
      0.1.0
    • dataDirectory

      Path dataDirectory()
      Returns the directory holding data specific to the world, e.g. world/dimensions/minecraft/overworld/data.
      Returns:
      the directory holding the data
      Since:
      0.1.0
    • rootPaths

      Returns the holder for root paths.
      Returns:
      the holder for root paths
      Since:
      0.1.0