接口 ConsumablePlaySound

所有超级接口:
ConfigurationSerializable, ConsumableEffect

public interface ConsumablePlaySound extends ConsumableEffect
Represent a sound played when an item is consumed.
  • 方法详细资料

    • getSound

      Gets the sound to play on completion of the item's consumption.
      返回:
      the sound
    • setSound

      void setSound(@Nullable @Nullable Sound sound)
      Sets the sound to play on completion of the item's consumption.
      参数:
      sound - sound