Package net.minecraft.sound
Enum SoundCategory
- All Implemented Interfaces:
Serializable,Comparable<SoundCategory>,java.lang.constant.Constable
public enum SoundCategory extends Enum<SoundCategory>
- Mappings:
Namespace Name official aehintermediary net/minecraft/class_3419named net/minecraft/sound/SoundCategory
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateSoundCategory(String name) -
Method Summary
Modifier and Type Method Description StringgetName()static SoundCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static SoundCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MASTER
- Mappings:
Namespace Name Mixin selector official aLaeh;a:Laeh;intermediary field_15250Lnet/minecraft/class_3419;field_15250:Lnet/minecraft/class_3419;named MASTERLnet/minecraft/sound/SoundCategory;MASTER:Lnet/minecraft/sound/SoundCategory;
-
MUSIC
- Mappings:
Namespace Name Mixin selector official bLaeh;b:Laeh;intermediary field_15253Lnet/minecraft/class_3419;field_15253:Lnet/minecraft/class_3419;named MUSICLnet/minecraft/sound/SoundCategory;MUSIC:Lnet/minecraft/sound/SoundCategory;
-
RECORDS
- Mappings:
Namespace Name Mixin selector official cLaeh;c:Laeh;intermediary field_15247Lnet/minecraft/class_3419;field_15247:Lnet/minecraft/class_3419;named RECORDSLnet/minecraft/sound/SoundCategory;RECORDS:Lnet/minecraft/sound/SoundCategory;
-
WEATHER
- Mappings:
Namespace Name Mixin selector official dLaeh;d:Laeh;intermediary field_15252Lnet/minecraft/class_3419;field_15252:Lnet/minecraft/class_3419;named WEATHERLnet/minecraft/sound/SoundCategory;WEATHER:Lnet/minecraft/sound/SoundCategory;
-
BLOCKS
- Mappings:
Namespace Name Mixin selector official eLaeh;e:Laeh;intermediary field_15245Lnet/minecraft/class_3419;field_15245:Lnet/minecraft/class_3419;named BLOCKSLnet/minecraft/sound/SoundCategory;BLOCKS:Lnet/minecraft/sound/SoundCategory;
-
HOSTILE
- Mappings:
Namespace Name Mixin selector official fLaeh;f:Laeh;intermediary field_15251Lnet/minecraft/class_3419;field_15251:Lnet/minecraft/class_3419;named HOSTILELnet/minecraft/sound/SoundCategory;HOSTILE:Lnet/minecraft/sound/SoundCategory;
-
NEUTRAL
- Mappings:
Namespace Name Mixin selector official gLaeh;g:Laeh;intermediary field_15254Lnet/minecraft/class_3419;field_15254:Lnet/minecraft/class_3419;named NEUTRALLnet/minecraft/sound/SoundCategory;NEUTRAL:Lnet/minecraft/sound/SoundCategory;
-
PLAYERS
- Mappings:
Namespace Name Mixin selector official hLaeh;h:Laeh;intermediary field_15248Lnet/minecraft/class_3419;field_15248:Lnet/minecraft/class_3419;named PLAYERSLnet/minecraft/sound/SoundCategory;PLAYERS:Lnet/minecraft/sound/SoundCategory;
-
AMBIENT
- Mappings:
Namespace Name Mixin selector official iLaeh;i:Laeh;intermediary field_15256Lnet/minecraft/class_3419;field_15256:Lnet/minecraft/class_3419;named AMBIENTLnet/minecraft/sound/SoundCategory;AMBIENT:Lnet/minecraft/sound/SoundCategory;
-
VOICE
- Mappings:
Namespace Name Mixin selector official jLaeh;j:Laeh;intermediary field_15246Lnet/minecraft/class_3419;field_15246:Lnet/minecraft/class_3419;named VOICELnet/minecraft/sound/SoundCategory;VOICE:Lnet/minecraft/sound/SoundCategory;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official kLaeh;k:Ljava/lang/String;intermediary field_15249Lnet/minecraft/class_3419;field_15249:Ljava/lang/String;named nameLnet/minecraft/sound/SoundCategory;name:Ljava/lang/String;
-
-
Constructor Details
-
SoundCategory
- Mappings:
Namespace Name Mixin selector official <init>Laeh;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3419;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/sound/SoundCategory;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official aLaeh;a()Ljava/lang/String;intermediary method_14840Lnet/minecraft/class_3419;method_14840()Ljava/lang/String;named getNameLnet/minecraft/sound/SoundCategory;getName()Ljava/lang/String;
-