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
FieldsModifier and TypeFieldDescriptionprivate final Runnableprivate static final org.slf4j.Loggerprivate final longprivate final ComponentFields inherited from class com.mojang.realmsclient.util.task.LongRunningTask
longRunningMcoTaskScreen, NUMBER_OF_RETRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()protected abstract voidsendResetRequest(RealmsClient p_167679_, long p_167680_) Methods inherited from class com.mojang.realmsclient.util.task.LongRunningTask
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tickMethods 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
-
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()
-