public function onRedstoneUpdate($type, $power, $hash = NULL) { if ($hash != NULL) { $this->onUpdateRecieve(self::TYPE_BLOCK_HASH, $hash); } }