@Environment(value=CLIENT) public class ResettingWorldTask extends LongRunningTask
Modifier and Type | Field and Description |
---|---|
private Runnable |
callback |
private boolean |
generateStructures |
private int |
levelType |
private String |
seed |
private long |
serverId |
private Text |
title |
private WorldTemplate |
worldTemplate |
LOGGER, longRunningMcoTaskScreen
Constructor and Description |
---|
ResettingWorldTask(String seed,
WorldTemplate worldTemplate,
int levelType,
boolean generateStructures,
long serverId,
Text text,
Runnable callback) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tick
private final String seed
private final WorldTemplate worldTemplate
private final int levelType
private final boolean generateStructures
private final long serverId
private Text title
private final Runnable callback