Mojira Archive
MCPE-179447

Structure API rotation does not match the structure block or ccommand

In 1.20.80 previews, a new API was added as a wrapper of the structure command to be used in the Script API. However, the rotation configs have a disparity. Attached is a video demonstrating a structure being loaded in all 3 ways(structure block, /structure command, and the new Structure API) in order and all 4 rotations.

 

Reproduce:

  • Download the attached world into Minecraft Preview 1.20.80.21
  • Inside this world there is 3 layers labeled with diamond, emerald, and gold blocks
  • The diamond block uses the structure block to import the structure, the emerald uses the structure command, the gold uses the scriptevent to communicate with the ScriptAPI

Expectations:

All structures are rotated the same

Observed:

The ScriptAPI rotates differently compared to the other two

 

https://cdn.discordapp.com/attachments/1207737567663882330/1215529714442051604/Minecraft_Preview_2024-03-08_00-19-51.mp4?ex=65fd1543&is=65eaa043&hm=e34ba3b31c8ff3a79345d18a59712b0502dbbd038a0f28994b2cf75653e726df&

Fixed

SmokeyStack

2024-03-09, 06:20 PM

2024-11-01, 03:15 PM

2024-03-20, 04:38 PM

1

3

Confirmed

1203335

Script-API

1.20.80.21 Preview

1.20.80.23 Preview