Class MusicTicker

java.lang.Object
net.minecraft.client.audio.MusicTicker

public class MusicTicker extends Object
  • Field Details

    • random

      private final Random random
    • minecraft

      private final Minecraft minecraft
    • currentMusic

      @Nullable private ISound currentMusic
    • nextSongDelay

      private int nextSongDelay
  • Constructor Details

    • MusicTicker

      public MusicTicker(Minecraft p_i45112_1_)
  • Method Details

    • tick

      public void tick()
    • startPlaying

      public void startPlaying(BackgroundMusicSelector p_239539_1_)
    • stopPlaying

      public void stopPlaying()
    • isPlayingMusic

      public boolean isPlayingMusic(BackgroundMusicSelector p_239540_1_)