Package net.minecraft.client.toast
Enum Class SystemToast.Type
- All Implemented Interfaces:
Serializable,Comparable<SystemToast.Type>,Constable
- Enclosing class:
SystemToast
- Mappings:
Namespace Name intermediary net/minecraft/class_370$class_371official eqw$anamed 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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemToast.TypeReturns the enum constant of this class with the specified name.static SystemToast.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TUTORIAL_HINT
- Mappings:
Namespace Name Mixin selector intermediary field_2218Lnet/minecraft/class_370$class_371;field_2218:Lnet/minecraft/class_370$class_371;official aLeqw$a;a:Leqw$a;named TUTORIAL_HINTLnet/minecraft/client/toast/SystemToast$Type;TUTORIAL_HINT:Lnet/minecraft/client/toast/SystemToast$Type;
-
NARRATOR_TOGGLE
- Mappings:
Namespace Name Mixin selector intermediary field_2219Lnet/minecraft/class_370$class_371;field_2219:Lnet/minecraft/class_370$class_371;official bLeqw$a;b:Leqw$a;named NARRATOR_TOGGLELnet/minecraft/client/toast/SystemToast$Type;NARRATOR_TOGGLE:Lnet/minecraft/client/toast/SystemToast$Type;
-
WORLD_BACKUP
- Mappings:
Namespace Name Mixin selector intermediary field_2220Lnet/minecraft/class_370$class_371;field_2220:Lnet/minecraft/class_370$class_371;official cLeqw$a;c:Leqw$a;named WORLD_BACKUPLnet/minecraft/client/toast/SystemToast$Type;WORLD_BACKUP:Lnet/minecraft/client/toast/SystemToast$Type;
-
PACK_LOAD_FAILURE
- Mappings:
Namespace Name Mixin selector intermediary field_21809Lnet/minecraft/class_370$class_371;field_21809:Lnet/minecraft/class_370$class_371;official dLeqw$a;d:Leqw$a;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 intermediary field_23774Lnet/minecraft/class_370$class_371;field_23774:Lnet/minecraft/class_370$class_371;official eLeqw$a;e:Leqw$a;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 intermediary field_25445Lnet/minecraft/class_370$class_371;field_25445:Lnet/minecraft/class_370$class_371;official fLeqw$a;f:Leqw$a;named PACK_COPY_FAILURELnet/minecraft/client/toast/SystemToast$Type;PACK_COPY_FAILURE:Lnet/minecraft/client/toast/SystemToast$Type;
-
PERIODIC_NOTIFICATION
- Mappings:
Namespace Name Mixin selector intermediary field_36445Lnet/minecraft/class_370$class_371;field_36445:Lnet/minecraft/class_370$class_371;official gLeqw$a;g:Leqw$a;named PERIODIC_NOTIFICATIONLnet/minecraft/client/toast/SystemToast$Type;PERIODIC_NOTIFICATION:Lnet/minecraft/client/toast/SystemToast$Type;
-
UNSECURE_SERVER_WARNING
- Mappings:
Namespace Name Mixin selector intermediary field_39915Lnet/minecraft/class_370$class_371;field_39915:Lnet/minecraft/class_370$class_371;official hLeqw$a;h:Leqw$a;named UNSECURE_SERVER_WARNINGLnet/minecraft/client/toast/SystemToast$Type;UNSECURE_SERVER_WARNING:Lnet/minecraft/client/toast/SystemToast$Type;
-
-
Field Details
-
displayDuration
final long displayDuration- Mappings:
Namespace Name Mixin selector intermediary field_39340Lnet/minecraft/class_370$class_371;field_39340:Jofficial iLeqw$a;i:Jnamed displayDurationLnet/minecraft/client/toast/SystemToast$Type;displayDuration:J
-
-
Constructor Details
-
Type
private Type(long displayDuration) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_370$class_371;<init>(Ljava/lang/String;IJ)Vofficial <init>Leqw$a;<init>(Ljava/lang/String;IJ)Vnamed <init>Lnet/minecraft/client/toast/SystemToast$Type;<init>(Ljava/lang/String;IJ)V
-
Type
private Type()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-