Class LongRunningTask

java.lang.Object
com.mojang.realmsclient.util.task.LongRunningTask
All Implemented Interfaces:
ErrorCallback, Runnable
Direct Known Subclasses:
CloseServerTask, ConnectTask, DownloadTask, GetServerDetailsTask, OpenServerTask, ResettingWorldTask, RestoreTask, SwitchMinigameTask, SwitchSlotTask, WorldCreationTask

public abstract class LongRunningTask extends Object implements ErrorCallback, Runnable
  • Field Details

    • NUMBER_OF_RETRIES

      protected static final int NUMBER_OF_RETRIES
      See Also:
      Constant Field Values
    • LOGGER

      public static final org.apache.logging.log4j.Logger LOGGER
    • longRunningMcoTaskScreen

      protected RealmsLongRunningMcoTaskScreen longRunningMcoTaskScreen
  • Constructor Details

    • LongRunningTask

      public LongRunningTask()
  • Method Details

    • pause

      protected static void pause(long p_167656_)
    • setScreen

      public static void setScreen(Screen p_90406_)
    • setScreen

      public void setScreen(RealmsLongRunningMcoTaskScreen p_90401_)
    • error

      public void error(Component p_90408_)
      Specified by:
      error in interface ErrorCallback
    • setTitle

      public void setTitle(Component p_90410_)
    • aborted

      public boolean aborted()
    • tick

      public void tick()
    • init

      public void init()
    • abortTask

      public void abortTask()