Package io.github.pylonmc.rebar.util
Class RandomizedSound
-
public final class RandomizedSound
-
-
Constructor Summary
Constructors Constructor Description RandomizedSound(Collection<Key> keys, Sound.Source source, Pair<Double, Double> volume, Pair<Double, Double> pitch)
-
Method Summary
Modifier and Type Method Description final Collection<Key>getKeys()final Sound.SourcegetSource()final Pair<Double, Double>getVolume()final Pair<Double, Double>getPitch()final Soundcreate()final voidplay(Location location)final voidplay(Block block)final voidplayAt(Entity entity)final voidplayFrom(Entity entity)final voidplayTo(Audience audience, Sound.Emitter emitter)final voidplayTo(Audience audience)-
-
Constructor Detail
-
RandomizedSound
RandomizedSound(Collection<Key> keys, Sound.Source source, Pair<Double, Double> volume, Pair<Double, Double> pitch)
-
-
Method Detail
-
getKeys
final Collection<Key> getKeys()
-
getSource
final Sound.Source getSource()
-
playTo
@JvmOverloads() final void playTo(Audience audience, Sound.Emitter emitter)
-
playTo
@JvmOverloads() final void playTo(Audience audience)
-
-
-
-