mojira.dev
MC-174156

UUID command completion doesn't work for targeted projectiles

The bug

Entity target arguments of commands can be tab-completed with the UUID of the entity in the player's crosshair. This does not work for projectiles.

How to reproduce

  1. Shoot an arrow into the ground

  2. Look at it

  3. Type /data get entity and see what tab suggestions are offered

Linked issues

Attachments

Comments 13

Same cause as for MC-46621. Note that this is now the method Entity.isPickable() (20w10a Mojang name) which controlls whether an entity is considered a hit result (though it is also used for other purposes).

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05a.

Can confirm in 21w06a.

3 more comments

Can confirm in 1.18.2 and 22w19a.

Confirmed for 1.19 and 1.19.1 pre-release 5.

Can confirm in 1.19.2.

Strangely, it does not affect ghast fireballs (but does affect small fireballs and dragon fireballs)

Invalid; projectiles are non-targetable entities. Allowing players to target them would be inconvenient, potentially obstructing attacks on mobs or block placement. Ghast fireballs are an exception, being targetable to enable players to deflect them.

[Mod] redstonehelper

(Unassigned)

Confirmed

Platform

Low

Commands

1.15.2, 20w10a, 1.16.3, 1.16.4, 20w51a, ..., 1.18.2, 22w19a, 1.19, 1.19.1 Pre-release 5, 1.19.2

Retrieved