Interface Ocelot

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

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

    • isTrusting

      boolean isTrusting()
      Checks if this ocelot trusts players.
      Returns:
      true if it trusts players
    • setTrusting

      void setTrusting(boolean trust)
      Sets if this ocelot trusts players.
      Parameters:
      trust - true if it trusts players
    • getCatType

      Gets the current type of this cat.
      Returns:
      Type of the cat.
    • setCatType

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