Class LongRunningTask

java.lang.Object
com.mojang.realmsclient.gui.LongRunningTask
All Implemented Interfaces:
Runnable, IErrorConsumer
Direct Known Subclasses:
CloseRealmsAction, ConnectedToRealmsAction, ConnectingToRealmsAction, CreateWorldRealmsAction, OpeningWorldRealmsAction, PrepareDownloadRealmsAction, ResetWorldRealmsAction, RestoringBackupRealmsAction, StartMinigameRealmsAction, SwitchMinigameRealmsAction

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

    • 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(int p_238125_0_)
    • setScreen

      public static void setScreen(Screen p_238127_0_)
    • setScreen

      public void setScreen(RealmsLongRunningMcoTaskScreen p_224987_1_)
    • error

      public void error(ITextComponent p_230434_1_)
      Specified by:
      error in interface IErrorConsumer
    • setTitle

      public void setTitle(ITextComponent p_224989_1_)
    • aborted

      public boolean aborted()
    • tick

      public void tick()
    • init

      public void init()
    • abortTask

      public void abortTask()