mojira.dev
MCPE-232157

"Minecraft:looked_at" vertical_offset does not work properly when > 0

Steps to reproduce the issue:

  1. Create a basic behavior pack and resource pack (optional), including all essential files (manifests & “entities” and “textures” folders).

  2. Create a basic entity in wich behavior file we will add the “minecraft:looked_at” component.

  3. While editing the component’s properties, set “look_at_locations” to include “head, “body” and “feet” (the order does not matter).

  4. Add “vetical_offset” into all locations and add diferent values to them.

  5. Adjust an event to reproduce after a target is set.

  6. Export/paste the addon into the development folders.

  7. Summon the test entity and observe it while in survival mode.

Expected result:

Locations will be positioned vertically in a straight line according to their vertical offset values, in this case giving the player an apple item while looked.

Actual result:

Locations are positioned both vertical and horizontally in a “curved line” pointed to world’s southeast, still triggering the expected event.

Attachments

Comments 2

Please attach a sample addon than can be used to reproduce this issue.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Geraxduno23

(Unassigned)

Unconfirmed

Multiple

1.21.124 Hotfix

Retrieved