mojira.dev
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&

Linked issues

Attachments

Comments 7

[media][media][media]

To make your bug report as effective as possible, please include an example add-on and the following steps to reproduce the problem (so that your report looks like the example given here:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

To make your bug report as effective as possible, please include an example add-on and the following steps to reproduce the problem (so that your report looks like the example given here:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

I have updated the bug report to include a world download and how to reproduce

@unknown The world you've uploaded doesn't contain a behavior pack. Could you update it or attach the behavior pack separately?

@unknown The world you've uploaded doesn't contain a behavior pack. Could you update it or attach the behavior pack separately?

@v-weszaj I have updated the report with a new world just in case and the add-on as a separate attachment

SmokeyStack

(Unassigned)

1203335

Confirmed

Windows

Script-API

1.20.80.21 Preview

1.20.80.23 Preview

Retrieved