Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
|
Public Member Functions | |
DyeColor | getColor () |
void | setColor (DyeColor color) |
An object that can be colored.
Definition at line 8 of file Colorable.java.
DyeColor org.bukkit.material.Colorable.getColor | ( | ) |
Gets the color of this object.
Implemented in org.bukkit.material.Wool, and org.bukkit.material.Dye.
void org.bukkit.material.Colorable.setColor | ( | DyeColor | color | ) |
Sets the color of this object to the specified DyeColor.
color | The color of the object, as a DyeColor. |
Implemented in org.bukkit.material.Wool, and org.bukkit.material.Dye.