Package com.mojang.realmsclient.gui
Class LongRunningTask
- java.lang.Object
-
- com.mojang.realmsclient.gui.LongRunningTask
-
- All Implemented Interfaces:
java.lang.Runnable
,IErrorConsumer
- Direct Known Subclasses:
CloseRealmsAction
,ConnectedToRealmsAction
,ConnectingToRealmsAction
,CreateWorldRealmsAction
,OpeningWorldRealmsAction
,PrepareDownloadRealmsAction
,ResetWorldRealmsAction
,RestoringBackupRealmsAction
,StartMinigameRealmsAction
,SwitchMinigameRealmsAction
public abstract class LongRunningTask extends java.lang.Object implements IErrorConsumer, java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.logging.log4j.Logger
LOGGER
protected RealmsLongRunningMcoTaskScreen
longRunningMcoTaskScreen
-
Constructor Summary
Constructors Constructor Description LongRunningTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
aborted()
void
abortTask()
void
error(ITextComponent p_230434_1_)
void
init()
protected static void
pause(int p_238125_0_)
void
setScreen(RealmsLongRunningMcoTaskScreen p_224987_1_)
static void
setScreen(Screen p_238127_0_)
void
setTitle(ITextComponent p_224989_1_)
void
tick()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.realms.IErrorConsumer
error
-
-
-
-
Field Detail
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER
-
longRunningMcoTaskScreen
protected RealmsLongRunningMcoTaskScreen longRunningMcoTaskScreen
-
-
Method Detail
-
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 interfaceIErrorConsumer
-
setTitle
public void setTitle(ITextComponent p_224989_1_)
-
aborted
public boolean aborted()
-
tick
public void tick()
-
init
public void init()
-
abortTask
public void abortTask()
-
-