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

      private final boolean experimental
    • icon

      private final Path icon
    • info

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

      public String getLevelId()
    • getLevelName

      public String getLevelName()
    • getIcon

      public Path getIcon()
    • requiresManualConversion

      public boolean requiresManualConversion()
    • isExperimental

      public boolean isExperimental()
    • 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()
    • isLifecycleExperimental

      public boolean isLifecycleExperimental()