PHP Class pocketmine\entity\Sheep

Inheritance: extends Animal
Mostra file Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$height
$length
$width

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
getColor ( ) : integer
getDrops ( )
getName ( ) : string
getRandomColor ( ) : integer
setColor ( integer $color )
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

getColor() public method

public getColor ( ) : integer
return integer

getDrops() public method

public getDrops ( )

getName() public method

public getName ( ) : string
return string

getRandomColor() public static method

public static getRandomColor ( ) : integer
return integer

setColor() public method

public setColor ( integer $color )
$color integer

spawnTo() public method

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

Property Details

$height public_oe property

public $height

$length public_oe property

public $length

$width public_oe property

public $width