CopperBulb
Extends Opaque
Implements CopperMaterial, Lightable, PoweredByRedstone
Methods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetLightLevel()
php
public function getLightLevel() : intonNearbyBlockChange() 5.46.0
php
public function onNearbyBlockChange() : voidThe bulb toggles its light each time it becomes powered.
togglePowered()
php
public function togglePowered(bool $powered) : self