Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Wolf.java
1 package org.bukkit.entity;
2 
3 import org.bukkit.DyeColor;
4 
5 /**
6  * Represents a Wolf
7  */
8 public interface Wolf extends Animals, Tameable {
9 
10  /**
11  * Checks if this wolf is angry
12  *
13  * @return Anger true if angry
14  */
15  public boolean isAngry();
16 
17  /**
18  * Sets the anger of this wolf.
19  * <p>
20  * An angry wolf can not be fed or tamed, and will actively look for
21  * targets to attack.
22  *
23  * @param angry true if angry
24  */
25  public void setAngry(boolean angry);
26 
27  /**
28  * Checks if this wolf is sitting
29  *
30  * @return true if sitting
31  */
32  public boolean isSitting();
33 
34  /**
35  * Sets if this wolf is sitting.
36  * <p>
37  * Will remove any path that the wolf was following beforehand.
38  *
39  * @param sitting true if sitting
40  */
41  public void setSitting(boolean sitting);
42 
43  /**
44  * Get the collar color of this wolf
45  *
46  * @return the color of the collar
47  */
48  public DyeColor getCollarColor();
49 
50  /**
51  * Set the collar color of this wolf
52  *
53  * @param color the color to apply
54  */
55  public void setCollarColor(DyeColor color);
56 }
DyeColor getCollarColor()
void setAngry(boolean angry)
void setSitting(boolean sitting)
void setCollarColor(DyeColor color)