Class VoidMusicTicker

java.lang.Object
net.minecraft.client.sounds.MusicManager
com.pixelmonmod.pixelmon.client.music.VoidMusicTicker

public class VoidMusicTicker extends net.minecraft.client.sounds.MusicManager
As the name suggests, it's a music ticker that does nothing. Used to block minecraft from starting new music while we take over for a bit. Created by Jay113355 on 8/16/2021.
  • Field Details

    • mcMusicTicker

      public static net.minecraft.client.sounds.MusicManager mcMusicTicker
  • Constructor Details

    • VoidMusicTicker

      public VoidMusicTicker(net.minecraft.client.Minecraft mcIn)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.client.sounds.MusicManager
    • replaceMusicTicker

      public static void replaceMusicTicker()
    • restoreMusicTicker

      public static void restoreMusicTicker()
    • getCurrentMusic

      public static net.minecraft.client.resources.sounds.SoundInstance getCurrentMusic()