Package net.minecraft.client.sound
Enum Class SoundCategory
- All Implemented Interfaces:
Serializable,Comparable<SoundCategory>,Constable
- Mappings:
Namespace Name official niintermediary 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 aLni;a:Lni;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 bLni;b:Lni;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 cLni;c:Lni;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 dLni;d:Lni;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 eLni;e:Lni;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 fLni;f:Lni;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 gLni;g:Lni;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 hLni;h:Lni;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 iLni;i:Lni;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 jLni;j:Lni;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 kLni;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 lLni;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>Lni;<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 aLni;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 aLni;a(Ljava/lang/String;)Lni;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 bLni;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;
-