Package net.minecraft.client.realms.task
Class LongRunningTask
java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
- Direct Known Subclasses:
CloseServerTask
,DownloadTask
,OpenServerTask
,RealmsConnectTask
,RealmsGetServerDetailsTask
,ResettingWorldTask
,RestoreTask
,SwitchMinigameTask
,SwitchSlotTask
,WorldCreationTask
@Environment(CLIENT) public abstract class LongRunningTask extends Object implements Errable, Runnable
- Mappings:
Namespace Name official dpk
intermediary net/minecraft/class_4358
named net/minecraft/client/realms/task/LongRunningTask
-
Field Summary
Fields Modifier and Type Field Description static Logger
LOGGER
protected RealmsLongRunningMcoTaskScreen
longRunningMcoTaskScreen
-
Constructor Summary
Constructors Constructor Description LongRunningTask()
-
Method Summary
Modifier and Type Method Description boolean
aborted()
void
abortTask()
void
error(Text errorMessage)
void
init()
protected static void
pause(long long2)
Moved from RealmsTasks in 20w10a.static void
setScreen(Screen screen)
Moved from Realms in 20w10a.void
setScreen(RealmsLongRunningMcoTaskScreen longRunningMcoTaskScreen)
void
setTitle(Text title)
void
tick()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldpk;a:Lorg/apache/logging/log4j/Logger;
intermediary field_22731
Lnet/minecraft/class_4358;field_22731:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/task/LongRunningTask;LOGGER:Lorg/apache/logging/log4j/Logger;
-
longRunningMcoTaskScreen
- Mappings:
Namespace Name Mixin selector official b
Ldpk;b:Ldoe;
intermediary field_19638
Lnet/minecraft/class_4358;field_19638:Lnet/minecraft/class_4398;
named longRunningMcoTaskScreen
Lnet/minecraft/client/realms/task/LongRunningTask;longRunningMcoTaskScreen:Lnet/minecraft/client/realms/gui/screen/RealmsLongRunningMcoTaskScreen;
-
-
Constructor Details
-
LongRunningTask
public LongRunningTask()
-
-
Method Details
-
pause
protected static void pause(long long2)Moved from RealmsTasks in 20w10a.- Mappings:
Namespace Name Mixin selector official a
Ldpk;a(J)V
intermediary method_25287
Lnet/minecraft/class_4358;method_25287(J)V
named pause
Lnet/minecraft/client/realms/task/LongRunningTask;pause(J)V
-
setScreen
Moved from Realms in 20w10a.- Mappings:
Namespace Name Mixin selector official a
Ldpk;a(Ldve;)V
intermediary method_25289
Lnet/minecraft/class_4358;method_25289(Lnet/minecraft/class_437;)V
named setScreen
Lnet/minecraft/client/realms/task/LongRunningTask;setScreen(Lnet/minecraft/client/gui/screen/Screen;)V
-
setScreen
- Mappings:
Namespace Name Mixin selector official a
Ldpk;a(Ldoe;)V
intermediary method_21066
Lnet/minecraft/class_4358;method_21066(Lnet/minecraft/class_4398;)V
named setScreen
Lnet/minecraft/client/realms/task/LongRunningTask;setScreen(Lnet/minecraft/client/realms/gui/screen/RealmsLongRunningMcoTaskScreen;)V
-
error
-
setTitle
- Mappings:
Namespace Name Mixin selector official b
Ldpk;b(Loi;)V
intermediary method_21069
Lnet/minecraft/class_4358;method_21069(Lnet/minecraft/class_2561;)V
named setTitle
Lnet/minecraft/client/realms/task/LongRunningTask;setTitle(Lnet/minecraft/text/Text;)V
-
aborted
public boolean aborted()- Mappings:
Namespace Name Mixin selector official c
Ldpk;c()Z
intermediary method_21065
Lnet/minecraft/class_4358;method_21065()Z
named aborted
Lnet/minecraft/client/realms/task/LongRunningTask;aborted()Z
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official b
Ldpk;b()V
intermediary method_21068
Lnet/minecraft/class_4358;method_21068()V
named tick
Lnet/minecraft/client/realms/task/LongRunningTask;tick()V
-
init
public void init()- Mappings:
Namespace Name Mixin selector official d
Ldpk;d()V
intermediary method_21070
Lnet/minecraft/class_4358;method_21070()V
named init
Lnet/minecraft/client/realms/task/LongRunningTask;init()V
-
abortTask
public void abortTask()- Mappings:
Namespace Name Mixin selector official a
Ldpk;a()V
intermediary method_21071
Lnet/minecraft/class_4358;method_21071()V
named abortTask
Lnet/minecraft/client/realms/task/LongRunningTask;abortTask()V
-