
Constructing a child into a partent schematic causes a rotation bug
Closed this issue ยท 0 comments
Is there an existing issue for this?
- I have searched the existing issues.
Are you using the latest Structurize Version?
- I am running the latest beta/release version of Structurize for my Minecraft version.
I am also running the latest versions of other mods that are part of my problem.
Did you check on the Wiki? or ask on Discord?
Minecraft Version
1.21
Structurize Version
structurize-1.0.775-1.21.1-snapshot
MineColonies Version (if related bug)
minecolonies-1.1.977-1.21.1-snapshot
Related Mods and their Versions
Neoforge 21.1.172
Current Behavior
Currently if you paste a schematic into the world, the hut doesn't have a rotation value. If you construct the schematic, the hut has a rotation value.
If you CONSTRUCT a lvl 0 hut child inside of a schematic, the hut placed into the world will have a rotation value. Then when the parent is scanned, and built either by a builder, or with a construct in creative. The child will keep whatever rotation value it has in the initial scan. NOT the rotation value it should have, based on the rotation of the parent hut. So if the child hut was constructed with a rotMir0, it will always be constructed with a rotMir0, no matter the orientation the hut itself is placed. Causing the child to build incorrectly if the parent is rotated at all.
If you PASTE the child hut into the schematic, it gets pasted with no rotation value. So when the builder places the hut, it adds the rotation value based on the parents hut's rotation, and will construct properly.
Block Data when constructed/pasted into the parent schematic.
Block Data of the child hut when the parent is constructed in the world
Expected Behavior
The child to rotate properly, no matter if it was constructed or pasted into the parent.
Reproduction Steps
Have a parent with a child pasted into the world.
Construct a lvl 0 child into the schematic, paste a lvl 0 child into the schematic.
Save the parent schematic.
When constructing the parent into the world, rotate the schematic 180. Check the data of the children huts.
Logs
none
Anything else?
Very problematic if we can't construct children into parent huts.
Footer
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.