Enum LevelSummary.ConversionWarning
java.lang.Object
java.lang.Enum<LevelSummary.ConversionWarning>
net.minecraft.world.level.storage.LevelSummary.ConversionWarning
- All Implemented Interfaces:
Serializable,Comparable<LevelSummary.ConversionWarning>,java.lang.constant.Constable
- Enclosing class:
- LevelSummary
@Environment(CLIENT) public static enum LevelSummary.ConversionWarning extends Enum<LevelSummary.ConversionWarning>
- Mappings:
Namespace Name official dfo$aintermediary net/minecraft/class_34$class_5781named net/minecraft/world/level/storage/LevelSummary$ConversionWarning
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description DOWNGRADENONEUPGRADE_TO_SNAPSHOT -
Field Summary
Fields Modifier and Type Field Description private booleanbackupprivate booleanboldRedFormattingprivate StringtranslationKeySuffix -
Constructor Summary
Constructors Modifier Constructor Description privateConversionWarning(boolean backup, boolean boldRedFormatting, String translationKeySuffix) -
Method Summary
Modifier and Type Method Description StringgetTranslationKeySuffix()booleanneedsBoldRedFormatting()booleanpromptsBackup()static LevelSummary.ConversionWarningvalueOf(String name)Returns the enum constant of this type with the specified name.static LevelSummary.ConversionWarning[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLdfo$a;a:Ldfo$a;intermediary field_28437Lnet/minecraft/class_34$class_5781;field_28437:Lnet/minecraft/class_34$class_5781;named NONELnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;NONE:Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;
-
DOWNGRADE
- Mappings:
Namespace Name Mixin selector official bLdfo$a;b:Ldfo$a;intermediary field_28438Lnet/minecraft/class_34$class_5781;field_28438:Lnet/minecraft/class_34$class_5781;named DOWNGRADELnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;DOWNGRADE:Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;
-
UPGRADE_TO_SNAPSHOT
- Mappings:
Namespace Name Mixin selector official cLdfo$a;c:Ldfo$a;intermediary field_28439Lnet/minecraft/class_34$class_5781;field_28439:Lnet/minecraft/class_34$class_5781;named UPGRADE_TO_SNAPSHOTLnet/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 dLdfo$a;d:Zintermediary field_28440Lnet/minecraft/class_34$class_5781;field_28440:Znamed backupLnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;backup:Z
-
boldRedFormatting
private final boolean boldRedFormatting- Mappings:
Namespace Name Mixin selector official eLdfo$a;e:Zintermediary field_28441Lnet/minecraft/class_34$class_5781;field_28441:Znamed boldRedFormattingLnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;boldRedFormatting:Z
-
translationKeySuffix
- Mappings:
Namespace Name Mixin selector official fLdfo$a;f:Ljava/lang/String;intermediary field_28442Lnet/minecraft/class_34$class_5781;field_28442:Ljava/lang/String;named translationKeySuffixLnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;translationKeySuffix:Ljava/lang/String;
-
-
Constructor Details
-
ConversionWarning
- Mappings:
Namespace Name Mixin selector official <init>Ldfo$a;<init>(Ljava/lang/String;IZZLjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_34$class_5781;<init>(Ljava/lang/String;IZZLjava/lang/String;)Vnamed <init>Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;<init>(Ljava/lang/String;IZZLjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
promptsBackup
public boolean promptsBackup()- Mappings:
Namespace Name Mixin selector official aLdfo$a;a()Zintermediary method_33406Lnet/minecraft/class_34$class_5781;method_33406()Znamed promptsBackupLnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;promptsBackup()Z
-
needsBoldRedFormatting
public boolean needsBoldRedFormatting()- Mappings:
Namespace Name Mixin selector official bLdfo$a;b()Zintermediary method_33407Lnet/minecraft/class_34$class_5781;method_33407()Znamed needsBoldRedFormattingLnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;needsBoldRedFormatting()Z
-
getTranslationKeySuffix
- Mappings:
Namespace Name Mixin selector official cLdfo$a;c()Ljava/lang/String;intermediary method_33408Lnet/minecraft/class_34$class_5781;method_33408()Ljava/lang/String;named getTranslationKeySuffixLnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;getTranslationKeySuffix()Ljava/lang/String;
-