@Environment(value=CLIENT) public class LevelSummary extends Object implements Comparable<LevelSummary>
| Modifier and Type | Field and Description |
|---|---|
private Text |
field_24191 |
private LevelInfo |
field_25022 |
private class_5315 |
field_25023 |
private File |
file |
private com.mojang.serialization.Lifecycle |
generatorType |
private boolean |
locked |
private String |
name |
private boolean |
requiresConversion |
| Constructor and Description |
|---|
LevelSummary(LevelInfo levelInfo,
class_5315 class_5315,
String string,
boolean bool,
boolean bool2,
File file,
com.mojang.serialization.Lifecycle lifecycle) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LevelSummary levelSummary) |
String |
getDisplayName() |
File |
getFile() |
GameMode |
getGameMode() |
long |
getLastPlayed() |
String |
getName() |
MutableText |
getVersion() |
boolean |
hasCheats() |
boolean |
isDifferentVersion() |
boolean |
isFutureLevel() |
boolean |
isHardcore() |
boolean |
isLegacyCustomizedWorld() |
boolean |
isLocked() |
boolean |
isOutdatedLevel() |
Text |
method_27429() |
private Text |
method_27430() |
boolean |
method_29020() |
protected GeneratorOptions |
method_29021() |
boolean |
requiresConversion() |
private final LevelInfo field_25022
private final class_5315 field_25023
private final String name
private final boolean requiresConversion
private final boolean locked
private final File file
private final com.mojang.serialization.Lifecycle generatorType
public LevelSummary(LevelInfo levelInfo, class_5315 class_5315, String string, boolean bool, boolean bool2, File file, com.mojang.serialization.Lifecycle lifecycle)
public String getName()
public String getDisplayName()
public File getFile()
public boolean requiresConversion()
public long getLastPlayed()
public int compareTo(LevelSummary levelSummary)
compareTo in interface Comparable<LevelSummary>public GameMode getGameMode()
public boolean isHardcore()
public boolean hasCheats()
public MutableText getVersion()
public boolean isDifferentVersion()
public boolean isFutureLevel()
public boolean method_29020()
protected GeneratorOptions method_29021()
public boolean isLegacyCustomizedWorld()
public boolean isOutdatedLevel()
public boolean isLocked()
public Text method_27429()
private Text method_27430()