getBlockPower

public abstract int getBlockPower(BlockFace face)

Returns the redstone power being provided to this block face

Return

The power level.

Parameters

face

the face of the block to query or BlockFace.SELF for the block itself


public abstract int getBlockPower()

Returns the redstone power being provided to this block

Return

The power level.