PHP Class pocketmine\entity\Ocelot

Inheritance: extends Animal, implements pocketmine\entity\Tameable
Show file Open project: iTXTech/Genisys

Public Properties

Property Type Description
$dropExp
$height
$length
$width

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
getCatType ( ) : integer
getName ( ) : string
setCatType ( integer $type )
spawnTo ( Player $player )

Method Details

__construct() public method

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag

getCatType() public method

public getCatType ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

setCatType() public method

public setCatType ( integer $type )
$type integer

spawnTo() public method

public spawnTo ( Player $player )
$player pocketmine\Player

Property Details

$dropExp public property

public $dropExp

$height public property

public $height

$length public property

public $length

$width public property

public $width