Mojira Archive
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.

Environment

Java Edition 1.16.4, Ubuntu 20.04

Comments1

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

History3

Fefinix

Changed description:

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

0
0
0execute 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]}
0
0

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.

0

Steps to reproduce:

0
    0
  1. Set above command to run every tick
  2. 0
  3. Exit and reenter the world
  4. 0
  5. Run0
    0
    0execute as @e[type=minecraft:area_effect_cloud] run data get entity @s UUID
    0
    0

    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.

  6. 0
0

Fefinix

Added environment:

Java Edition 1.16.4, Ubuntu 20.04

[Mod] OcelotOnesie

Resolution: UnresolvedInvalid

Invalid
Fefinix
0
0
Unconfirmed
1.16.40