Skip to content

AttributeFactory ​

final class · pocketmine\entity\AttributeFactory · source

Methods ​

__construct() ​

php
public function __construct()

get() ​

php
public function get(string $id) : ?\pocketmine\entity\Attribute

mustGet() ​

php
public function mustGet(string $id) : \pocketmine\entity\Attribute

register() ​

php
public function register(string $id, float $minValue, float $maxValue, float $defaultValue, bool $shouldSend = true) : \pocketmine\entity\Attribute

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