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

    • levelInfo

      private final LevelInfo levelInfo
    • field_25023

      private final SaveVersionInfo field_25023
    • name

      private final String name
    • requiresConversion

      private final boolean requiresConversion
    • locked

      private final boolean locked
    • file

      private final File file
    • field_24191

      @Environment(CLIENT) @Nullable private Text field_24191
  • Constructor Details

  • Method Details

    • getName

      @Environment(CLIENT) public String getName()
    • getDisplayName

      @Environment(CLIENT) public String getDisplayName()
    • getFile

      @Environment(CLIENT) public File getFile()
    • requiresConversion

      @Environment(CLIENT) public boolean requiresConversion()
    • getLastPlayed

      @Environment(CLIENT) public long getLastPlayed()
    • compareTo

      public int compareTo​(LevelSummary levelSummary)
      Specified by:
      compareTo in interface Comparable<LevelSummary>
    • getGameMode

      @Environment(CLIENT) public GameMode getGameMode()
    • isHardcore

      @Environment(CLIENT) public boolean isHardcore()
    • hasCheats

      @Environment(CLIENT) public boolean hasCheats()
    • getVersion

      @Environment(CLIENT) public MutableText getVersion()
    • method_29586

      public SaveVersionInfo method_29586()
    • isDifferentVersion

      @Environment(CLIENT) public boolean isDifferentVersion()
    • isFutureLevel

      @Environment(CLIENT) public boolean isFutureLevel()
    • isOutdatedLevel

      @Environment(CLIENT) public boolean isOutdatedLevel()
    • isLocked

      @Environment(CLIENT) public boolean isLocked()
    • method_27429

      @Environment(CLIENT) public Text method_27429()
    • method_27430

      @Environment(CLIENT) private Text method_27430()