Is it possible to check if a block is powered? I know it's possible to see if a redstone wire for example, has a certain power lever using something like:
/execute if block x y z minecraft:redstone_wire[power=1]
For something like white wool however, since this is not a redstone component that can have a certain power level, the [power=x] isn't something I can check for. I was wondering if there is some other way of discovering if a block is powered.
Ultimatly I'd like to make a datapack that can check if a block is considered either 'hard powered', 'soft powered' or 'not powered'.
Thx already!