public boolean isPowered() {
        if (this.block.isBlockIndirectlyPowered()) {
            return true;
        }
        for (BlockFace blockFace : adjFaces) {
            Block adjblock = block.getRelative(blockFace);
            if (adjblock.getType() == Material.REDSTONE_WIRE && adjblock.getData() > 0x0) {
                return true;
            }
            if (adjblock.isBlockPowered() && adjblock.getType() != Material.AIR) {
                return true;
            }
        }
        return false;
    }