PHP Class pocketmine\entity\Ocelot

Inheritance: extends Animal, implements pocketmine\entity\Tameable
Afficher le fichier Open project: iTXTech/Genisys

Méthodes publiques

Свойство Type Description
$dropExp
$height
$length
$width

Méthodes publiques

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

Method Details

__construct() public méthode

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

getCatType() public méthode

public getCatType ( ) : integer
Résultat integer

getName() public méthode

public getName ( ) : string
Résultat string

setCatType() public méthode

public setCatType ( integer $type )
$type integer

spawnTo() public méthode

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