WolfSoundVariantBuilder

class WolfSoundVariantBuilder(id: Key) : LazyRegistryElementBuilder<Wolf.SoundVariant, WolfSoundVariant>

Constructors

Link copied to clipboard
constructor(id: Key)

Functions

Link copied to clipboard
fun ambientSound(ambientSound: Key, fixedRange: Float? = null)

Configures the sound that is played regularly.

Link copied to clipboard
fun deathSound(deathSound: Key, fixedRange: Float? = null)

Configures the sound that is played when the wolf dies.

Link copied to clipboard
fun growlSound(growlSound: Key, fixedRange: Float? = null)

Configures the sound that is played when the wolf growls.

Link copied to clipboard
fun hurtSound(hurtSound: Key, fixedRange: Float? = null)

Configures the sound that is played when the wolf gets hurt.

Link copied to clipboard
fun pantSound(pantSound: Key, fixedRange: Float? = null)

Configures the sound that is played when the wolf pants.

Link copied to clipboard
fun whineSound(whineSound: Key, fixedRange: Float? = null)

Configures the sound that is played when the wolf whines.