Skip to content

CopperBulb ​

class · pocketmine\block\CopperBulb · source

Extends Opaque
Implements CopperMaterial, Lightable, PoweredByRedstone

Methods ​

describeBlockOnlyState() protected ​

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

getLightLevel() ​

php
public function getLightLevel() : int

onNearbyBlockChange() 5.46.0 ​

php
public function onNearbyBlockChange() : void

The bulb toggles its light each time it becomes powered.

togglePowered() ​

php
public function togglePowered(bool $powered) : self

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