|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Wolf
Represents a Wolf
| Method Summary | |
|---|---|
DyeColor |
getCollarColor()
Get the collar color of this wolf |
boolean |
isAngry()
Checks if this wolf is angry |
boolean |
isSitting()
Checks if this wolf is sitting |
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. |
void |
setCollarColor(DyeColor color)
Set the collar color of this wolf |
void |
setSitting(boolean sitting)
Sets if this wolf is sitting Will remove any path that the wolf was following beforehand. |
| Methods inherited from interface org.bukkit.entity.Ageable |
|---|
canBreed, getAge, getAgeLock, isAdult, setAdult, setAge, setAgeLock, setBaby, setBreed |
| Methods inherited from interface org.bukkit.entity.Creature |
|---|
getTarget, setTarget |
| Methods inherited from interface org.bukkit.entity.Damageable |
|---|
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
| Methods inherited from interface org.bukkit.entity.Tameable |
|---|
getOwner, isTamed, setOwner, setTamed |
| Method Detail |
|---|
boolean isAngry()
void setAngry(boolean angry)
angry - true if angryboolean isSitting()
void setSitting(boolean sitting)
sitting - true if sittingDyeColor getCollarColor()
void setCollarColor(DyeColor color)
color - the color to apply
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||