Interface Cat

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 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