mojira.dev
MCPE-153872

NPC Screen Issue

Details
So as you may or may not know, there was a command introduced into the bedrock version known as "/dialogue" not too long ago. Recently I have been experimenting with it and figured out that you can open other NPC screens using it. In my head, I said to myself, this is great, you're able to create a full conversation using this feature. However, game creating me speaking said, this is also extra entities in the world and can cause lag. So of course I came to a solution, that didn't turn out as I expected. I wanted to abuse the NPC's ability to run multiple commands using 1 button, therefore I decided, why don't we only make the entity "exist" in the world, when and as it is needed? To do this, I ran /structure load structure_name x y z and then followed it with a /dialogue open @e[type=npc,tag=test2] @p. Logically, this works. Realistically, it presented problems. It loaded the NPC correctly, however it also failed to load the NPC's dialogue screen (which I assume is because it "didn't exist" in those brief moments it loads the NPC. However, it caused an issue where the original dialogue screen from the 1st NPC is on the screen and cannot be closed from the screen without a game reset.

Steps to reproduce

  1. Create 2 NPCs in the world.

  2. Edit the NPCs to tell them apart (I simply renamed them to #1 and #2)

  3. Tag the NPCs to easily tell the game which one is which

  4. Save "#2" as a structure (name it whatever).

  5. Edit "#1" to have a button that will run the below commands in the same order
    /structure load structure_name x y z
    /dialogue open @e[type=npc,tag=tag_of_#2] @p

  6. Test the button

Expected results
The structure should load (with the NPC included) and the NPC's dialogue (#2) screen should open.

Actual results
The structure loaded (with the NPC included) and the original NPC's (#1) dialogue screen remained and became none closable.

Comments 2

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

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

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

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

xSnipez3

(Unassigned)

Unconfirmed

Xbox

Xbox One

1.18.12 Hotfix

Retrieved