Skip to content

LightableTrait ​

trait · pocketmine\block\utils\LightableTrait · source

Properties ​

$lit protected ​

php
protected bool $lit

Methods ​

describeBlockOnlyState() protected ​

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

isLit() ​

php
public function isLit() : bool

setLit() ​

php
public function setLit(bool $lit = true) : self

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