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
FieldsFields inherited from class com.mojang.realmsclient.util.task.LongRunningTask
LOGGER, longRunningMcoTaskScreen, NUMBER_OF_RETRIES -
Constructor Summary
ConstructorsConstructorDescriptionResettingWorldTask(long p_167676_, Component p_167677_, Runnable p_167678_) -
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
-
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()
-