Ageable
, Animals
, Attributable
, CommandSender
, Creature
, Damageable
, Entity
, LivingEntity
, Metadatable
, Nameable
, Permissible
, ProjectileSource
, ServerOperator
, Tameable
public interface Wolf extends Animals, Tameable
Modifier and Type | Method | Description |
---|---|---|
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.
|
void |
setCollarColor(DyeColor color) |
Set the collar color of this wolf
|
void |
setSitting(boolean sitting) |
Sets if this wolf is sitting.
|
canBreed, getAge, getAgeLock, isAdult, setAdult, setAge, setAgeLock, setBaby, setBreed
getAttribute
getName, sendMessage, sendMessage
_INVALID_damage, _INVALID_damage, _INVALID_getHealth, _INVALID_getMaxHealth, _INVALID_setHealth, _INVALID_setMaxHealth, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
addPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
_INVALID_getLastDamage, _INVALID_setLastDamage, addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
launchProjectile, launchProjectile
isOp, setOp
boolean isAngry()
void setAngry(boolean angry)
An angry wolf can not be fed or tamed, and will actively look for targets to attack.
angry
- true if angryboolean isSitting()
void setSitting(boolean sitting)
Will remove any path that the wolf was following beforehand.
sitting
- true if sittingDyeColor getCollarColor()
void setCollarColor(DyeColor color)
color
- the color to apply