There are some problems with how signal strength is calculated and displayed. Often the signal strength is 1 higher visually or 1 lower in reality. Near the end of the redstone line the signal strength can visually jump from 2 to 0, despite the signal strength being differently mechanically.
This only happens when the redstone line runs past both the block the power source is powering and directly next to the power source itself, and the power source is powering the block from the side. Note that this is very directional and can only decrease the power level by one.
Steps to reproduce:
- Attach a lever to the side of a solid block and power it.
- Run redstone dust underneath the block and the lever.
- Place a comparator next to the dust underneath the solid block
- Note that the signal strength from the comparator is 14, despite that dust visually having a singal strength of 15 (note: I used a resource pack for this).
- Run a redstone line from that dust and note that most of the signal strengths (visually) are one higher than they should be, although it jumps from 2 to 0 at the end.
- Run comparators from that redstone line. You'll find the signal strengths from those comparators go something like this: [14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 0]
You could also use the test world provided (Issues with signal strength.mcworld). It's probably easier.
I would expect the signal strength to match visually and mechanically, as well as actually being correct.
The signal strength is 1 higher visually and 1 lower mechanically (although if you extend the redstone line the other way that half works fine).
Visually: 15, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0
Mechanically: 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 0
This seems to be related to
Also, I would highly recommend using a resource pack which numbers the redstone dust based on signal strength while investigating this issue (at least when fixing it visually). There's one in my test world (hopefully).