AmbientMoodSoundBuilder

Builder for AmbientMoodSoundBuilder. If you're unfamiliar with Minecraft's mood sound system, check out the Minecraft Wiki.

The following settings are available:

  • soundEvent - The SoundEvent that is played.

  • tickDelay - The delay between each sound event in ticks.

  • blockSearchExtent - The range of possible positions to find place to play the mood sound.

  • soundPositionOffset - The offset of the sound position.

Functions

Link copied to clipboard
fun blockSearchExtent(blockSearchExtent: Int)

Sets the blockSearchExtent setting of the biome's ambient mood sound to the given blockSearchExtent.

Link copied to clipboard
fun soundEvent(soundEvent: Holder<SoundEvent>)
fun soundEvent(soundEvent: SoundEvent)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEvent.

fun soundEvent(soundEventKey: ResourceKey<SoundEvent>)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEventKey.

fun soundEvent(soundEventId: ResourceLocation)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEventId.

Link copied to clipboard
fun soundPositionOffset(soundPositionOffset: Double)

Sets the soundPositionOffset setting of the biome's ambient mood sound to the given soundPositionOffset.

Link copied to clipboard
fun tickDelay(tickDelay: Int)

Sets the tickDelay setting of the biome's ambient mood sound to the given tickDelay.