PHP Class pocketmine\entity\Sheep

Inheritance: extends Animal
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode 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 méthode

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

getColor() public méthode

public getColor ( ) : integer
Résultat integer

getDrops() public méthode

public getDrops ( )

getName() public méthode

public getName ( ) : string
Résultat string

getRandomColor() public static méthode

public static getRandomColor ( ) : integer
Résultat integer

setColor() public méthode

public setColor ( integer $color )
$color integer

spawnTo() public méthode

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