Interface CLIWorld

All Known Implementing Classes:
ClipboardWorld

public interface CLIWorld
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets whether the world is dirty.
    void
    save(boolean force)
    Saves this world back to file if dirty or forced.
    void
    setDirty(boolean dirty)
    Set the world's dirty status.
  • Method Details

    • save

      void save(boolean force)
      Saves this world back to file if dirty or forced.
      Parameters:
      force - Force a save
    • isDirty

      boolean isDirty()
      Gets whether the world is dirty.
      Returns:
      If it's dirty
    • setDirty

      void setDirty(boolean dirty)
      Set the world's dirty status.
      Parameters:
      dirty - if dirty