Class LongRunningTask

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

public abstract class LongRunningTask extends Object implements Runnable
  • Field Details

    • NUMBER_OF_RETRIES

      protected static final int NUMBER_OF_RETRIES
      See Also:
    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • aborted

      private boolean aborted
  • Constructor Details

    • LongRunningTask

      public LongRunningTask()
  • Method Details

    • pause

      protected static void pause(long p_167656_)
    • setScreen

      public static void setScreen(Screen p_90406_)
    • error

      protected void error(Component p_90408_)
    • error

      protected void error(Exception p_300964_)
    • error

      protected void error(RealmsServiceException p_301270_)
    • getTitle

      public abstract Component getTitle()
    • aborted

      public boolean aborted()
    • tick

      public void tick()
    • init

      public void init()
    • abortTask

      public void abortTask()