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