Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-137370

Multiple entities can spawn with the same UUID as the player while the player is dead

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.14.2, 1.15.1, 1.15.2 Pre-release 2, 1.17.1, 21w40a, 22w17a
    • None
    • Confirmed
    • (Unassigned)

      The bug

      As long as the player is dead, multiple entities can spawn with their UUID.

      Reproduction

      This will require you to obtain your own UUIDLeast/UUIDMost pair. You can use the following commands in the chat to get these values:

      /data get entity @s UUIDLeast
      /data get entity @s UUIDMost
      

      First, place the following command, replacing the UUIDLeast/UUIDMost with your own, in a repeating command block and turn it on. Note in the command block output as well as the game output log that the entity couldn't be summoned due to the player already having the specified UUID.

      summon creeper ~ ~1 ~ {UUIDLeast:-9192300185346116154L,UUIDMost:-5068141680530666168L}
      

      Now type the following in the chat:

      /kill @s
      

      After your player's death animation, a multitude of creepers will start spawning until you click "respawn". These creepers all have the same UUID as each other, being the same as the player. Under normal circumstances, an entity cannot be created if it would share the same UUID as another entity.

        1. crash-2021-07-21_08.11.24-server.txt
          2 kB
        2. deobf_crash-2021-07-21_08.11.24-server.txt
          3 kB
        3. duplicate_uuid.png
          duplicate_uuid.png
          40 kB
        4. latest.log
          42 kB
        5. New World.zip
          338 kB

            Unassigned Unassigned
            skylinerw [Mod] Skylinerw
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              CHK: