Class ResettingWorldTask
java.lang.Object
com.mojang.realmsclient.util.task.LongRunningTask
com.mojang.realmsclient.util.task.ResettingWorldTask
- All Implemented Interfaces:
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
NUMBER_OF_RETRIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
void
run()
protected abstract void
sendResetRequest
(RealmsClient p_167679_, long p_167680_)
-
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() -
getTitle
- Specified by:
getTitle
in classLongRunningTask
-