Skip to content

Harness 5.46.0 ​

class · pocketmine\item\Harness · source

Extends UnstackableItem

One of the 16 harnesses (equipment of the happy ghast, which PocketMine doesn't have). Crafting and dyeing only.

Methods ​

describeState() protected ​

php
protected function describeState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getColor() ​

php
public function getColor() : \pocketmine\block\utils\DyeColor

getVanillaName() ​

php
public function getVanillaName() : string

setColor() ​

php
public function setColor(\pocketmine\block\utils\DyeColor $color) : self

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