|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Ocelot
A wild tameable cat
Nested Class Summary | |
---|---|
static class |
Ocelot.Type
Represents the various different cat types there are. |
Method Summary | |
---|---|
Ocelot.Type |
getCatType()
Gets the current type of this cat. |
boolean |
isSitting()
Checks if this ocelot is sitting |
void |
setCatType(Ocelot.Type type)
Sets the current type of this cat. |
void |
setSitting(boolean sitting)
Sets if this ocelot is sitting Will remove any path that the ocelot was following beforehand. |
Methods inherited from interface org.bukkit.entity.Ageable |
---|
canBreed, getAge, getAgeLock, isAdult, setAdult, setAge, setAgeLock, setBaby, setBreed |
Methods inherited from interface org.bukkit.entity.Creature |
---|
getTarget, setTarget |
Methods inherited from interface org.bukkit.entity.Damageable |
---|
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
Methods inherited from interface org.bukkit.entity.Tameable |
---|
getOwner, isTamed, setOwner, setTamed |
Method Detail |
---|
Ocelot.Type getCatType()
void setCatType(Ocelot.Type type)
type
- New type of this cat.boolean isSitting()
void setSitting(boolean sitting)
sitting
- true if sitting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |