CalibratedSculkSensor 5.46.0
Extends SculkSensor
Implements HorizontalFacing
A sculk sensor with twice the range and a shorter active phase. A redstone signal entering its input side (the amethyst side, facing the player who placed it) makes it only listen to vibrations of that frequency. It outputs on every side except the input.
Constants
ACTIVE_TICKS
php
public const ACTIVE_TICKS = 10RANGE
php
public const RANGE = 16Methods
canDetect()
php
public function canDetect(int $frequency) : boolconnectsToRedstoneWire()
php
public function connectsToRedstoneWire(int $face) : booldescribeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetActiveTicks() protected
php
protected function getActiveTicks() : intgetInputPower()
php
public function getInputPower() : intReturns the redstone power received on the input side (0 if redstone is disabled).
getRange()
php
public function getRange() : intgetStrongPower()
php
public function getStrongPower(int $face) : intgetWeakPower()
php
public function getWeakPower(int $face) : int