Class LevelSummary
java.lang.Object
net.minecraft.world.level.storage.LevelSummary
- All Implemented Interfaces:
Comparable<LevelSummary>
- Direct Known Subclasses:
LevelSummary.CorruptedLevelSummary
,LevelSummary.SymlinkLevelSummary
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Path
private Component
private final String
private final LevelVersion
private final boolean
static final Component
private final boolean
private final LevelSettings
-
Constructor Summary
ConstructorDescriptionLevelSummary
(LevelSettings p_251217_, LevelVersion p_249179_, String p_250462_, boolean p_252096_, boolean p_251054_, boolean p_252271_, Path p_252001_) -
Method Summary
-
Field Details
-
PLAY_WORLD
-
settings
-
levelVersion
-
levelId
-
requiresManualConversion
private final boolean requiresManualConversion -
locked
private final boolean locked -
experimental
private final boolean experimental -
icon
-
info
-
-
Constructor Details
-
LevelSummary
public LevelSummary(LevelSettings p_251217_, LevelVersion p_249179_, String p_250462_, boolean p_252096_, boolean p_251054_, boolean p_252271_, Path p_252001_)
-
-
Method Details
-
getLevelId
-
getLevelName
-
getIcon
-
requiresManualConversion
public boolean requiresManualConversion() -
isExperimental
public boolean isExperimental() -
getLastPlayed
public long getLastPlayed() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LevelSummary>
-
getSettings
-
getGameMode
-
isHardcore
public boolean isHardcore() -
hasCommands
public boolean hasCommands() -
getWorldVersionName
-
levelVersion
-
shouldBackup
public boolean shouldBackup() -
isDowngrade
public boolean isDowngrade() -
backupStatus
-
isLocked
public boolean isLocked() -
isDisabled
public boolean isDisabled() -
isCompatible
public boolean isCompatible() -
getInfo
-
createInfo
-
-
primaryActionActive
public boolean primaryActionActive() -
canUpload
public boolean canUpload() -
canEdit
public boolean canEdit() -
canRecreate
public boolean canRecreate() -
canDelete
public boolean canDelete() -
isLifecycleExperimental
public boolean isLifecycleExperimental()
-