Uses of Class
com.cryptomorin.xseries.XSound.SoundPlayer
Packages that use XSound.SoundPlayer
-
Uses of XSound.SoundPlayer in com.cryptomorin.xseries
Methods in com.cryptomorin.xseries that return XSound.SoundPlayerModifier and TypeMethodDescriptionXSound.SoundPlayer.atLocation(@Nullable org.bukkit.Location location) Plays the sound to all the nearby players (based on the specified volume)XSound.SoundPlayer.forPlayers(@Nullable Collection<org.bukkit.entity.Player> players) Play the sound for the given players.XSound.SoundPlayer.forPlayers(@Nullable org.bukkit.entity.Player... players) Plays the sound only for a single player and no one else can hear it.XSound.Record.soundPlayer()XSound.SoundPlayer.withRecord(XSound.Record record) Method parameters in com.cryptomorin.xseries with type arguments of type XSound.SoundPlayerModifier and TypeMethodDescriptionstatic @Nullable XSound.RecordXSound.play(@Nullable String sound, Consumer<XSound.SoundPlayer> soundPlayer) A short handy method to play a sound from configs.