Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.entity.Wolf Interface Reference

Represents a Wolf. More...

+ Inheritance diagram for org.bukkit.entity.Wolf:
+ Collaboration diagram for org.bukkit.entity.Wolf:

Public Member Functions

boolean isAngry ()
 Checks if this wolf is angry.
 
void setAngry (boolean angry)
 Sets the anger of this wolf An angry wolf can not be fed or tamed, and will actively look for targets to attack.
 
boolean isSitting ()
 Checks if this wolf is sitting.
 
void setSitting (boolean sitting)
 Sets if this wolf is sitting Will remove any path that the wolf was following beforehand.
 
DyeColor getCollarColor ()
 Get the collar color of this wolf.
 
void setCollarColor (DyeColor color)
 Set the collar color of this wolf.
 
- Public Member Functions inherited from org.bukkit.entity.Tameable
boolean isTamed ()
 Check if this is tamed.
 
void setTamed (boolean tame)
 Sets if this has been tamed.
 
AnimalTamer getOwner ()
 Gets the current owning AnimalTamer.
 
void setOwner (AnimalTamer tamer)
 Set this to be owned by given AnimalTamer.
 

Detailed Description

Represents a Wolf.

Definition at line 8 of file Wolf.java.

Member Function Documentation

DyeColor org.bukkit.entity.Wolf.getCollarColor ( )

Get the collar color of this wolf.

Returns
the color of the collar
boolean org.bukkit.entity.Wolf.isAngry ( )

Checks if this wolf is angry.

Returns
Anger true if angry
boolean org.bukkit.entity.Wolf.isSitting ( )

Checks if this wolf is sitting.

Returns
true if sitting
void org.bukkit.entity.Wolf.setAngry ( boolean  angry)

Sets the anger of this wolf An angry wolf can not be fed or tamed, and will actively look for targets to attack.

Parameters
angrytrue if angry
void org.bukkit.entity.Wolf.setCollarColor ( DyeColor  color)

Set the collar color of this wolf.

Parameters
colorthe color to apply
void org.bukkit.entity.Wolf.setSitting ( boolean  sitting)

Sets if this wolf is sitting Will remove any path that the wolf was following beforehand.

Parameters
sittingtrue if sitting

The documentation for this interface was generated from the following file: