mojira.dev
MC-97952

Enderdragon does not have a radii option

The Ender Dragon is no being affected by the radius selector in commands.
For instance this command does not work
tp @e[type=EnderDragon,r=20] ~ ~ ~-0.1

however it still works fine on other entities such as cow etc.

UPDATE: This is still a problem in 1.9 pre-v4 even though it say fixed on the change log.

Linked issues

Comments 4

Relates to MC-74114 as well as the fix in MC-85304. Seems that as long as Motion has "NaN" as the values, the dragon cannot be targeted. NaN is forced by DragonPhase being 10, though changing to a different phase does not change Motion to actual values without aid.

Example dragon to summon, defaulting to a phase of 10:

/summon EnderDragon

Attempting to change Motion without changing the phase will result in no change since it's just set back to NaN:

/entitydata @e[type=EnderDragon] {Motion:[0.0,0.0,0.0]}

Changing phase to 0 also results in no change to Motion:

/entitydata @e[type=EnderDragon] {DragonPhase:0}

But now Motion can be changed to something else, and then it can be targeted via radius:

/entitydata @e[type=EnderDragon] {Motion:[0.0,0.0,0.0]}

Dear Skylinerw,

Thank you for addressing my problem/bug. If what you say is true, then will this feature remain the same? Will the command i have listed no longer work? Or, is this a bug that will be patched? Thank you again.

sincerely,
dan/kkoutriss

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

Fixed somewhere between 16w21b and 18w14b.

Dan

(Unassigned)

Confirmed

Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 16w21b

Minecraft 18w14b

Retrieved