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$PlayResult
intermediary net/minecraft/class_1140$class_11518
official hws$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.PlayResult
Returns 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 STARTED
Lnet/minecraft/client/sound/SoundSystem$PlayResult;STARTED:Lnet/minecraft/client/sound/SoundSystem$PlayResult;
intermediary field_60954
Lnet/minecraft/class_1140$class_11518;field_60954:Lnet/minecraft/class_1140$class_11518;
official a
Lhws$b;a:Lhws$b;
-
STARTED_SILENTLY
- Mappings:
Namespace Name Mixin selector named STARTED_SILENTLY
Lnet/minecraft/client/sound/SoundSystem$PlayResult;STARTED_SILENTLY:Lnet/minecraft/client/sound/SoundSystem$PlayResult;
intermediary field_60955
Lnet/minecraft/class_1140$class_11518;field_60955:Lnet/minecraft/class_1140$class_11518;
official b
Lhws$b;b:Lhws$b;
-
NOT_STARTED
- Mappings:
Namespace Name Mixin selector named NOT_STARTED
Lnet/minecraft/client/sound/SoundSystem$PlayResult;NOT_STARTED:Lnet/minecraft/client/sound/SoundSystem$PlayResult;
intermediary field_60956
Lnet/minecraft/class_1140$class_11518;field_60956:Lnet/minecraft/class_1140$class_11518;
official c
Lhws$b;c:Lhws$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
-