@Environment(value=CLIENT) public class OpenServerTask extends LongRunningTask
Modifier and Type | Field and Description |
---|---|
private boolean |
join |
private RealmsMainScreen |
mainScreen |
private Screen |
returnScreen |
private RealmsServer |
serverData |
LOGGER, longRunningMcoTaskScreen
Constructor and Description |
---|
OpenServerTask(RealmsServer realmsServer,
Screen returnScreen,
RealmsMainScreen mainScreen,
boolean join) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tick
private final RealmsServer serverData
private final Screen returnScreen
private final boolean join
private final RealmsMainScreen mainScreen
public OpenServerTask(RealmsServer realmsServer, Screen returnScreen, RealmsMainScreen mainScreen, boolean join)