Package net.minecraft.client.realms.task
Class LongRunningTask
java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
CloseServerTask
,CreatingSnapshotWorldTask
,DownloadTask
,OpenServerTask
,RealmsConnectTask
,RealmsPrepareConnectionTask
,ResettingWorldTask
,RestoreTask
,SwitchMinigameTask
,SwitchSlotTask
,WorldCreationTask
- Mappings:
Namespace Name named net/minecraft/client/realms/task/LongRunningTask
intermediary net/minecraft/class_4358
official ffn
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final Logger
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
aborted()
void
protected void
protected void
error
(RealmsServiceException exception) protected void
abstract Text
getTitle()
void
init()
protected static void
pause
(long seconds) Moved from RealmsTasks in 20w10a.static void
Moved from Realms in 20w10a.void
tick()
-
Field Details
-
MAX_RETRIES
protected static final int MAX_RETRIES- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_RETRIES
Lnet/minecraft/client/realms/task/LongRunningTask;MAX_RETRIES:I
intermediary field_32132
Lnet/minecraft/class_4358;field_32132:I
official a
Lffn;a:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/realms/task/LongRunningTask;LOGGER:Lorg/slf4j/Logger;
intermediary field_22731
Lnet/minecraft/class_4358;field_22731:Lorg/slf4j/Logger;
official b
Lffn;b:Lorg/slf4j/Logger;
-
aborted
private boolean aborted- Mappings:
Namespace Name Mixin selector named aborted
Lnet/minecraft/client/realms/task/LongRunningTask;aborted:Z
intermediary field_46136
Lnet/minecraft/class_4358;field_46136:Z
official c
Lffn;c:Z
-
-
Constructor Details
-
LongRunningTask
public LongRunningTask()
-
-
Method Details
-
pause
protected static void pause(long seconds) Moved from RealmsTasks in 20w10a.- Mappings:
Namespace Name Mixin selector named pause
Lnet/minecraft/client/realms/task/LongRunningTask;pause(J)V
intermediary method_25287
Lnet/minecraft/class_4358;method_25287(J)V
official a
Lffn;a(J)V
-
setScreen
Moved from Realms in 20w10a.- Mappings:
Namespace Name Mixin selector named setScreen
Lnet/minecraft/client/realms/task/LongRunningTask;setScreen(Lnet/minecraft/client/gui/screen/Screen;)V
intermediary method_25289
Lnet/minecraft/class_4358;method_25289(Lnet/minecraft/class_437;)V
official a
Lffn;a(Lfod;)V
-
error
- Mappings:
Namespace Name Mixin selector named error
Lnet/minecraft/client/realms/task/LongRunningTask;error(Lnet/minecraft/text/Text;)V
intermediary method_21067
Lnet/minecraft/class_4358;method_21067(Lnet/minecraft/class_2561;)V
official a
Lffn;a(Lwz;)V
-
error
- Mappings:
Namespace Name Mixin selector named error
Lnet/minecraft/client/realms/task/LongRunningTask;error(Ljava/lang/Exception;)V
intermediary method_53811
Lnet/minecraft/class_4358;method_53811(Ljava/lang/Exception;)V
official a
Lffn;a(Ljava/lang/Exception;)V
-
error
- Mappings:
Namespace Name Mixin selector named error
Lnet/minecraft/client/realms/task/LongRunningTask;error(Lnet/minecraft/client/realms/exception/RealmsServiceException;)V
intermediary method_53809
Lnet/minecraft/class_4358;method_53809(Lnet/minecraft/class_4355;)V
official a
Lffn;a(Lfdj;)V
-
getTitle
- Mappings:
Namespace Name Mixin selector named getTitle
Lnet/minecraft/client/realms/task/LongRunningTask;getTitle()Lnet/minecraft/text/Text;
intermediary method_53808
Lnet/minecraft/class_4358;method_53808()Lnet/minecraft/class_2561;
official a
Lffn;a()Lwz;
-
aborted
public boolean aborted()- Mappings:
Namespace Name Mixin selector named aborted
Lnet/minecraft/client/realms/task/LongRunningTask;aborted()Z
intermediary method_21065
Lnet/minecraft/class_4358;method_21065()Z
official d
Lffn;d()Z
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/client/realms/task/LongRunningTask;tick()V
intermediary method_21068
Lnet/minecraft/class_4358;method_21068()V
official c
Lffn;c()V
-
init
public void init()- Mappings:
Namespace Name Mixin selector named init
Lnet/minecraft/client/realms/task/LongRunningTask;init()V
intermediary method_21070
Lnet/minecraft/class_4358;method_21070()V
official e
Lffn;e()V
-
abortTask
public void abortTask()- Mappings:
Namespace Name Mixin selector named abortTask
Lnet/minecraft/client/realms/task/LongRunningTask;abortTask()V
intermediary method_21071
Lnet/minecraft/class_4358;method_21071()V
official b
Lffn;b()V
-