Interface Wolf

All Superinterfaces:
Ageable, Animals, Attributable, net.kyori.adventure.audience.Audience, Breedable, CommandSender, Creature, Damageable, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, ProjectileSource, ServerOperator, Sittable, Tameable

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

    • isAngry

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

      void setAngry(boolean angry)
      Sets the anger of this wolf.

      An angry wolf can not be fed or tamed.

      angry - true if angry
      See Also:
    • getCollarColor

      @NotNull @NotNull DyeColor getCollarColor()
      Get the collar color of this wolf
      the color of the collar
    • setCollarColor

      void setCollarColor(@NotNull @NotNull DyeColor color)
      Set the collar color of this wolf
      color - the color to apply