/**
* Sets the color of the itemStack. Only works on leatherItems
*
* @param color color
* @return itemStack
*/
public ItemStackBuilder setColor(Color color) {
if (this.getItemMeta() instanceof LeatherArmorMeta) {
final LeatherArmorMeta meta = (LeatherArmorMeta) this.getItemMeta();
meta.setColor(color);
this.setItemMeta(meta);
}
return this;
}
ItemStackBuilder.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:BlockBall
作者:
评论列表
文章目录