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 Textdetailsprivate Filefileprivate LevelInfolevelInfoprivate booleanlockedprivate Stringnameprivate booleanrequiresConversionprivate SaveVersionInfoversionInfo -
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 intcompareTo(LevelSummary levelSummary)private TextcreateDetails()TextgetDetails()StringgetDisplayName()FilegetFile()GameModegetGameMode()longgetLastPlayed()StringgetName()MutableTextgetVersion()booleanhasCheats()booleanisDifferentVersion()booleanisFutureLevel()booleanisHardcore()booleanisLocked()booleanisOutdatedLevel()SaveVersionInfomethod_29586()booleanrequiresConversion()
-
Field Details
-
levelInfo
-
versionInfo
-
name
-
requiresConversion
private final boolean requiresConversion -
locked
private final boolean locked -
file
-
details
-
-
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:
compareToin 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() -
getDetails
-
createDetails
-