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
    • requiresManualConversion

      private final boolean requiresManualConversion
    • locked

      private final boolean locked
    • icon

      private final Path icon
    • info

      @Nullable private Component info
  • Constructor Details

  • Method Details

    • getLevelId

      public String getLevelId()
    • getLevelName

      public String getLevelName()
    • getIcon

      public Path getIcon()
    • requiresManualConversion

      public boolean requiresManualConversion()
    • 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()
    • isDisabled

      public boolean isDisabled()
    • isCompatible

      public boolean isCompatible()
    • getInfo

      public Component getInfo()
    • createInfo

      private Component createInfo()
    • isExperimental

      public boolean isExperimental()