We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to chain sounds together for more complex sound feedback.
Kotlin
val custom = soundBuilder { emitter(self) location { player.location.clone().add(0.0, 100.0, 0.0) } play(someSoundKey) volume 1.0 pitch 2.0 relative true wait(1.tick) play(someOtherSoundKey) volume 2.0 pitch 0.0 emitter self } // ... player.playSound(custom)
Java
SoundBuilder custom = new SoundBuilder() .play(Sound.of(someSoundKey).volume(1.0).pitch(2.0).relative()) .wait(1L) .play(Sound.of(someOtherSoundKey).volue(2.0).pitch(0.0).relative()); // ... custom.playSound(player);
The text was updated successfully, but these errors were encountered:
rename class ComplexSoundBuilder impl for #23
ComplexSoundBuilder
525d665
No branches or pull requests
Ability to chain sounds together for more complex sound feedback.
Kotlin
Java
The text was updated successfully, but these errors were encountered: