|
||||||||||
| 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 |
|---|
_INVALID_damage, _INVALID_damage, _INVALID_getHealth, _INVALID_getMaxHealth, _INVALID_setHealth, _INVALID_setMaxHealth, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
| Methods inherited from interface org.bukkit.entity.Entity |
|---|
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport |
| Methods inherited from interface org.bukkit.metadata.Metadatable |
|---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
| 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 | |||||||||