/**
* Sets whether this map scales, assuming the item is a map.
* <p />
* <b>UNSAFE</b>
*
* @param scale whether to scale
*
* @return this item builder instance, for chaining
*/
public ItemBuilder mapScale(boolean scale) {
if (isMapMeta()) {
try {
((MapMeta) this.itemMeta).setScaling(scale);
} catch (Exception e) {
if (!this.failSilently) {
e.printStackTrace();
}
}
}
return this;
}
ItemBuilder.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:SupaCommons
作者:
评论列表
文章目录