Package net.minecraft.client.sound
Enum Class SoundCategory
- All Implemented Interfaces:
Serializable,Comparable<SoundCategory>,Constable
- Mappings:
Namespace Name official wintermediary 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 TypeMethodDescriptionstatic SoundCategoryintgetId()getName()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 aLw;a:Lw;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 bLw;b:Lw;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 cLw;c:Lw;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 dLw;d:Lw;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 eLw;e:Lw;intermediary field_9096Lnet/minecraft/class_2153;field_9096:Lnet/minecraft/class_2153;named BLOCKSLnet/minecraft/client/sound/SoundCategory;BLOCKS:Lnet/minecraft/client/sound/SoundCategory;
-
MOBS
- Mappings:
Namespace Name Mixin selector official fLw;f:Lw;intermediary field_9097Lnet/minecraft/class_2153;field_9097:Lnet/minecraft/class_2153;named MOBSLnet/minecraft/client/sound/SoundCategory;MOBS:Lnet/minecraft/client/sound/SoundCategory;
-
ANIMALS
- Mappings:
Namespace Name Mixin selector official gLw;g:Lw;intermediary field_9098Lnet/minecraft/class_2153;field_9098:Lnet/minecraft/class_2153;named ANIMALSLnet/minecraft/client/sound/SoundCategory;ANIMALS:Lnet/minecraft/client/sound/SoundCategory;
-
PLAYERS
- Mappings:
Namespace Name Mixin selector official hLw;h:Lw;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 iLw;i:Lw;intermediary field_9100Lnet/minecraft/class_2153;field_9100:Lnet/minecraft/class_2153;named AMBIENTLnet/minecraft/client/sound/SoundCategory;AMBIENT:Lnet/minecraft/client/sound/SoundCategory;
-
-
Field Details
-
NAME_MAP
- Mappings:
Namespace Name Mixin selector official jLw;j: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;
-
CATEGORY_MAP
- Mappings:
Namespace Name Mixin selector official kLw;k:Ljava/util/Map;intermediary field_9102Lnet/minecraft/class_2153;field_9102:Ljava/util/Map;named CATEGORY_MAPLnet/minecraft/client/sound/SoundCategory;CATEGORY_MAP:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official lLw;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;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official mLw;m:Iintermediary field_9104Lnet/minecraft/class_2153;field_9104:Inamed idLnet/minecraft/client/sound/SoundCategory;id:I
-
-
Constructor Details
-
SoundCategory
- Mappings:
Namespace Name Mixin selector official <init>Lw;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_2153;<init>(Ljava/lang/String;ILjava/lang/String;I)Vnamed <init>Lnet/minecraft/client/sound/SoundCategory;<init>(Ljava/lang/String;ILjava/lang/String;I)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 aLw;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;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official bLw;b()Iintermediary method_8384Lnet/minecraft/class_2153;method_8384()Inamed getIdLnet/minecraft/client/sound/SoundCategory;getId()I
-
byName
- Mappings:
Namespace Name Mixin selector official aLw;a(Ljava/lang/String;)Lw;intermediary method_8383Lnet/minecraft/class_2153;method_8383(Ljava/lang/String;)Lnet/minecraft/class_2153;named byNameLnet/minecraft/client/sound/SoundCategory;byName(Ljava/lang/String;)Lnet/minecraft/client/sound/SoundCategory;
-