IntProperty
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) : voidgetName()
php
public function getName() : stringserialize()
php
public function serialize(object $block, \pocketmine\data\bedrock\block\convert\BlockStateWriter $out) : voidunused()
php
public static function unused(string $name, int $serializedValue) : self