Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.entity.Ocelot Interface Reference

A wild tameable cat. More...

+ Inheritance diagram for org.bukkit.entity.Ocelot:
+ Collaboration diagram for org.bukkit.entity.Ocelot:

Classes

enum  Type
 Represents the various different cat types there are. More...
 

Public Member Functions

Type getCatType ()
 Gets the current type of this cat.
 
void setCatType (Type type)
 Sets the current type of this cat.
 
boolean isSitting ()
 Checks if this ocelot is sitting.
 
void setSitting (boolean sitting)
 Sets if this ocelot is sitting Will remove any path that the ocelot was following beforehand.
 
- Public Member Functions inherited from org.bukkit.entity.Tameable
boolean isTamed ()
 Check if this is tamed.
 
void setTamed (boolean tame)
 Sets if this has been tamed.
 
AnimalTamer getOwner ()
 Gets the current owning AnimalTamer.
 
void setOwner (AnimalTamer tamer)
 Set this to be owned by given AnimalTamer.
 

Detailed Description

A wild tameable cat.

Definition at line 7 of file Ocelot.java.

Member Function Documentation

Type org.bukkit.entity.Ocelot.getCatType ( )

Gets the current type of this cat.

Returns
Type of the cat.
boolean org.bukkit.entity.Ocelot.isSitting ( )

Checks if this ocelot is sitting.

Returns
true if sitting
void org.bukkit.entity.Ocelot.setCatType ( Type  type)

Sets the current type of this cat.

Parameters
typeNew type of this cat.
void org.bukkit.entity.Ocelot.setSitting ( boolean  sitting)

Sets if this ocelot is sitting Will remove any path that the ocelot was following beforehand.

Parameters
sittingtrue if sitting

The documentation for this interface was generated from the following file: