[1.90] [BUG + FIX] Energy Storage block's redstone behaviour

  • The redstone behavior of energy storage blocks doesn't work properly. The "Emit if full" option only emits if it is completely full, so if you have a row of batboxes for storage for example, and you are draining some of the power, the power will go to 39968 in some of the boxes causing it to not emit redstone. I looked at the "emit if empty" option and it works just as it should, it emits if it has less EU than it can output, and not only if its 0 EU. So the "emit if full" option should be changed to: emit redstone power if EU is larger than(or equal to ) (max_storage - output), for batboxes it would be larger than or equal to 39968 to emit redstone signal. This issue also appears in the "emit if partially filled" option.

  • I'm actually between whether to fix this or not. I could fix it for your bug report, but it could cause EU detection systems to go off earlier just because of 32 EU...

    Maybe you can give it the new behavior while it's outputting power only?