Skip to content

DyeColor ​

enum · pocketmine\block\utils\DyeColor · source

TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only.

Cases ​

BLACK ​

php
case BLACK

BLUE ​

php
case BLUE

BROWN ​

php
case BROWN

CYAN ​

php
case CYAN

GRAY ​

php
case GRAY

GREEN ​

php
case GREEN

LIGHT_BLUE ​

php
case LIGHT_BLUE

LIGHT_GRAY ​

php
case LIGHT_GRAY

LIME ​

php
case LIME

MAGENTA ​

php
case MAGENTA

ORANGE ​

php
case ORANGE

PINK ​

php
case PINK

PURPLE ​

php
case PURPLE

RED ​

php
case RED

WHITE ​

php
case WHITE

YELLOW ​

php
case YELLOW

Methods ​

getDisplayName() ​

php
public function getDisplayName() : string

getRgbValue() ​

php
public function getRgbValue() : \pocketmine\color\Color

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