Mojira Archive
MC-264638

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

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

Unresolved

Fox_Dino

2023-08-04, 05:00 PM

2024-10-16, 11:07 AM

5

4

Confirmed

Low

Platform

Commands, Entities

1.20.1, 23w42a

-