ItemBuilder.java 文件源码

java
阅读 27 收藏 0 点赞 0 评论 0

项目:SupaCommons 作者:
/**
 * 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;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号