DetectorRailActivator 5.46.0
Implemented by entities which activate detector rails: in vanilla, only minecarts do (see \pocketmine\entity\vehicle\AbstractMinecart).
Methods
getDetectorRailComparatorOutput()
php
public function getDetectorRailComparatorOutput() : intReturns the signal strength (0-15) a comparator reading a detector rail with this entity on it outputs (the fill level of a container minecart, 0 for a plain minecart).
