Package net.minecraft.client.sound
Enum Class MusicTracker.class_11504
- All Implemented Interfaces:
Serializable,Comparable<MusicTracker.class_11504>,Constable,StringIdentifiable,TranslatableOption
- Enclosing class:
MusicTracker
@Environment(CLIENT)
public static enum MusicTracker.class_11504
extends Enum<MusicTracker.class_11504>
implements TranslatableOption, StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/sound/MusicTracker$class_11504intermediary net/minecraft/class_1142$class_11504official hwf$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MusicTracker.class_11504> private static final Stringprivate final intprivate final intprivate final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.intgetId()(package private) intmethod_71935(@Nullable MusicSound musicSound, Random random) static MusicTracker.class_11504Returns the enum constant of this class with the specified name.static MusicTracker.class_11504[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/client/sound/MusicTracker$class_11504;DEFAULT:Lnet/minecraft/client/sound/MusicTracker$class_11504;intermediary field_60797Lnet/minecraft/class_1142$class_11504;field_60797:Lnet/minecraft/class_1142$class_11504;official aLhwf$a;a:Lhwf$a;
-
FREQUENT
- Mappings:
Namespace Name Mixin selector named FREQUENTLnet/minecraft/client/sound/MusicTracker$class_11504;FREQUENT:Lnet/minecraft/client/sound/MusicTracker$class_11504;intermediary field_60798Lnet/minecraft/class_1142$class_11504;field_60798:Lnet/minecraft/class_1142$class_11504;official bLhwf$a;b:Lhwf$a;
-
CONSTANT
- Mappings:
Namespace Name Mixin selector named CONSTANTLnet/minecraft/client/sound/MusicTracker$class_11504;CONSTANT:Lnet/minecraft/client/sound/MusicTracker$class_11504;intermediary field_60799Lnet/minecraft/class_1142$class_11504;field_60799:Lnet/minecraft/class_1142$class_11504;official cLhwf$a;c:Lhwf$a;
-
-
Field Details
-
field_60800
- Mappings:
Namespace Name Mixin selector named field_60800Lnet/minecraft/client/sound/MusicTracker$class_11504;field_60800:Lcom/mojang/serialization/Codec;intermediary field_60800Lnet/minecraft/class_1142$class_11504;field_60800:Lcom/mojang/serialization/Codec;official dLhwf$a;d:Lcom/mojang/serialization/Codec;
-
field_60801
- See Also:
- Mappings:
Namespace Name Mixin selector named field_60801Lnet/minecraft/client/sound/MusicTracker$class_11504;field_60801:Ljava/lang/String;intermediary field_60801Lnet/minecraft/class_1142$class_11504;field_60801:Ljava/lang/String;official eLhwf$a;e:Ljava/lang/String;
-
field_60802
private final int field_60802- Mappings:
Namespace Name Mixin selector named field_60802Lnet/minecraft/client/sound/MusicTracker$class_11504;field_60802:Iintermediary field_60802Lnet/minecraft/class_1142$class_11504;field_60802:Iofficial fLhwf$a;f:I
-
field_60803
private final int field_60803- Mappings:
Namespace Name Mixin selector named field_60803Lnet/minecraft/client/sound/MusicTracker$class_11504;field_60803:Iintermediary field_60803Lnet/minecraft/class_1142$class_11504;field_60803:Iofficial gLhwf$a;g:I
-
field_60804
- Mappings:
Namespace Name Mixin selector named field_60804Lnet/minecraft/client/sound/MusicTracker$class_11504;field_60804:Ljava/lang/String;intermediary field_60804Lnet/minecraft/class_1142$class_11504;field_60804:Ljava/lang/String;official hLhwf$a;h:Ljava/lang/String;
-
-
Constructor Details
-
class_11504
private class_11504(int int2)
-
-
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
-
method_71935
- Mappings:
Namespace Name Mixin selector named method_71935Lnet/minecraft/client/sound/MusicTracker$class_11504;method_71935(Lnet/minecraft/sound/MusicSound;Lnet/minecraft/util/math/random/Random;)Iintermediary method_71935Lnet/minecraft/class_1142$class_11504;method_71935(Lnet/minecraft/class_5195;Lnet/minecraft/class_5819;)Iofficial aLhwf$a;a(Layw;Lbck;)I
-
getId
public int getId()- Specified by:
getIdin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/util/TranslatableOption;getId()Iintermediary method_7362Lnet/minecraft/class_7291;method_7362()Iofficial bLbce;b()I
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getTranslationKeyLnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;intermediary method_7359Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;official aLbce;a()Ljava/lang/String;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbda;c()Ljava/lang/String;
-