Class MusicManager

java.lang.Object
net.minecraft.client.sounds.MusicManager

public class MusicManager extends Object
  • Field Details

    • STARTING_DELAY

      private static final int STARTING_DELAY
      See Also:
    • random

      private final RandomSource random
    • minecraft

      private final Minecraft minecraft
    • currentMusic

      @Nullable private SoundInstance currentMusic
    • nextSongDelay

      private int nextSongDelay
  • Constructor Details

    • MusicManager

      public MusicManager(Minecraft p_120182_)
  • Method Details

    • tick

      public void tick()
    • startPlaying

      public void startPlaying(Music p_120185_)
    • stopPlaying

      public void stopPlaying()
    • isPlayingMusic

      public boolean isPlayingMusic(Music p_120188_)