Interface Wolf

All Superinterfaces:
Ageable, Animals, CommandSender, Creature, Damageable, Entity, LivingEntity, Metadatable, Permissible, ProjectileSource, ServerOperator, Tameable

public interface Wolf
extends Animals, Tameable
Represents a Wolf
  • Method Details

    • isAngry

      boolean isAngry()
      Checks if this wolf is angry
      Returns:
      Anger true if angry
    • setAngry

      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.

      Parameters:
      angry - true if angry
    • isSitting

      boolean isSitting()
      Checks if this wolf is sitting
      Returns:
      true if sitting
    • setSitting

      void setSitting​(boolean sitting)
      Sets if this wolf is sitting.

      Will remove any path that the wolf was following beforehand.

      Parameters:
      sitting - true if sitting
    • getCollarColor

      DyeColor getCollarColor()
      Get the collar color of this wolf
      Returns:
      the color of the collar
    • setCollarColor

      void setCollarColor​(DyeColor color)
      Set the collar color of this wolf
      Parameters:
      color - the color to apply