petrolpark / Destroy

A chemistry-themed add-on to the Minecraft mod, Create
https://modrinth.com/mod/destroy
94 stars 40 forks source link

Keypunch punches the wrong hole if the depot holding the circuit mask is rotated 90 degrees #438

Closed UnderscoreKilburn closed 1 month ago

UnderscoreKilburn commented 1 month ago

Describe the bug

When punching a hole through a circuit mask that has been rotated 90 degrees using a mechanical bearing, the hole appears on the opposite side from where it should be. This only seems to affect upright masks (flipped masks are punched correctly), and doesn't happen if the keypunch itself is rotated instead of the depot.

To Reproduce

Place a mechanical bearing facing up, attach a crank to the bottom, then a depot on top of it and a keypunch over the depot. Toss a circuit mask onto the depot, click on the crank to rotate the depot 90 degrees clockwise then power the keypunch. A hole should be punched in the north-east corner.

Expected Behavior

The hole should be punched in the south-west corner.

Screenshots

2024-09-26_17 25 43

System Information

Minecraft Username

_Kilburn

petrolpark commented 1 month ago

Fixed in snapshot 4.