Interface Wolf

    • Method Detail

      • 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 must have a target to attack. If a target is not set the wolf will quickly revert to its non-angry state.

        Parameters:
        angry - true if angry
        See Also:
        Mob.setTarget(org.bukkit.entity.LivingEntity)
      • getCollarColor

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

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