Package net.minecraft.client.sound
Enum Class SoundEntry.Entry.SoundEntryType
java.lang.Object
java.lang.Enum<SoundEntry.Entry.SoundEntryType>
net.minecraft.client.sound.SoundEntry.Entry.SoundEntryType
- All Implemented Interfaces:
Serializable,Comparable<SoundEntry.Entry.SoundEntryType>,Constable
- Enclosing class:
- SoundEntry.Entry
@Environment(CLIENT)
public static enum SoundEntry.Entry.SoundEntryType
extends Enum<SoundEntry.Entry.SoundEntryType>
- Mappings:
Namespace Name official bph$a$aintermediary net/minecraft/class_1896$class_1897$class_1898named net/minecraft/client/sound/SoundEntry$Entry$SoundEntryType
-
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 TypeMethodDescriptiongetTypeByName(String name) Returns the enum constant of this class with the specified name.static SoundEntry.Entry.SoundEntryType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE
- Mappings:
Namespace Name Mixin selector official aLbph$a$a;a:Lbph$a$a;intermediary field_8158Lnet/minecraft/class_1896$class_1897$class_1898;field_8158:Lnet/minecraft/class_1896$class_1897$class_1898;named FILELnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;FILE:Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;
-
SOUNDEVENT
- Mappings:
Namespace Name Mixin selector official bLbph$a$a;b:Lbph$a$a;intermediary field_8159Lnet/minecraft/class_1896$class_1897$class_1898;field_8159:Lnet/minecraft/class_1896$class_1897$class_1898;named SOUNDEVENTLnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;SOUNDEVENT:Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLbph$a$a;c:Ljava/lang/String;intermediary field_8160Lnet/minecraft/class_1896$class_1897$class_1898;field_8160:Ljava/lang/String;named nameLnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;name:Ljava/lang/String;
-
-
Constructor Details
-
SoundEntryType
- Mappings:
Namespace Name Mixin selector official <init>Lbph$a$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1896$class_1897$class_1898;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;<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
-
getTypeByName
- Mappings:
Namespace Name Mixin selector official aLbph$a$a;a(Ljava/lang/String;)Lbph$a$a;intermediary method_7071Lnet/minecraft/class_1896$class_1897$class_1898;method_7071(Ljava/lang/String;)Lnet/minecraft/class_1896$class_1897$class_1898;named getTypeByNameLnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;getTypeByName(Ljava/lang/String;)Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;
-