Tinkers' Mechworks

Tinkers' Mechworks

18M Downloads

Request ability for camouflage of the drawbridge to be rotated

ClaudiusMinimus opened this issue ยท 8 comments

commented

I'm using Tinkers' Mechworks 1.15.2-2.1.1 in my pack in development with a lot of other mods, including Macaw's Bridges (https://www.curseforge.com/minecraft/mc-mods/macaws-bridges). The issue at hand is shown in the attached image. If the Drawbridge is pointed East to West, then the Macaw's Bridge section used as camouflage displays correctly. However, if the Drawbridge is pointed North to South, the Macaw's Bridge section still points East to West. Is there a way to rotate the block used as the camouflaged item?
correctBridge

commented

One suggestion is to set the fake player facing based on the drawbridge direction before placing blocks, as most block orientations are based on player facing.

commented

Potentially fixed by e987a7c

commented
commented

Edit: ignore the below keeping it for clarity.

Could you please attach a screenshot of the block state information (right side of the F3 screen) of an actual bridge block? Currently, the rotation should be copied correctly assuming that the block in question actually uses vanilla's "facing" state.

commented

If I had to guess, they use an axis state instead of facing, as north and south are redundant, and east and west are redundant.

commented

I just tried version 2.2.0 and it is the same issue. I hope the screenshot helps.

2020-06-19_16 45 10

commented

I just tested it, and it does work, the problem is Macaw's Bridges facing direction is rotated 90 degrees from what you'd expect (i.e, a bridge that is rendered facing south has a state that says it faces west) for some odd reason.

image
(bridges pictured are disguised drawbridges)

Since 2.2.0, no longer a TMechs issue as the direction is handled correctly.

You can try reporting it to their issue tracker, but I don't think they'll fix it, as doing so would rotate all existing bridges 90 degrees. If they want to, Mechworks does provide a barebones API to change how the rotation is applied to blocks.

commented

Thanks!