Enum Class LevelSummary.ConversionWarning

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

public static enum LevelSummary.ConversionWarning extends Enum<LevelSummary.ConversionWarning>
Mappings:
Namespace Name
official egn$a
intermediary net/minecraft/class_34$class_5781
named net/minecraft/world/level/storage/LevelSummary$ConversionWarning
  • Enum Constant Details

    • NONE

      public static final LevelSummary.ConversionWarning NONE
      Mappings:
      Namespace Name Mixin selector
      official a Legn$a;a:Legn$a;
      intermediary field_28437 Lnet/minecraft/class_34$class_5781;field_28437:Lnet/minecraft/class_34$class_5781;
      named NONE Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;NONE:Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;
    • DOWNGRADE

      public static final LevelSummary.ConversionWarning DOWNGRADE
      Mappings:
      Namespace Name Mixin selector
      official b Legn$a;b:Legn$a;
      intermediary field_28438 Lnet/minecraft/class_34$class_5781;field_28438:Lnet/minecraft/class_34$class_5781;
      named DOWNGRADE Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;DOWNGRADE:Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;
    • UPGRADE_TO_SNAPSHOT

      public static final LevelSummary.ConversionWarning UPGRADE_TO_SNAPSHOT
      Mappings:
      Namespace Name Mixin selector
      official c Legn$a;c:Legn$a;
      intermediary field_28439 Lnet/minecraft/class_34$class_5781;field_28439:Lnet/minecraft/class_34$class_5781;
      named UPGRADE_TO_SNAPSHOT Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;UPGRADE_TO_SNAPSHOT:Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;
  • Field Details

    • backup

      private final boolean backup
      Mappings:
      Namespace Name Mixin selector
      official d Legn$a;d:Z
      intermediary field_28440 Lnet/minecraft/class_34$class_5781;field_28440:Z
      named backup Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;backup:Z
    • dangerous

      private final boolean dangerous
      Mappings:
      Namespace Name Mixin selector
      official e Legn$a;e:Z
      intermediary field_28441 Lnet/minecraft/class_34$class_5781;field_28441:Z
      named dangerous Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;dangerous:Z
    • translationKeySuffix

      private final String translationKeySuffix
      Mappings:
      Namespace Name Mixin selector
      official f Legn$a;f:Ljava/lang/String;
      intermediary field_28442 Lnet/minecraft/class_34$class_5781;field_28442:Ljava/lang/String;
      named translationKeySuffix Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;translationKeySuffix:Ljava/lang/String;
  • Constructor Details

    • ConversionWarning

      private ConversionWarning(boolean backup, boolean dangerous, String translationKeySuffix)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legn$a;<init>(Ljava/lang/String;IZZLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_34$class_5781;<init>(Ljava/lang/String;IZZLjava/lang/String;)V
      named <init> Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;<init>(Ljava/lang/String;IZZLjava/lang/String;)V
  • Method Details

    • values

      public static LevelSummary.ConversionWarning[] 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.ConversionWarning 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
    • promptsBackup

      public boolean promptsBackup()
      Mappings:
      Namespace Name Mixin selector
      official a Legn$a;a()Z
      intermediary method_33406 Lnet/minecraft/class_34$class_5781;method_33406()Z
      named promptsBackup Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;promptsBackup()Z
    • isDangerous

      public boolean isDangerous()
      Mappings:
      Namespace Name Mixin selector
      official b Legn$a;b()Z
      intermediary method_33407 Lnet/minecraft/class_34$class_5781;method_33407()Z
      named isDangerous Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;isDangerous()Z
    • getTranslationKeySuffix

      public String getTranslationKeySuffix()
      Mappings:
      Namespace Name Mixin selector
      official c Legn$a;c()Ljava/lang/String;
      intermediary method_33408 Lnet/minecraft/class_34$class_5781;method_33408()Ljava/lang/String;
      named getTranslationKeySuffix Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;getTranslationKeySuffix()Ljava/lang/String;