Class MusicTracker

java.lang.Object
net.minecraft.client.sound.MusicTracker

@Environment(CLIENT) public class MusicTracker extends Object
Mappings:
Namespace Name
named net/minecraft/client/sound/MusicTracker
intermediary net/minecraft/class_1142
official hgh
  • Field Details

    • DEFAULT_TIME_UNTIL_NEXT_SONG

      private static final int DEFAULT_TIME_UNTIL_NEXT_SONG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_TIME_UNTIL_NEXT_SONG Lnet/minecraft/client/sound/MusicTracker;DEFAULT_TIME_UNTIL_NEXT_SONG:I
      intermediary field_33019 Lnet/minecraft/class_1142;field_33019:I
      official a Lhgh;a:I
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      named random Lnet/minecraft/client/sound/MusicTracker;random:Lnet/minecraft/util/math/random/Random;
      intermediary field_5571 Lnet/minecraft/class_1142;field_5571:Lnet/minecraft/class_5819;
      official b Lhgh;b:Lbam;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/sound/MusicTracker;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_5575 Lnet/minecraft/class_1142;field_5575:Lnet/minecraft/class_310;
      official c Lhgh;c:Lfmf;
    • current

      Mappings:
      Namespace Name Mixin selector
      named current Lnet/minecraft/client/sound/MusicTracker;current:Lnet/minecraft/client/sound/SoundInstance;
      intermediary field_5574 Lnet/minecraft/class_1142;field_5574:Lnet/minecraft/class_1113;
      official d Lhgh;d:Lhfh;
    • timeUntilNextSong

      private int timeUntilNextSong
      Mappings:
      Namespace Name Mixin selector
      named timeUntilNextSong Lnet/minecraft/client/sound/MusicTracker;timeUntilNextSong:I
      intermediary field_5572 Lnet/minecraft/class_1142;field_5572:I
      official e Lhgh;e:I
  • Constructor Details

    • MusicTracker

      public MusicTracker(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/MusicTracker;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_1142;<init>(Lnet/minecraft/class_310;)V
      official <init> Lhgh;<init>(Lfmf;)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/sound/MusicTracker;tick()V
      intermediary method_18669 Lnet/minecraft/class_1142;method_18669()V
      official a Lhgh;a()V
    • play

      public void play(MusicSound type)
      Mappings:
      Namespace Name Mixin selector
      named play Lnet/minecraft/client/sound/MusicTracker;play(Lnet/minecraft/sound/MusicSound;)V
      intermediary method_4858 Lnet/minecraft/class_1142;method_4858(Lnet/minecraft/class_5195;)V
      official a Lhgh;a(Laxc;)V
    • stop

      public void stop(MusicSound type)
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/client/sound/MusicTracker;stop(Lnet/minecraft/sound/MusicSound;)V
      intermediary method_50025 Lnet/minecraft/class_1142;method_50025(Lnet/minecraft/class_5195;)V
      official b Lhgh;b(Laxc;)V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/client/sound/MusicTracker;stop()V
      intermediary method_4859 Lnet/minecraft/class_1142;method_4859()V
      official b Lhgh;b()V
    • isPlayingType

      public boolean isPlayingType(MusicSound type)
      Mappings:
      Namespace Name Mixin selector
      named isPlayingType Lnet/minecraft/client/sound/MusicTracker;isPlayingType(Lnet/minecraft/sound/MusicSound;)Z
      intermediary method_4860 Lnet/minecraft/class_1142;method_4860(Lnet/minecraft/class_5195;)Z
      official c Lhgh;c(Laxc;)Z