PHP Class pocketmine\entity\Ocelot

Inheritance: extends Animal, implements pocketmine\entity\Tameable
Mostra 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_oe property

public $dropExp

$height public_oe property

public $height

$length public_oe property

public $length

$width public_oe property

public $width