/**
* Sets this banner's base color, assuming it is a banner.
* <p />
* <b>UNSAFE</b>
*
* @param color base color to set
*
* @return this item builder instance, for chaining
*/
public ItemBuilder bannerColor(DyeColor color) {
if (isBannerMeta()) {
try {
((BannerMeta) this.itemMeta).setBaseColor(color);
} catch (Exception e) {
if (!this.failSilently) {
e.printStackTrace();
}
}
}
return this;
}
ItemBuilder.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:SupaCommons
作者:
评论列表
文章目录