Method |
Description |
|
__construct ( $meta ) |
|
|
activate ( array $ignore = [] ) |
|
|
calcSignal ( $strength = 15, $type = self::ON, array $hasUpdated = [] ) |
|
|
deactivate ( array $ignore = [] ) |
|
|
getConnectedWires ( ) |
|
|
getDrops ( Item $item ) : array |
|
|
getHighestStrengthAround ( ) |
|
|
getName ( ) : string |
|
|
getPowerSources ( RedstoneWire $wire, array $powers = [], array $hasUpdated = [], $isStart = false ) |
|
|
getStrength ( ) |
|
|
getUnconnectedSide ( ) |
|
|
isActivated ( Block $from = null ) |
|
|
onBreak ( Item $item ) |
|
|
onUpdate ( $type ) |
|
|
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null ) |
|
|
updateNormalWire ( Block $block, $strength, $type, array $hasUpdated ) |
|
|