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
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprotected RealmsLongRunningMcoTaskScreenprotected static final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.realmsclient.gui.ErrorCallback
error
-
Field Details
-
NUMBER_OF_RETRIES
protected static final int NUMBER_OF_RETRIES- See Also:
-
LOGGER
private static final org.slf4j.Logger LOGGER -
longRunningMcoTaskScreen
-
-
Constructor Details
-
LongRunningTask
public LongRunningTask()
-
-
Method Details
-
pause
protected static void pause(long p_167656_) -
setScreen
-
setScreen
-
error
- Specified by:
errorin interfaceErrorCallback
-
setTitle
-
aborted
public boolean aborted() -
tick
public void tick() -
init
public void init() -
abortTask
public void abortTask()
-