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
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.apache.logging.log4j.Logger
protected RealmsLongRunningMcoTaskScreen
protected static int
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.realmsclient.gui.ErrorCallback
error
-
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
-
-
Constructor Details
-
LongRunningTask
public LongRunningTask()
-
-
Method Details
-
pause
protected static void pause(long p_167656_) -
setScreen
-
setScreen
-
error
- Specified by:
error
in interfaceErrorCallback
-
setTitle
-
aborted
public boolean aborted() -
tick
public void tick() -
init
public void init() -
abortTask
public void abortTask()
-