Class WorldSummary

java.lang.Object
net.minecraft.world.storage.WorldSummary
All Implemented Interfaces:
Comparable<WorldSummary>

public class WorldSummary extends Object implements Comparable<WorldSummary>
  • Field Details

    • settings

      private final WorldSettings settings
    • levelVersion

      private final VersionData levelVersion
    • levelId

      private final String levelId
    • requiresConversion

      private final boolean requiresConversion
    • locked

      private final boolean locked
    • icon

      private final File icon
    • info

      @Nullable private ITextComponent 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

      public String getLevelId()
    • getLevelName

      public String getLevelName()
    • getIcon

      public File getIcon()
    • isRequiresConversion

      public boolean isRequiresConversion()
    • getLastPlayed

      public long getLastPlayed()
    • compareTo

      public int compareTo(WorldSummary p_compareTo_1_)
      Specified by:
      compareTo in interface Comparable<WorldSummary>
    • getGameMode

      public GameType getGameMode()
    • isHardcore

      public boolean isHardcore()
    • hasCheats

      public boolean hasCheats()
    • getWorldVersionName

      public IFormattableTextComponent getWorldVersionName()
    • levelVersion

      public VersionData levelVersion()
    • markVersionInList

      public boolean markVersionInList()
    • askToOpenWorld

      public boolean askToOpenWorld()
    • shouldBackup

      public boolean shouldBackup()
    • isLocked

      public boolean isLocked()
    • getInfo

      public ITextComponent getInfo()
    • createInfo

      private ITextComponent createInfo()