Enum Class MusicTracker.MusicType

java.lang.Object
java.lang.Enum<MusicTracker.MusicType>
net.minecraft.client.sound.MusicTracker.MusicType
All Implemented Interfaces:
Serializable, Comparable<MusicTracker.MusicType>, 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_1904$class_1905
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_8176 Lnet/minecraft/class_1904$class_1905;field_8176:Lnet/minecraft/class_1904$class_1905;
      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_8177 Lnet/minecraft/class_1904$class_1905;field_8177:Lnet/minecraft/class_1904$class_1905;
      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_8178 Lnet/minecraft/class_1904$class_1905;field_8178:Lnet/minecraft/class_1904$class_1905;
      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_8179 Lnet/minecraft/class_1904$class_1905;field_8179:Lnet/minecraft/class_1904$class_1905;
      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_8180 Lnet/minecraft/class_1904$class_1905;field_8180:Lnet/minecraft/class_1904$class_1905;
      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_8181 Lnet/minecraft/class_1904$class_1905;field_8181:Lnet/minecraft/class_1904$class_1905;
      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_8182 Lnet/minecraft/class_1904$class_1905;field_8182:Lnet/minecraft/class_1653;
      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_8183 Lnet/minecraft/class_1904$class_1905;field_8183: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_8184 Lnet/minecraft/class_1904$class_1905;field_8184: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_1904$class_1905;<init>(Ljava/lang/String;ILnet/minecraft/class_1653;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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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

      public Identifier getSoundIdentifier()
      Mappings:
      Namespace Name Mixin selector
      official a Lbpv$a;a()Ljy;
      intermediary method_7086 Lnet/minecraft/class_1904$class_1905;method_7086()Lnet/minecraft/class_1653;
      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_7087 Lnet/minecraft/class_1904$class_1905;method_7087()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_7088 Lnet/minecraft/class_1904$class_1905;method_7088()I
      named getMaxDelay Lnet/minecraft/client/sound/MusicTracker$MusicType;getMaxDelay()I