Added Colorable interface, and made Sheep, Wool and Dye implement it.

Inspired by xpansive
This commit is contained in:
Andrew Ardill
2011-02-12 12:28:38 +11:00
parent 4e4bd13ae0
commit 8f4ce6f130
4 changed files with 31 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import org.bukkit.Material;
/**
* Represents a Wool/Cloth block
*/
public class Wool extends MaterialData {
public class Wool extends MaterialData implements Colorable {
public Wool(final int type) {
super(type);
}