接口 ConsumablePlaySound
表示物品被消耗时播放的音效。
-
方法概要
从接口继承的方法 org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
方法详细资料
-
getSound
获取物品消耗完成时播放的音效。原文:Gets the sound to play on completion of the item's consumption.
- 返回:
- 音效
-
setSound
设置物品消耗完成时播放的音效。原文:Sets the sound to play on completion of the item's consumption.
- 参数:
sound- 音效
-