Class ServerTask

java.lang.Object
net.minecraft.server.ServerTask
All Implemented Interfaces:
Runnable

public class ServerTask
extends Object
implements Runnable
  • Field Details

    • creationTicks

      private final int creationTicks
    • runnable

      private final Runnable runnable
  • Constructor Details

    • ServerTask

      public ServerTask​(int creationTicks, Runnable runnable)
  • Method Details

    • getCreationTicks

      public int getCreationTicks()
    • run

      public void run()
      Specified by:
      run in interface Runnable