Skip to content

IntProperty ​

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

Implements Property

Methods ​

__construct() ​

php
public function __construct(string $name, int $min, int $max, \Closure $getter, \Closure $setter, int $offset = 0)

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

unused() ​

php
public static function unused(string $name, int $serializedValue) : self

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