Interface SoundConfig.Mood
- All Superinterfaces:
SoundConfig
- Enclosing interface:
- SoundConfig
The mood 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
Modifier and TypeMethodDescriptiondouble
Returns the distance modifier for playing the mood sound.int
Returns the search range radius for mood increaseint
Returns the tick delay.Methods inherited from interface org.spongepowered.api.world.biome.ambient.SoundConfig
sound
-
Method Details
-
tickDelay
int tickDelay()Returns the tick delay.- Returns:
- the tick delay
-
searchRadius
int searchRadius()Returns the search range radius for mood increase- Returns:
- The search range radius
-
distanceModifier
double distanceModifier()Returns the distance modifier for playing the mood sound.The sound is played that many blocks farther away.
- Returns:
- The distance modifier
-