RedstoneWire
Extends Flowable
Implements AnalogRedstoneSignalEmitter
Redstone dust. Its power level is solved per network by \pocketmine\world\redstone\RedstoneEngine; the connection shape is computed by the client (Bedrock has no block state for it).
Methods
asItem()
php
public function asItem() : \pocketmine\item\ItemgetStrongPower() 5.46.0
php
public function getStrongPower(int $face) : intgetWeakPower() 5.46.0
php
public function getWeakPower(int $face) : intisRedstoneSource() 5.46.0
php
public function isRedstoneSource() : boolonBreak() 5.46.0
php
public function onBreak(\pocketmine\item\Item $item, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : boolonNearbyBlockChange() 5.46.0
php
public function onNearbyBlockChange() : void