Package net.minecraft.client.sound
Enum MusicTracker.MusicType
- All Implemented Interfaces:
Serializable,Comparable<MusicTracker.MusicType>,java.lang.constant.Constable
- Enclosing class:
- MusicTracker
@Environment(CLIENT) public static enum MusicTracker.MusicType extends Enum<MusicTracker.MusicType>
- Mappings:
Namespace Name official bpv$aintermediary net/minecraft/class_1322$class_1323named net/minecraft/client/sound/MusicTracker$MusicType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private intmaxDelayprivate intminDelayprivate Identifiersound -
Constructor Summary
Constructors Modifier Constructor Description privateMusicType(Identifier sound, int minDelay, int maxDelay) -
Method Summary
Modifier and Type Method Description intgetMaxDelay()intgetMinDelay()IdentifiergetSoundIdentifier()static MusicTracker.MusicTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MusicTracker.MusicType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MENU
- Mappings:
Namespace Name Mixin selector official aLbpv$a;a:Lbpv$a;intermediary field_5475Lnet/minecraft/class_1322$class_1323;field_5475:Lnet/minecraft/class_1322$class_1323;named MENULnet/minecraft/client/sound/MusicTracker$MusicType;MENU:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
GAME
- Mappings:
Namespace Name Mixin selector official bLbpv$a;b:Lbpv$a;intermediary field_5476Lnet/minecraft/class_1322$class_1323;field_5476:Lnet/minecraft/class_1322$class_1323;named GAMELnet/minecraft/client/sound/MusicTracker$MusicType;GAME:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
CREATIVE
- Mappings:
Namespace Name Mixin selector official cLbpv$a;c:Lbpv$a;intermediary field_5477Lnet/minecraft/class_1322$class_1323;field_5477:Lnet/minecraft/class_1322$class_1323;named CREATIVELnet/minecraft/client/sound/MusicTracker$MusicType;CREATIVE:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
CREDITS
- Mappings:
Namespace Name Mixin selector official dLbpv$a;d:Lbpv$a;intermediary field_5478Lnet/minecraft/class_1322$class_1323;field_5478:Lnet/minecraft/class_1322$class_1323;named CREDITSLnet/minecraft/client/sound/MusicTracker$MusicType;CREDITS:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
NETHER
- Mappings:
Namespace Name Mixin selector official eLbpv$a;e:Lbpv$a;intermediary field_5479Lnet/minecraft/class_1322$class_1323;field_5479:Lnet/minecraft/class_1322$class_1323;named NETHERLnet/minecraft/client/sound/MusicTracker$MusicType;NETHER:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
END_BOSS
- Mappings:
Namespace Name Mixin selector official fLbpv$a;f:Lbpv$a;intermediary field_5480Lnet/minecraft/class_1322$class_1323;field_5480:Lnet/minecraft/class_1322$class_1323;named END_BOSSLnet/minecraft/client/sound/MusicTracker$MusicType;END_BOSS:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
END
- Mappings:
Namespace Name Mixin selector official gLbpv$a;g:Lbpv$a;intermediary field_5481Lnet/minecraft/class_1322$class_1323;field_5481:Lnet/minecraft/class_1322$class_1323;named ENDLnet/minecraft/client/sound/MusicTracker$MusicType;END:Lnet/minecraft/client/sound/MusicTracker$MusicType;
-
-
Field Details
-
sound
- Mappings:
Namespace Name Mixin selector official hLbpv$a;h:Ljy;intermediary field_5482Lnet/minecraft/class_1322$class_1323;field_5482:Lnet/minecraft/class_1605;named soundLnet/minecraft/client/sound/MusicTracker$MusicType;sound:Lnet/minecraft/util/Identifier;
-
minDelay
private final int minDelay- Mappings:
Namespace Name Mixin selector official iLbpv$a;i:Iintermediary field_5483Lnet/minecraft/class_1322$class_1323;field_5483:Inamed minDelayLnet/minecraft/client/sound/MusicTracker$MusicType;minDelay:I
-
maxDelay
private final int maxDelay- Mappings:
Namespace Name Mixin selector official jLbpv$a;j:Iintermediary field_5484Lnet/minecraft/class_1322$class_1323;field_5484:Inamed maxDelayLnet/minecraft/client/sound/MusicTracker$MusicType;maxDelay:I
-
-
Constructor Details
-
MusicType
- Mappings:
Namespace Name Mixin selector official <init>Lbpv$a;<init>(Ljava/lang/String;ILjy;II)Vintermediary <init>Lnet/minecraft/class_1322$class_1323;<init>(Ljava/lang/String;ILnet/minecraft/class_1605;II)Vnamed <init>Lnet/minecraft/client/sound/MusicTracker$MusicType;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;II)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
-
getSoundIdentifier
- Mappings:
Namespace Name Mixin selector official aLbpv$a;a()Ljy;intermediary method_4567Lnet/minecraft/class_1322$class_1323;method_4567()Lnet/minecraft/class_1605;named getSoundIdentifierLnet/minecraft/client/sound/MusicTracker$MusicType;getSoundIdentifier()Lnet/minecraft/util/Identifier;
-
getMinDelay
public int getMinDelay()- Mappings:
Namespace Name Mixin selector official bLbpv$a;b()Iintermediary method_4568Lnet/minecraft/class_1322$class_1323;method_4568()Inamed getMinDelayLnet/minecraft/client/sound/MusicTracker$MusicType;getMinDelay()I
-
getMaxDelay
public int getMaxDelay()- Mappings:
Namespace Name Mixin selector official cLbpv$a;c()Iintermediary method_4569Lnet/minecraft/class_1322$class_1323;method_4569()Inamed getMaxDelayLnet/minecraft/client/sound/MusicTracker$MusicType;getMaxDelay()I
-