Package net.minecraft.client.sound
Enum Class SoundCategory
- All Implemented Interfaces:
Serializable,Comparable<SoundCategory>,Constable
- Mappings:
Namespace Name official qgintermediary net/minecraft/class_2153named net/minecraft/client/sound/SoundCategory
-
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 TypeMethodDescriptiongetName()static SoundCategorymethod_12843(String string) static SoundCategoryReturns the enum constant of this class with the specified name.static SoundCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MASTER
- Mappings:
Namespace Name Mixin selector official aLqg;a:Lqg;intermediary field_9092Lnet/minecraft/class_2153;field_9092:Lnet/minecraft/class_2153;named MASTERLnet/minecraft/client/sound/SoundCategory;MASTER:Lnet/minecraft/client/sound/SoundCategory;
-
MUSIC
- Mappings:
Namespace Name Mixin selector official bLqg;b:Lqg;intermediary field_9093Lnet/minecraft/class_2153;field_9093:Lnet/minecraft/class_2153;named MUSICLnet/minecraft/client/sound/SoundCategory;MUSIC:Lnet/minecraft/client/sound/SoundCategory;
-
RECORDS
- Mappings:
Namespace Name Mixin selector official cLqg;c:Lqg;intermediary field_9094Lnet/minecraft/class_2153;field_9094:Lnet/minecraft/class_2153;named RECORDSLnet/minecraft/client/sound/SoundCategory;RECORDS:Lnet/minecraft/client/sound/SoundCategory;
-
WEATHER
- Mappings:
Namespace Name Mixin selector official dLqg;d:Lqg;intermediary field_9095Lnet/minecraft/class_2153;field_9095:Lnet/minecraft/class_2153;named WEATHERLnet/minecraft/client/sound/SoundCategory;WEATHER:Lnet/minecraft/client/sound/SoundCategory;
-
BLOCKS
- Mappings:
Namespace Name Mixin selector official eLqg;e:Lqg;intermediary field_14352Lnet/minecraft/class_2153;field_14352:Lnet/minecraft/class_2153;named BLOCKSLnet/minecraft/client/sound/SoundCategory;BLOCKS:Lnet/minecraft/client/sound/SoundCategory;
-
HOSTILE
- Mappings:
Namespace Name Mixin selector official fLqg;f:Lqg;intermediary field_14353Lnet/minecraft/class_2153;field_14353:Lnet/minecraft/class_2153;named HOSTILELnet/minecraft/client/sound/SoundCategory;HOSTILE:Lnet/minecraft/client/sound/SoundCategory;
-
NEUTRAL
- Mappings:
Namespace Name Mixin selector official gLqg;g:Lqg;intermediary field_14354Lnet/minecraft/class_2153;field_14354:Lnet/minecraft/class_2153;named NEUTRALLnet/minecraft/client/sound/SoundCategory;NEUTRAL:Lnet/minecraft/client/sound/SoundCategory;
-
PLAYERS
- Mappings:
Namespace Name Mixin selector official hLqg;h:Lqg;intermediary field_9099Lnet/minecraft/class_2153;field_9099:Lnet/minecraft/class_2153;named PLAYERSLnet/minecraft/client/sound/SoundCategory;PLAYERS:Lnet/minecraft/client/sound/SoundCategory;
-
AMBIENT
- Mappings:
Namespace Name Mixin selector official iLqg;i:Lqg;intermediary field_9100Lnet/minecraft/class_2153;field_9100:Lnet/minecraft/class_2153;named AMBIENTLnet/minecraft/client/sound/SoundCategory;AMBIENT:Lnet/minecraft/client/sound/SoundCategory;
-
VOICE
- Mappings:
Namespace Name Mixin selector official jLqg;j:Lqg;intermediary field_14355Lnet/minecraft/class_2153;field_14355:Lnet/minecraft/class_2153;named VOICELnet/minecraft/client/sound/SoundCategory;VOICE:Lnet/minecraft/client/sound/SoundCategory;
-
-
Field Details
-
NAME_MAP
- Mappings:
Namespace Name Mixin selector official kLqg;k:Ljava/util/Map;intermediary field_9101Lnet/minecraft/class_2153;field_9101:Ljava/util/Map;named NAME_MAPLnet/minecraft/client/sound/SoundCategory;NAME_MAP:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official lLqg;l:Ljava/lang/String;intermediary field_9103Lnet/minecraft/class_2153;field_9103:Ljava/lang/String;named nameLnet/minecraft/client/sound/SoundCategory;name:Ljava/lang/String;
-
-
Constructor Details
-
SoundCategory
- Mappings:
Namespace Name Mixin selector official <init>Lqg;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2153;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/sound/SoundCategory;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
getName
- Mappings:
Namespace Name Mixin selector official aLqg;a()Ljava/lang/String;intermediary method_8382Lnet/minecraft/class_2153;method_8382()Ljava/lang/String;named getNameLnet/minecraft/client/sound/SoundCategory;getName()Ljava/lang/String;
-
method_12843
- Mappings:
Namespace Name Mixin selector official aLqg;a(Ljava/lang/String;)Lqg;intermediary method_12843Lnet/minecraft/class_2153;method_12843(Ljava/lang/String;)Lnet/minecraft/class_2153;named method_12843Lnet/minecraft/client/sound/SoundCategory;method_12843(Ljava/lang/String;)Lnet/minecraft/client/sound/SoundCategory;
-
method_12844
- Mappings:
Namespace Name Mixin selector official bLqg;b()Ljava/util/Set;intermediary method_12844Lnet/minecraft/class_2153;method_12844()Ljava/util/Set;named method_12844Lnet/minecraft/client/sound/SoundCategory;method_12844()Ljava/util/Set;
-