Class MusicTracker

java.lang.Object
net.minecraft.client.sound.MusicTracker
All Implemented Interfaces:
Tickable

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

    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official a Lbpv;a:Ljava/util/Random;
      intermediary field_5471 Lnet/minecraft/class_1322;field_5471:Ljava/util/Random;
      named random Lnet/minecraft/client/sound/MusicTracker;random:Ljava/util/Random;
    • field_5472

      private final MinecraftClient field_5472
      Mappings:
      Namespace Name Mixin selector
      official b Lbpv;b:Lave;
      intermediary field_5472 Lnet/minecraft/class_1322;field_5472:Lnet/minecraft/class_669;
      named field_5472 Lnet/minecraft/client/sound/MusicTracker;field_5472:Lnet/minecraft/client/MinecraftClient;
    • field_5473

      private SoundInstance field_5473
      Mappings:
      Namespace Name Mixin selector
      official c Lbpv;c:Lbpj;
      intermediary field_5473 Lnet/minecraft/class_1322;field_5473:Lnet/minecraft/class_1311;
      named field_5473 Lnet/minecraft/client/sound/MusicTracker;field_5473:Lnet/minecraft/client/sound/SoundInstance;
    • timeUntilNextSong

      private int timeUntilNextSong
      Mappings:
      Namespace Name Mixin selector
      official d Lbpv;d:I
      intermediary field_5474 Lnet/minecraft/class_1322;field_5474:I
      named timeUntilNextSong Lnet/minecraft/client/sound/MusicTracker;timeUntilNextSong:I
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official c Lkm;c()V
      intermediary method_5945 Lnet/minecraft/class_1618;method_5945()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • play

      public void play​(MusicTracker.MusicType musicType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpv;a(Lbpv$a;)V
      intermediary method_4566 Lnet/minecraft/class_1322;method_4566(Lnet/minecraft/class_1322$class_1323;)V
      named play Lnet/minecraft/client/sound/MusicTracker;play(Lnet/minecraft/client/sound/MusicTracker$MusicType;)V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official a Lbpv;a()V
      intermediary method_4565 Lnet/minecraft/class_1322;method_4565()V
      named stop Lnet/minecraft/client/sound/MusicTracker;stop()V