Package net.minecraft.client.toast
Enum SystemToast.Type
- All Implemented Interfaces:
Serializable,Comparable<SystemToast.Type>,java.lang.constant.Constable
- Enclosing class:
- SystemToast
@Environment(CLIENT) public static enum SystemToast.Type extends Enum<SystemToast.Type>
- Mappings:
Namespace Name official dta$aintermediary net/minecraft/class_370$class_371named net/minecraft/client/toast/SystemToast$Type
-
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 NARRATOR_TOGGLEPACK_COPY_FAILUREPACK_LOAD_FAILURETUTORIAL_HINTWORLD_ACCESS_FAILUREWORLD_BACKUPWORLD_GEN_SETTINGS_TRANSFER -
Constructor Summary
Constructors Modifier Constructor Description privateType() -
Method Summary
Modifier and Type Method Description static SystemToast.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SystemToast.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TUTORIAL_HINT
- Mappings:
Namespace Name Mixin selector official aLdta$a;a:Ldta$a;intermediary field_2218Lnet/minecraft/class_370$class_371;field_2218:Lnet/minecraft/class_370$class_371;named TUTORIAL_HINTLnet/minecraft/client/toast/SystemToast$Type;TUTORIAL_HINT:Lnet/minecraft/client/toast/SystemToast$Type;
-
NARRATOR_TOGGLE
- Mappings:
Namespace Name Mixin selector official bLdta$a;b:Ldta$a;intermediary field_2219Lnet/minecraft/class_370$class_371;field_2219:Lnet/minecraft/class_370$class_371;named NARRATOR_TOGGLELnet/minecraft/client/toast/SystemToast$Type;NARRATOR_TOGGLE:Lnet/minecraft/client/toast/SystemToast$Type;
-
WORLD_BACKUP
- Mappings:
Namespace Name Mixin selector official cLdta$a;c:Ldta$a;intermediary field_2220Lnet/minecraft/class_370$class_371;field_2220:Lnet/minecraft/class_370$class_371;named WORLD_BACKUPLnet/minecraft/client/toast/SystemToast$Type;WORLD_BACKUP:Lnet/minecraft/client/toast/SystemToast$Type;
-
WORLD_GEN_SETTINGS_TRANSFER
- Mappings:
Namespace Name Mixin selector official dLdta$a;d:Ldta$a;intermediary field_25039Lnet/minecraft/class_370$class_371;field_25039:Lnet/minecraft/class_370$class_371;named WORLD_GEN_SETTINGS_TRANSFERLnet/minecraft/client/toast/SystemToast$Type;WORLD_GEN_SETTINGS_TRANSFER:Lnet/minecraft/client/toast/SystemToast$Type;
-
PACK_LOAD_FAILURE
- Mappings:
Namespace Name Mixin selector official eLdta$a;e:Ldta$a;intermediary field_21809Lnet/minecraft/class_370$class_371;field_21809:Lnet/minecraft/class_370$class_371;named PACK_LOAD_FAILURELnet/minecraft/client/toast/SystemToast$Type;PACK_LOAD_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
-
WORLD_ACCESS_FAILURE
- Mappings:
Namespace Name Mixin selector official fLdta$a;f:Ldta$a;intermediary field_23774Lnet/minecraft/class_370$class_371;field_23774:Lnet/minecraft/class_370$class_371;named WORLD_ACCESS_FAILURELnet/minecraft/client/toast/SystemToast$Type;WORLD_ACCESS_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
-
PACK_COPY_FAILURE
- Mappings:
Namespace Name Mixin selector official gLdta$a;g:Ldta$a;intermediary field_25445Lnet/minecraft/class_370$class_371;field_25445:Lnet/minecraft/class_370$class_371;named PACK_COPY_FAILURELnet/minecraft/client/toast/SystemToast$Type;PACK_COPY_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
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
-