/**
* Returns the feeding click sound.
*
* @return sound
*/
public SoundMeta getFeedingClickSound() {
if (this.feedingClickSoundCache == null) {
try {
this.feedingClickSoundCache = new SoundBuilder(((MemorySection) this.getData("pet.feeding.click-sound")).getValues(false));
} catch (final Exception e) {
PetBlocksPlugin.logger().log(Level.WARNING, "Failed to load feeding click-sound.", e);
}
}
return this.feedingClickSoundCache;
}
ConfigPet.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:PetBlocks
作者:
评论列表
文章目录