Package net.minecraft.client.sound
Enum Class SoundSystem.PlayResult
- All Implemented Interfaces:
Serializable,Comparable<SoundSystem.PlayResult>,Constable
- Enclosing class:
SoundSystem
- Mappings:
Namespace Name named net/minecraft/client/sound/SoundSystem$PlayResultintermediary net/minecraft/class_1140$class_11518official ihn$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoundSystem.PlayResultReturns the enum constant of this class with the specified name.static SoundSystem.PlayResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTED
- Mappings:
Namespace Name Mixin selector named STARTEDLnet/minecraft/client/sound/SoundSystem$PlayResult;STARTED:Lnet/minecraft/client/sound/SoundSystem$PlayResult;intermediary field_60954Lnet/minecraft/class_1140$class_11518;field_60954:Lnet/minecraft/class_1140$class_11518;official aLihn$b;a:Lihn$b;
-
STARTED_SILENTLY
- Mappings:
Namespace Name Mixin selector named STARTED_SILENTLYLnet/minecraft/client/sound/SoundSystem$PlayResult;STARTED_SILENTLY:Lnet/minecraft/client/sound/SoundSystem$PlayResult;intermediary field_60955Lnet/minecraft/class_1140$class_11518;field_60955:Lnet/minecraft/class_1140$class_11518;official bLihn$b;b:Lihn$b;
-
NOT_STARTED
- Mappings:
Namespace Name Mixin selector named NOT_STARTEDLnet/minecraft/client/sound/SoundSystem$PlayResult;NOT_STARTED:Lnet/minecraft/client/sound/SoundSystem$PlayResult;intermediary field_60956Lnet/minecraft/class_1140$class_11518;field_60956:Lnet/minecraft/class_1140$class_11518;official cLihn$b;c:Lihn$b;
-
-
Constructor Details
-
PlayResult
private PlayResult()
-
-
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
-