Skip to content

PaintingMotive ​

class · pocketmine\entity\object\PaintingMotive · source

Properties ​

$height ​

php
public int $height

$motives protected ​

php
protected static array $motives

$name ​

php
public string $name

$width ​

php
public int $width

Methods ​

__construct() ​

php
public function __construct(int $width, int $height, string $name)

__toString() ​

php
public function __toString() : string

getAll() ​

php
public static function getAll() : array

getHeight() ​

php
public function getHeight() : int

getMotiveByName() ​

php
public static function getMotiveByName(string $name) : ?\pocketmine\entity\object\PaintingMotive

getName() ​

php
public function getName() : string

getWidth() ​

php
public function getWidth() : int

init() ​

php
public static function init() : void

registerMotive() ​

php
public static function registerMotive(\pocketmine\entity\object\PaintingMotive $motive) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.