Interface Ocelot

All Superinterfaces:
Ageable, Animals, CommandSender, Creature, Damageable, Entity, LivingEntity, Metadatable, Permissible, ProjectileSource, ServerOperator, Tameable

public interface Ocelot
extends Animals, Tameable
A wild tameable cat
  • Method Details

    • getCatType

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

      void setCatType​(Ocelot.Type type)
      Sets the current type of this cat.
      Parameters:
      type - New type of this cat.
    • isSitting

      boolean isSitting()
      Checks if this ocelot is sitting
      Returns:
      true if sitting
    • setSitting

      void setSitting​(boolean sitting)
      Sets if this ocelot is sitting. Will remove any path that the ocelot was following beforehand.
      Parameters:
      sitting - true if sitting