org.bukkit.entity
Interface Ocelot

All Superinterfaces:
Ageable, Animals, Creature, Damageable, Entity, LivingEntity, Metadatable, Tameable

public interface Ocelot
extends Animals, Tameable

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.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getCustomName, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasLineOfSight, hasPotionEffect, isCustomNameVisible, launchProjectile, removePotionEffect, setCanPickupItems, setCustomName, setCustomNameVisible, setLastDamage, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, shootArrow, throwEgg, throwSnowball
 
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

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


Copyright © 2013. All Rights Reserved.