team-abnormals / blueprint

Library that implements the framework of all Abnormals mods
https://www.curseforge.com/minecraft/mc-mods/blueprint
Other
111 stars 34 forks source link

Incorrect Redstone Implementation #161

Closed Kenpari closed 2 years ago

Kenpari commented 2 years ago

This issue is copied from compat o plenty:

https://github.com/ManaStar/compat-o-plenty/issues/14#issue-1254601098

According to the compat o plenty author, any redstone issues can be attributed to the library. See the original issue text below.

It looks like trapped chests have some issues with their redstone implementation. If you attach a wire to the side of a trapped chest variant and open it, it will not power the adjacent redstone wire. Vanilla trapped chests will output a redstone signal to the attached wire in this circumstance.

Also, there is additional odd behavior with hoppers. If you place a trapped chest on top of a hopper (classic locking mechanism to prevent items being sucked through the hopper while you're putting things in the chest, to avoid misplaced items), and open the trapped chest, the hopper should lock while the chest is open, then unlock immediately after the chest is closed. Variant trapped chests will indeed lock the hopper, but the hopper will stay locked after closing for a long period of time. I'm not exactly sure how long this period of time is, but it is significantly longer than it should be.

There are perhaps other redstone implementation issues with the trapped chests, but these were the most apparent I found in my limited testing.