Interface Cat

All Superinterfaces:
Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Sittable, Tameable

public interface Cat extends Tameable, Sittable
Meow.
  • Method Details

    • getCatType

      @NotNull Cat.Type getCatType()
      Gets the current type of this cat.
      Returns:
      Type of the cat.
    • setCatType

      void setCatType(@NotNull Cat.Type type)
      Sets the current type of this cat.
      Parameters:
      type - New type of this cat.
    • getCollarColor

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

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