public function onRedstoneUpdate($type, $power) { if ($this->isPowered()) { $this->BroadcastRedstoneUpdate(Level::REDSTONE_UPDATE_BLOCK, $power); $this->id = 124; $this->getLevel()->setBlock($this, $this); return; } }