summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}