接口 Colorable
public interface Colorable
代表可染色的物品.
-
方法概要
-
方法详细资料
-
getColor
DyeColor getColor()获取这个物品的颜色.原文:Gets the color of this object.
- 返回:
- 物品的DyeColor
-
setColor
设置这个物品的颜色.原文:Sets the color of this object to the specified DyeColor.
- 参数:
color
- 物品的DyeColor
-