Class BackgroundMusicSelector

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

public class BackgroundMusicSelector extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<BackgroundMusicSelector> CODEC
    • event

      private final SoundEvent event
    • minDelay

      private final int minDelay
    • maxDelay

      private final int maxDelay
    • replaceCurrentMusic

      private final boolean replaceCurrentMusic
  • Constructor Details

    • BackgroundMusicSelector

      public BackgroundMusicSelector(SoundEvent p_i231428_1_, int p_i231428_2_, int p_i231428_3_, boolean p_i231428_4_)
  • Method Details

    • getEvent

      public SoundEvent getEvent()
    • getMinDelay

      public int getMinDelay()
    • getMaxDelay

      public int getMaxDelay()
    • replaceCurrentMusic

      public boolean replaceCurrentMusic()