Skip to content

CoralTypeTrait ​

trait · pocketmine\block\utils\CoralTypeTrait · source

Properties ​

$coralType protected ​

php
protected \pocketmine\block\utils\CoralType $coralType

$dead protected ​

php
protected bool $dead

Methods ​

describeBlockItemState() ​

php
public function describeBlockItemState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getCoralType() ​

php
public function getCoralType() : \pocketmine\block\utils\CoralType

isDead() ​

php
public function isDead() : bool

setCoralType() ​

php
public function setCoralType(\pocketmine\block\utils\CoralType $coralType) : self

setDead() ​

php
public function setDead(bool $dead) : self

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