Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.Wolf Interface Reference
Inheritance diagram for org.bukkit.entity.Wolf:
org.bukkit.entity.Animals org.bukkit.entity.Tameable org.bukkit.entity.Ageable org.bukkit.entity.Creature org.bukkit.entity.LivingEntity org.bukkit.entity.Entity org.bukkit.entity.Damageable org.bukkit.projectiles.ProjectileSource org.bukkit.metadata.Metadatable org.bukkit.entity.Entity org.bukkit.metadata.Metadatable

Public Member Functions

boolean isAngry ()
 
void setAngry (boolean angry)
 
boolean isSitting ()
 
void setSitting (boolean sitting)
 
DyeColor getCollarColor ()
 
void setCollarColor (DyeColor color)
 
- Public Member Functions inherited from org.bukkit.entity.Ageable
int getAge ()
 
void setAge (int age)
 
void setAgeLock (boolean lock)
 
boolean getAgeLock ()
 
void setBaby ()
 
void setAdult ()
 
boolean isAdult ()
 
boolean canBreed ()
 
void setBreed (boolean breed)
 
- Public Member Functions inherited from org.bukkit.entity.Creature
void setTarget (LivingEntity target)
 
LivingEntity getTarget ()
 
- Public Member Functions inherited from org.bukkit.entity.LivingEntity
double getEyeHeight ()
 
double getEyeHeight (boolean ignoreSneaking)
 
Location getEyeLocation ()
 
List< BlockgetLineOfSight (HashSet< Byte > transparent, int maxDistance)
 
Block getTargetBlock (HashSet< Byte > transparent, int maxDistance)
 
List< BlockgetLastTwoTargetBlocks (HashSet< Byte > transparent, int maxDistance)
 
Egg throwEgg ()
 
Snowball throwSnowball ()
 
Arrow shootArrow ()
 
int getRemainingAir ()
 
void setRemainingAir (int ticks)
 
int getMaximumAir ()
 
void setMaximumAir (int ticks)
 
int getMaximumNoDamageTicks ()
 
void setMaximumNoDamageTicks (int ticks)
 
double getLastDamage ()
 
int _INVALID_getLastDamage ()
 
void setLastDamage (double damage)
 
void _INVALID_setLastDamage (int damage)
 
int getNoDamageTicks ()
 
void setNoDamageTicks (int ticks)
 
Player getKiller ()
 
boolean addPotionEffect (PotionEffect effect)
 
boolean addPotionEffect (PotionEffect effect, boolean force)
 
boolean addPotionEffects (Collection< PotionEffect > effects)
 
boolean hasPotionEffect (PotionEffectType type)
 
void removePotionEffect (PotionEffectType type)
 
Collection< PotionEffectgetActivePotionEffects ()
 
boolean hasLineOfSight (Entity other)
 
boolean getRemoveWhenFarAway ()
 
void setRemoveWhenFarAway (boolean remove)
 
EntityEquipment getEquipment ()
 
void setCanPickupItems (boolean pickup)
 
boolean getCanPickupItems ()
 
void setCustomName (String name)
 
String getCustomName ()
 
void setCustomNameVisible (boolean flag)
 
boolean isCustomNameVisible ()
 
boolean isLeashed ()
 
Entity getLeashHolder () throws IllegalStateException
 
boolean setLeashHolder (Entity holder)
 
- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
 
Location getLocation (Location loc)
 
void setVelocity (Vector velocity)
 
Vector getVelocity ()
 
boolean isOnGround ()
 
World getWorld ()
 
boolean teleport (Location location)
 
boolean teleport (Location location, TeleportCause cause)
 
boolean teleport (Entity destination)
 
boolean teleport (Entity destination, TeleportCause cause)
 
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
 
int getEntityId ()
 
int getFireTicks ()
 
int getMaxFireTicks ()
 
void setFireTicks (int ticks)
 
void remove ()
 
boolean isDead ()
 
boolean isValid ()
 
Server getServer ()
 
abstract Entity getPassenger ()
 
abstract boolean setPassenger (Entity passenger)
 
abstract boolean isEmpty ()
 
abstract boolean eject ()
 
float getFallDistance ()
 
void setFallDistance (float distance)
 
void setLastDamageCause (EntityDamageEvent event)
 
EntityDamageEvent getLastDamageCause ()
 
UUID getUniqueId ()
 
int getTicksLived ()
 
void setTicksLived (int value)
 
void playEffect (EntityEffect type)
 
EntityType getType ()
 
boolean isInsideVehicle ()
 
boolean leaveVehicle ()
 
Entity getVehicle ()
 
- Public Member Functions inherited from org.bukkit.entity.Damageable
void damage (double amount)
 
void _INVALID_damage (int amount)
 
void damage (double amount, Entity source)
 
void _INVALID_damage (int amount, Entity source)
 
double getHealth ()
 
int _INVALID_getHealth ()
 
void setHealth (double health)
 
void _INVALID_setHealth (int health)
 
double getMaxHealth ()
 
int _INVALID_getMaxHealth ()
 
void setMaxHealth (double health)
 
void _INVALID_setMaxHealth (int health)
 
void resetMaxHealth ()
 
- Public Member Functions inherited from org.bukkit.projectiles.ProjectileSource
public< T extends Projectile > T launchProjectile (Class<?extends T > projectile)
 
public< T extends Projectile > T launchProjectile (Class<?extends T > projectile, Vector velocity)
 
- Public Member Functions inherited from org.bukkit.entity.Tameable
boolean isTamed ()
 
void setTamed (boolean tame)
 
AnimalTamer getOwner ()
 
void setOwner (AnimalTamer tamer)
 

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: