Skip to content

DyedBundle 5.46.0 ​

class · pocketmine\item\DyedBundle · source

Extends Bundle

One of the 16 dyed bundles. Behaves exactly like a plain bundle.

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.