Package net.minecraft.client.sound
Enum Sound.RegistrationType
- All Implemented Interfaces:
Serializable,Comparable<Sound.RegistrationType>,java.lang.constant.Constable
- Enclosing class:
- Sound
@Environment(CLIENT) public static enum Sound.RegistrationType extends Enum<Sound.RegistrationType>
- Mappings:
Namespace Name official eui$aintermediary net/minecraft/class_1111$class_1112named net/minecraft/client/sound/Sound$RegistrationType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description FILESOUND_EVENT -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateRegistrationType(String name) -
Method Summary
Modifier and Type Method Description static Sound.RegistrationTypegetByName(String string)static Sound.RegistrationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Sound.RegistrationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FILE
- Mappings:
Namespace Name Mixin selector official aLeui$a;a:Leui$a;intermediary field_5474Lnet/minecraft/class_1111$class_1112;field_5474:Lnet/minecraft/class_1111$class_1112;named FILELnet/minecraft/client/sound/Sound$RegistrationType;FILE:Lnet/minecraft/client/sound/Sound$RegistrationType;
-
SOUND_EVENT
- Mappings:
Namespace Name Mixin selector official bLeui$a;b:Leui$a;intermediary field_5473Lnet/minecraft/class_1111$class_1112;field_5473:Lnet/minecraft/class_1111$class_1112;named SOUND_EVENTLnet/minecraft/client/sound/Sound$RegistrationType;SOUND_EVENT:Lnet/minecraft/client/sound/Sound$RegistrationType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLeui$a;c:Ljava/lang/String;intermediary field_5472Lnet/minecraft/class_1111$class_1112;field_5472:Ljava/lang/String;named nameLnet/minecraft/client/sound/Sound$RegistrationType;name:Ljava/lang/String;
-
-
Constructor Details
-
RegistrationType
- Mappings:
Namespace Name Mixin selector official <init>Leui$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1111$class_1112;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/sound/Sound$RegistrationType;<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
-
getByName
- Mappings:
Namespace Name Mixin selector official aLeui$a;a(Ljava/lang/String;)Leui$a;intermediary method_4773Lnet/minecraft/class_1111$class_1112;method_4773(Ljava/lang/String;)Lnet/minecraft/class_1111$class_1112;named getByNameLnet/minecraft/client/sound/Sound$RegistrationType;getByName(Ljava/lang/String;)Lnet/minecraft/client/sound/Sound$RegistrationType;
-