Package org.bukkit.material
Interface Colorable
- All Known Subinterfaces:
Sheep
public interface Colorable
An object that can be colored.
-
Method Summary
-
Method Details
-
getColor
DyeColor getColor()Gets the color of this object.- Returns:
- The DyeColor of this object.
-
setColor
Sets the color of this object to the specified DyeColor.- Parameters:
color
- The color of the object, as a DyeColor.
-