mojira.dev
BDS-10212

Entity not detected in first tick, duplicate entity with same UUID possible

Having this command on a 1 tick cycle produces the expected result, except in the first tick when the game is loaded.

execute in overworld unless entity aec-0-0-0-1 positioned 0.0 0.0 0.0 run summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["helper_entity"],Duration:-1,Age:-2147483648,WaitTime:-2147483648,UUID:[I;2796,0,0,1]}

An entity with the same UUID can't be summoned as it produces an error: Unable to summon entity due to duplicate UUIDs, yet setting the above command to run every tick from a datapack creates two entities upon loading the world.

Steps to reproduce:

  1. Set above command to run every tick

  2. Exit and reenter the world

  3. Run

    execute as @e[type=minecraft:area_effect_cloud] run data get entity @s UUID

    Resulting in two entities reporting/having the same UUID. Note: only one entity is selected when directly selecting by UUID aec-0-0-0-1.

Comments 2

Thank you for your report!
However, this issue is Invalid.

This is related to a different project. Use one of the links below to go to the correct project.
Minecraft: Java Edition — Windows, Mac, and Linux
Minecraft Launcher — Bugs about the Minecraft Launcher specifically
Minecraft: Bedrock Edition — Gear VR, iOS, Android, Windows 10 (from the Windows store), Xbox One, Windows 10 Mobile, Fire TV, Nintendo Switch, and PS4
Minecraft Earth — AR Compatible Devices
Minecraft Dungeons — Action-adventure title set in the Minecraft universe

Please don't forget to search for an existing issue matching yours in the appropriate project before raising a new one.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Thank you for your report!
However, this issue is Invalid.

This is related to a different project. Use one of the links below to go to the correct project.
Minecraft: Java Edition — Windows, Mac, and Linux
Minecraft Launcher — Bugs about the Minecraft Launcher specifically
Minecraft: Bedrock Edition — Gear VR, iOS, Android, Windows 10 (from the Windows store), Xbox One, Windows 10 Mobile, Fire TV, Nintendo Switch, and PS4
Minecraft Earth — AR Compatible Devices
Minecraft Dungeons — Action-adventure title set in the Minecraft universe

Please don't forget to search for an existing issue matching yours in the appropriate project before raising a new one.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Fefinix

(Unassigned)

Unconfirmed

Retrieved