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 Details

    • settings

      private final LevelSettings settings
    • levelVersion

      private final LevelVersion levelVersion
    • levelId

      private final String levelId
    • requiresConversion

      private final boolean requiresConversion
    • locked

      private final boolean locked
    • icon

      private final File icon
    • info

      @Nullable private Component info
  • Constructor Details

  • 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(LevelSummary p_78360_)
      Specified by:
      compareTo in interface Comparable<LevelSummary>
    • getSettings

      public LevelSettings getSettings()
    • getGameMode

      public GameType getGameMode()
    • isHardcore

      public boolean isHardcore()
    • hasCheats

      public boolean hasCheats()
    • getWorldVersionName

      public MutableComponent getWorldVersionName()
    • levelVersion

      public LevelVersion levelVersion()
    • markVersionInList

      public boolean markVersionInList()
    • askToOpenWorld

      public boolean askToOpenWorld()
    • backupStatus

      public LevelSummary.BackupStatus backupStatus()
    • isLocked

      public boolean isLocked()
    • isIncompatibleWorldHeight

      public boolean isIncompatibleWorldHeight()
    • isDisabled

      public boolean isDisabled()
    • getInfo

      public Component getInfo()
    • createInfo

      private Component createInfo()