Skip to content

DyeColorIdMap ​

final class · pocketmine\data\bedrock\DyeColorIdMap · source

Methods ​

fromInvertedId() ​

php
public function fromInvertedId(int $id) : ?\pocketmine\block\utils\DyeColor

fromItemId() ​

php
public function fromItemId(string $itemId) : ?\pocketmine\block\utils\DyeColor

toInvertedId() ​

php
public function toInvertedId(\pocketmine\block\utils\DyeColor $color) : int

toItemId() ​

php
public function toItemId(\pocketmine\block\utils\DyeColor $color) : string

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