Skip to content

ValueFromIntProperty ​

final class · pocketmine\data\bedrock\block\convert\property\ValueFromIntProperty · source

Implements Property

Methods ​

__construct() ​

php
public function __construct(string $name, \pocketmine\data\bedrock\block\convert\property\StateMap $map, \Closure $getter, \Closure $setter)

deserialize() ​

php
public function deserialize(object $block, \pocketmine\data\bedrock\block\convert\BlockStateReader $in) : void

getName() ​

php
public function getName() : string

getPossibleValues() ​

php
public function getPossibleValues() : array

serialize() ​

php
public function serialize(object $block, \pocketmine\data\bedrock\block\convert\BlockStateWriter $out) : void

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