Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
Main Page
Related Pages
Packages
Classes
Files
File List
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
}
org.bukkit.entity.Wolf
Definition:
Wolf.java:8
org
org.bukkit.entity.Wolf.getCollarColor
DyeColor getCollarColor()
org.bukkit.entity.Tameable
Definition:
Tameable.java:3
org.bukkit.entity.Wolf.setAngry
void setAngry(boolean angry)
org.bukkit.entity.Wolf.setSitting
void setSitting(boolean sitting)
org.bukkit.entity.Animals
Definition:
Animals.java:6
org.bukkit.entity.Wolf.isSitting
boolean isSitting()
org.bukkit
Definition:
Achievement.java:1
org.bukkit.entity.Wolf.setCollarColor
void setCollarColor(DyeColor color)
org.bukkit.entity.Wolf.isAngry
boolean isAngry()
org.bukkit.DyeColor
Definition:
DyeColor.java:10