Interface Cat

All Superinterfaces:
Ageable, Animals, Attributable, Audience, Breedable, CommandSender, Creature, Damageable, Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Sittable, Tameable

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

    • getCatType

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

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

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

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