Interface WorldWorkerManager.IWorker

All Known Implementing Classes:
ChunkGenWorker
Enclosing class:
WorldWorkerManager

public static interface WorldWorkerManager.IWorker
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Perform a task, returning true from this will have the manager call this function again this tick if there is time left.
    boolean
     
  • Method Details

    • hasWork

      boolean hasWork()
    • doWork

      boolean doWork()
      Perform a task, returning true from this will have the manager call this function again this tick if there is time left. Returning false will skip calling this worker until next tick.