WorldEdit icon indicating copy to clipboard operation
WorldEdit copied to clipboard

Incorrect rotations of glazed terracotta when using //flip

Open Toxic-Progaming opened this issue 2 months ago • 1 comments

WorldEdit Version

Fabric-Official(7.4.0-beta-01+ae062ca)

Platform Version

Fabric 0.17.3

Confirmations

  • [x] I am using the most recent Minecraft release.
  • [x] I am using a version of WorldEdit compatible with my Minecraft version.
  • [x] I am using the latest or recommended version of my platform software.
  • [x] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • [x] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

When using the //flip command on selections containing glazed terracotta, an incorrect rotation is applied to the glazed terracotta blocks.

This image showcases the rotations after being mirrored across each yellow axes using the //flip command. These are the incorrect rotations for the transformation. Original pattern is in the bottom left. Image

As far as I can tell this behaviour is exclusive to the //flip command, //copy and //rotate are unaffected. I am unsure if this is because glazed terracotta uses a different bit of code for rotation than other blocks, or its strange textures; nonetheless it is not the behaviour I expected from the command.

Expected Behavior

This image showcases the correct rotations for the glazed terracotta after being mirrored across each of the yellow axes, done by hand. Original pattern is in the bottom left. This is how I expected the command to behave with the glazed terracotta. Image

Reproduction Steps

  1. Create selection including glazed terracotta
  2. Use //flip along any axis
  3. //paste selection

Anything Else?

This seems like a tricky issue considering how glazed terracotta works, might not be feasible to fix.

Toxic-Progaming avatar Oct 29 '25 02:10 Toxic-Progaming

Glazed terracotta has only four valid orientations in Minecraft: north, east, south, and west. It cannot face up or down. Because of that, when you flip a selection vertically (a reflection across the xOz plane), the terracotta’s facing does not change. Forcing the “expected” rotation in the faces you have shown would produce "unexpected" rotations in some of the hidden faces.

Image

For the horizontal flip you showed, the floor terracotta behaves as expected. That’s because the block’s facing matches the arrow on the top face, so that top face keeps a "expected" rotation after the flip. The side arrows depend on that same facing. If the side arrows were rotated to match your expectation, the top arrows would no longer be correct.

Image

This seems like a tricky issue considering how glazed terracotta works, might not be feasible to fix.

This cannot be fixed. The terracotta's orientation system makes the transformation you want impossible to express with the available states.

TiagoFar78 avatar Nov 15 '25 20:11 TiagoFar78

This issue has been automatically marked as stale because it has not been fully confirmed. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 16 '25 02:12 github-actions[bot]

Closing this, as it's not an issue with WorldEdit, but instead a limitation of Minecraft itself.

me4502 avatar Dec 16 '25 10:12 me4502