Fabricators-of-Create / Create

[Fabric Mod] Building Tools and Aesthetic Technology
MIT License
834 stars 188 forks source link

The comparator cannot properly detect the backtank capacity. (Fabric only) #1396

Closed LittleCircleOO closed 1 month ago

LittleCircleOO commented 1 month ago

Describe the Bug

The backtank does not send a block update of the comparator, so the comparator cannot properly detect the backtank capacity. It's worth noting that the comparator outputs the signal normally when blocks are placed near it to trigger the update, so this issue may only be related to the block update issue.

Reproduction Steps

  1. Place a comparator and a redstone.
  2. Place a backtank behind the comparator with any state of charge.
  3. There's no signal at this time.
  4. Place a block near the comparator to trigger an update.
  5. The signal can be output at this point.

Expected Result

Consistent with the behavior of the Forge version, the comparator does not need to be manually updated to signal properly.

Screenshots and Videos

https://github.com/Fabricators-of-Create/Create/assets/51949761/8d0c2d24-ce03-49b6-8674-a79dbbd6c701

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.1f

Minecraft Version

1.20.1

Other Mods

No response

Additional Context

No response