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

Command UUID suggestion lists ender dragon sub-hitbox UUID, rather than full entity UUID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.1, 23w42a
    • None
    • Confirmed
    • Commands, Entities
    • Low
    • Platform

      The Bug:

      When trying to target the dragon using it's UUID in a command, the sub-hitboxes will be targeted instead.

      Steps to Reproduce:

      1. Place down the following command block:
        /give @p repeating_command_block{BlockEntityTag:{Command:"/tp @e[type=minecraft:ender_dragon] ~ ~5 ~ facing 0 0 0"}} 1
        
      1. Summon an ender dragon (Silent for ease of testing):
        /summon minecraft:ender_dragon ~ ~ ~ {Silent:1b}
        
      1. Position the player very near to dragon, look at it.
      2. Try and run one of the following commands on the dragon using it's UUID as the target:
        /kill
        

        or

        /data get entity 
        

      Observed Results:

      The commands will target the dragon's sub-hitboxes, and will not be able to execute the command properly.

      Expected Results:

      The commands would not target the sub-hitboxes, but instead the dragon entity as a whole.

      Screenshots/Videos:

      2023-10-23_16-01-45.mp4

            Unassigned Unassigned
            Fox_Dino Fox_Dino
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: