Interface SoundConfig.BackgroundMusic
- All Superinterfaces:
SoundConfig
- Enclosing interface:
- SoundConfig
The background music configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.world.biome.ambient.SoundConfig
SoundConfig.Additional, SoundConfig.BackgroundMusic, SoundConfig.Factory, SoundConfig.Mood
-
Method Summary
Methods inherited from interface org.spongepowered.api.world.biome.ambient.SoundConfig
sound
-
Method Details
-
minDelay
int minDelay()Returns the mininum delay until the next song starts.- Returns:
- The mininum delay.
-
maxDelay
int maxDelay()Returns the maximum delay until the next song starts.- Returns:
- The maximum delay.
-
replacesCurrent
boolean replacesCurrent()Returns whether the current music is replaced by theBiome
music.- Returns:
- Whether the current music is replaced.
-