Skip to content

StateMap ​

interface · pocketmine\data\bedrock\block\convert\property\StateMap · source

Methods ​

getRawToValueMap() ​

php
public function getRawToValueMap() : array

printableValue() ​

php
public function printableValue(mixed $value) : string

rawToValue() ​

php
public function rawToValue(int|string $raw) : mixed

valueToRaw() ​

php
public function valueToRaw(mixed $value) : int|string

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