summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2012-12-05 18:03:24 -0600
committerfeildmaster <admin@feildmaster.com>2012-12-05 18:03:24 -0600
commit7aa2a077b67b6ca8b8661c78ef42f5073a313bcd (patch)
tree15233ed3c08f261c538ea88e870d841078bdc823 /src/main/java/org
parent516bcd8eb75116c9f8a15f6cd6753b02f91ed087 (diff)
downloadbukkit-7aa2a077b67b6ca8b8661c78ef42f5073a313bcd.tar
bukkit-7aa2a077b67b6ca8b8661c78ef42f5073a313bcd.tar.gz
bukkit-7aa2a077b67b6ca8b8661c78ef42f5073a313bcd.tar.lz
bukkit-7aa2a077b67b6ca8b8661c78ef42f5073a313bcd.tar.xz
bukkit-7aa2a077b67b6ca8b8661c78ef42f5073a313bcd.zip
Add API to get and set collar colors of wolves
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/entity/Wolf.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Wolf.java b/src/main/java/org/bukkit/entity/Wolf.java
index 455a2e28..3cf0063b 100644
--- a/src/main/java/org/bukkit/entity/Wolf.java
+++ b/src/main/java/org/bukkit/entity/Wolf.java
@@ -1,5 +1,7 @@
package org.bukkit.entity;
+import org.bukkit.DyeColor;
+
/**
* Represents a Wolf
*/
@@ -35,4 +37,17 @@ public interface Wolf extends Animals, Tameable {
*/
public void setSitting(boolean sitting);
+ /**
+ * Get the collar color of this wolf
+ *
+ * @return the color of the collar
+ */
+ public DyeColor getCollarColor();
+
+ /**
+ * Set the collar color of this wolf
+ *
+ * @param color the color to apply
+ */
+ public void setCollarColor(DyeColor color);
}