Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.material.Colorable Interface Reference
Inheritance diagram for org.bukkit.material.Colorable:
org.bukkit.entity.Sheep org.bukkit.material.Dye org.bukkit.material.Wool

Public Member Functions

DyeColor getColor ()
 
void setColor (DyeColor color)
 

Detailed Description

An object that can be colored.

Definition at line 8 of file Colorable.java.

Member Function Documentation

DyeColor org.bukkit.material.Colorable.getColor ( )

Gets the color of this object.

Returns
The DyeColor 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.

Parameters
colorThe color of the object, as a DyeColor.

Implemented in org.bukkit.material.Wool, and org.bukkit.material.Dye.


The documentation for this interface was generated from the following file: