Enum MusicTracker.MusicType

java.lang.Object
java.lang.Enum<MusicTracker.MusicType>
net.minecraft.client.sound.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$a
intermediary net/minecraft/class_1322$class_1323
named net/minecraft/client/sound/MusicTracker$MusicType
  • Enum Constant Details

    • GAME

      public static final MusicTracker.MusicType GAME
      Mappings:
      Namespace Name Mixin selector
      official b Lbpv$a;b:Lbpv$a;
      intermediary field_5476 Lnet/minecraft/class_1322$class_1323;field_5476:Lnet/minecraft/class_1322$class_1323;
      named GAME Lnet/minecraft/client/sound/MusicTracker$MusicType;GAME:Lnet/minecraft/client/sound/MusicTracker$MusicType;
    • CREATIVE

      public static final MusicTracker.MusicType CREATIVE
      Mappings:
      Namespace Name Mixin selector
      official c Lbpv$a;c:Lbpv$a;
      intermediary field_5477 Lnet/minecraft/class_1322$class_1323;field_5477:Lnet/minecraft/class_1322$class_1323;
      named CREATIVE Lnet/minecraft/client/sound/MusicTracker$MusicType;CREATIVE:Lnet/minecraft/client/sound/MusicTracker$MusicType;
    • CREDITS

      public static final MusicTracker.MusicType CREDITS
      Mappings:
      Namespace Name Mixin selector
      official d Lbpv$a;d:Lbpv$a;
      intermediary field_5478 Lnet/minecraft/class_1322$class_1323;field_5478:Lnet/minecraft/class_1322$class_1323;
      named CREDITS Lnet/minecraft/client/sound/MusicTracker$MusicType;CREDITS:Lnet/minecraft/client/sound/MusicTracker$MusicType;
    • NETHER

      public static final MusicTracker.MusicType NETHER
      Mappings:
      Namespace Name Mixin selector
      official e Lbpv$a;e:Lbpv$a;
      intermediary field_5479 Lnet/minecraft/class_1322$class_1323;field_5479:Lnet/minecraft/class_1322$class_1323;
      named NETHER Lnet/minecraft/client/sound/MusicTracker$MusicType;NETHER:Lnet/minecraft/client/sound/MusicTracker$MusicType;
    • END_BOSS

      public static final MusicTracker.MusicType END_BOSS
      Mappings:
      Namespace Name Mixin selector
      official f Lbpv$a;f:Lbpv$a;
      intermediary field_5480 Lnet/minecraft/class_1322$class_1323;field_5480:Lnet/minecraft/class_1322$class_1323;
      named END_BOSS Lnet/minecraft/client/sound/MusicTracker$MusicType;END_BOSS:Lnet/minecraft/client/sound/MusicTracker$MusicType;
    • END

      public static final MusicTracker.MusicType END
      Mappings:
      Namespace Name Mixin selector
      official g Lbpv$a;g:Lbpv$a;
      intermediary field_5481 Lnet/minecraft/class_1322$class_1323;field_5481:Lnet/minecraft/class_1322$class_1323;
      named END Lnet/minecraft/client/sound/MusicTracker$MusicType;END:Lnet/minecraft/client/sound/MusicTracker$MusicType;
  • Field Details

    • sound

      private final Identifier sound
      Mappings:
      Namespace Name Mixin selector
      official h Lbpv$a;h:Ljy;
      intermediary field_5482 Lnet/minecraft/class_1322$class_1323;field_5482:Lnet/minecraft/class_1605;
      named sound Lnet/minecraft/client/sound/MusicTracker$MusicType;sound:Lnet/minecraft/util/Identifier;
    • minDelay

      private final int minDelay
      Mappings:
      Namespace Name Mixin selector
      official i Lbpv$a;i:I
      intermediary field_5483 Lnet/minecraft/class_1322$class_1323;field_5483:I
      named minDelay Lnet/minecraft/client/sound/MusicTracker$MusicType;minDelay:I
    • maxDelay

      private final int maxDelay
      Mappings:
      Namespace Name Mixin selector
      official j Lbpv$a;j:I
      intermediary field_5484 Lnet/minecraft/class_1322$class_1323;field_5484:I
      named maxDelay Lnet/minecraft/client/sound/MusicTracker$MusicType;maxDelay:I
  • Constructor Details

    • MusicType

      private MusicType​(Identifier sound, int minDelay, int maxDelay)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpv$a;<init>(Ljava/lang/String;ILjy;II)V
      intermediary <init> Lnet/minecraft/class_1322$class_1323;<init>(Ljava/lang/String;ILnet/minecraft/class_1605;II)V
      named <init> Lnet/minecraft/client/sound/MusicTracker$MusicType;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;II)V
  • Method Details

    • values

      public static MusicTracker.MusicType[] 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

      public static MusicTracker.MusicType valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getSoundIdentifier

      public Identifier getSoundIdentifier()
      Mappings:
      Namespace Name Mixin selector
      official a Lbpv$a;a()Ljy;
      intermediary method_4567 Lnet/minecraft/class_1322$class_1323;method_4567()Lnet/minecraft/class_1605;
      named getSoundIdentifier Lnet/minecraft/client/sound/MusicTracker$MusicType;getSoundIdentifier()Lnet/minecraft/util/Identifier;
    • getMinDelay

      public int getMinDelay()
      Mappings:
      Namespace Name Mixin selector
      official b Lbpv$a;b()I
      intermediary method_4568 Lnet/minecraft/class_1322$class_1323;method_4568()I
      named getMinDelay Lnet/minecraft/client/sound/MusicTracker$MusicType;getMinDelay()I
    • getMaxDelay

      public int getMaxDelay()
      Mappings:
      Namespace Name Mixin selector
      official c Lbpv$a;c()I
      intermediary method_4569 Lnet/minecraft/class_1322$class_1323;method_4569()I
      named getMaxDelay Lnet/minecraft/client/sound/MusicTracker$MusicType;getMaxDelay()I