Package net.minecraft.client.toast
Enum Class Toast.Visibility
- All Implemented Interfaces:
Serializable,Comparable<Toast.Visibility>,Constable
- Enclosing interface:
Toast
- Mappings:
Namespace Name named net/minecraft/client/toast/Toast$Visibilityintermediary net/minecraft/class_368$class_369official fkv$a
-
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 TypeMethodDescriptionvoidplaySound(SoundManager soundManager) static Toast.VisibilityReturns the enum constant of this class with the specified name.static Toast.Visibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHOW
- Mappings:
Namespace Name Mixin selector named SHOWLnet/minecraft/client/toast/Toast$Visibility;SHOW:Lnet/minecraft/client/toast/Toast$Visibility;intermediary field_2210Lnet/minecraft/class_368$class_369;field_2210:Lnet/minecraft/class_368$class_369;official aLfkv$a;a:Lfkv$a;
-
HIDE
- Mappings:
Namespace Name Mixin selector named HIDELnet/minecraft/client/toast/Toast$Visibility;HIDE:Lnet/minecraft/client/toast/Toast$Visibility;intermediary field_2209Lnet/minecraft/class_368$class_369;field_2209:Lnet/minecraft/class_368$class_369;official bLfkv$a;b:Lfkv$a;
-
-
Field Details
-
sound
- Mappings:
Namespace Name Mixin selector named soundLnet/minecraft/client/toast/Toast$Visibility;sound:Lnet/minecraft/sound/SoundEvent;intermediary field_2211Lnet/minecraft/class_368$class_369;field_2211:Lnet/minecraft/class_3414;official cLfkv$a;c:Lavo;
-
-
Constructor Details
-
Visibility
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/toast/Toast$Visibility;<init>(Ljava/lang/String;ILnet/minecraft/sound/SoundEvent;)Vintermediary <init>Lnet/minecraft/class_368$class_369;<init>(Ljava/lang/String;ILnet/minecraft/class_3414;)Vofficial <init>Lfkv$a;<init>(Ljava/lang/String;ILavo;)V
-
-
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
-
playSound
- Mappings:
Namespace Name Mixin selector named playSoundLnet/minecraft/client/toast/Toast$Visibility;playSound(Lnet/minecraft/client/sound/SoundManager;)Vintermediary method_1988Lnet/minecraft/class_368$class_369;method_1988(Lnet/minecraft/class_1144;)Vofficial aLfkv$a;a(Lgvf;)V
-