Enum Class LevelSummary.BackupStatus

java.lang.Object
java.lang.Enum<LevelSummary.BackupStatus>
net.minecraft.world.level.storage.LevelSummary.BackupStatus
All Implemented Interfaces:
Serializable, Comparable<LevelSummary.BackupStatus>, Constable
Enclosing class:
LevelSummary

public static enum LevelSummary.BackupStatus extends Enum<LevelSummary.BackupStatus>
  • Enum Constant Details

  • Field Details

    • shouldBackup

      private final boolean shouldBackup
    • severe

      private final boolean severe
    • translationKey

      private final String translationKey
  • Constructor Details

    • BackupStatus

      private BackupStatus(boolean p_164928_, boolean p_164929_, String p_164930_)
  • Method Details

    • values

      public static LevelSummary.BackupStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LevelSummary.BackupStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • shouldBackup

      public boolean shouldBackup()
    • isSevere

      public boolean isSevere()
    • getTranslationKey

      public String getTranslationKey()