枚举的使用
org.bukkit.Sound
-
org.bukkit中Sound的使用
-
org.bukkit.entity中Sound的使用
修饰符和类型方法说明void
向玩家在某个位置播放一个声音.void
Player.playSound
(Location location, Sound sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location.void
停止播放某个指定的声音.void
Player.stopSound
(Sound sound, SoundCategory category) Stop the specified sound from playing.