50 $newSignalStrength = min(15, max(0,
51 (int) ceil(count($entities) * $this->signalStrengthFactor)
53 if($newSignalStrength === $this->signalStrength){
56 $wasActive = $this->signalStrength !== 0;
57 $isActive = $newSignalStrength !== 0;
59 (clone $this)->setOutputSignalStrength($newSignalStrength),
60 $wasActive !== $isActive ? $isActive :
null