blob: 63e7292886edbc24cb489424359dc0ee436078e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
package org.bukkit.entity;
import org.bukkit.DyeColor;
/**
* Represents a Wolf
*/
public interface Wolf extends Animals, Tameable, Sittable {
/**
* Checks if this wolf is angry
*
* @return Anger true if angry
*/
public boolean isAngry();
/**
* Sets the anger of this wolf.
* <p>
* An angry wolf can not be fed or tamed, and must have a target to attack.
* If a target is not set the wolf will quickly revert to its non-angry
* state.
*
* @param angry true if angry
* @see #setTarget(org.bukkit.entity.LivingEntity)
*/
public void setAngry(boolean angry);
/**
* 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);
}
|