Package net.minecraft.world.storage
Class WorldSummary
java.lang.Object
net.minecraft.world.storage.WorldSummary
- All Implemented Interfaces:
Comparable<WorldSummary>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final File
private ITextComponent
private final String
private final VersionData
private final boolean
private final boolean
private final WorldSettings
-
Constructor Summary
ConstructorDescriptionWorldSummary
(WorldSettings p_i232155_1_, VersionData p_i232155_2_, String p_i232155_3_, boolean p_i232155_4_, boolean p_i232155_5_, File p_i232155_6_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
compareTo
(WorldSummary p_compareTo_1_) private ITextComponent
getIcon()
getInfo()
long
boolean
boolean
boolean
isLocked()
boolean
boolean
boolean
-
Field Details
-
settings
-
levelVersion
-
levelId
-
requiresConversion
private final boolean requiresConversion -
locked
private final boolean locked -
icon
-
info
-
-
Constructor Details
-
WorldSummary
public WorldSummary(WorldSettings p_i232155_1_, VersionData p_i232155_2_, String p_i232155_3_, boolean p_i232155_4_, boolean p_i232155_5_, File p_i232155_6_)
-
-
Method Details
-
getLevelId
-
getLevelName
-
getIcon
-
isRequiresConversion
public boolean isRequiresConversion() -
getLastPlayed
public long getLastPlayed() -
compareTo
- Specified by:
compareTo
in interfaceComparable<WorldSummary>
-
getGameMode
-
isHardcore
public boolean isHardcore() -
hasCheats
public boolean hasCheats() -
getWorldVersionName
-
levelVersion
-
markVersionInList
public boolean markVersionInList() -
askToOpenWorld
public boolean askToOpenWorld() -
shouldBackup
public boolean shouldBackup() -
isLocked
public boolean isLocked() -
getInfo
-
createInfo
-