Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Colorable.java
1 package org.bukkit.material;
2 
3 import org.bukkit.DyeColor;
4 
5 /**
6  * An object that can be colored.
7  */
8 public interface Colorable {
9 
10  /**
11  * Gets the color of this object.
12  *
13  * @return The DyeColor of this object.
14  */
15  public DyeColor getColor();
16 
17  /**
18  * Sets the color of this object to the specified DyeColor.
19  *
20  * @param color The color of the object, as a DyeColor.
21  */
22  public void setColor(DyeColor color);
23 
24 }
void setColor(DyeColor color)