Skip to content

ValueSetFromIntProperty ​

class · pocketmine\data\bedrock\block\convert\property\ValueSetFromIntProperty · 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

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.