Class ResettingWorldTask
java.lang.Object
com.mojang.realmsclient.util.task.LongRunningTask
com.mojang.realmsclient.util.task.ResettingWorldTask
- All Implemented Interfaces:
ErrorCallback
,Runnable
- Direct Known Subclasses:
ResettingGeneratedWorldTask
,ResettingTemplateWorldTask
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Runnable
private static final org.slf4j.Logger
private final long
private final Component
Fields inherited from class com.mojang.realmsclient.util.task.LongRunningTask
longRunningMcoTaskScreen, NUMBER_OF_RETRIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
protected abstract void
sendResetRequest
(RealmsClient p_167679_, long p_167680_) Methods inherited from class com.mojang.realmsclient.util.task.LongRunningTask
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tick
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
-
LOGGER
private static final org.slf4j.Logger LOGGER -
serverId
private final long serverId -
title
-
callback
-
-
Constructor Details
-
ResettingWorldTask
-
-
Method Details
-
sendResetRequest
protected abstract void sendResetRequest(RealmsClient p_167679_, long p_167680_) throws RealmsServiceException - Throws:
RealmsServiceException
-
run
public void run()
-