Class LevelSummary
java.lang.Object
net.minecraft.world.level.storage.LevelSummary
- All Implemented Interfaces:
Comparable<LevelSummary>
public class LevelSummary extends Object implements Comparable<LevelSummary>
-
Field Summary
Fields Modifier and Type Field Description private Text
field_24191
private SaveVersionInfo
field_25023
private File
file
private LevelInfo
levelInfo
private boolean
locked
private String
name
private boolean
requiresConversion
-
Constructor Summary
Constructors Constructor Description LevelSummary(LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, String string, boolean bool, boolean bool2, File file)
-
Method Summary
Modifier and Type Method 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
isLocked()
boolean
isOutdatedLevel()
Text
method_27429()
private Text
method_27430()
SaveVersionInfo
method_29586()
boolean
requiresConversion()
-
Field Details
-
levelInfo
-
field_25023
-
name
-
requiresConversion
private final boolean requiresConversion -
locked
private final boolean locked -
file
-
field_24191
-
-
Constructor Details
-
LevelSummary
public LevelSummary(LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, String string, boolean bool, boolean bool2, File file)
-
-
Method Details
-
getName
-
getDisplayName
-
getFile
-
requiresConversion
@Environment(CLIENT) public boolean requiresConversion() -
getLastPlayed
@Environment(CLIENT) public long getLastPlayed() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LevelSummary>
-
getGameMode
-
isHardcore
@Environment(CLIENT) public boolean isHardcore() -
hasCheats
@Environment(CLIENT) public boolean hasCheats() -
getVersion
-
method_29586
-
isDifferentVersion
@Environment(CLIENT) public boolean isDifferentVersion() -
isFutureLevel
@Environment(CLIENT) public boolean isFutureLevel() -
isOutdatedLevel
@Environment(CLIENT) public boolean isOutdatedLevel() -
isLocked
@Environment(CLIENT) public boolean isLocked() -
method_27429
-
method_27430
-