mojira.dev
MC-127345

Area effects clouds don't notify the client about location changes

The bug

When an area effect cloud is teleported, it looks to the client as if the cloud wasn't teleported, while it actually changed its position.

How to reproduce

  1. Enable F3+B

  2. Run

    /summon minecraft:area_effect_cloud ~ ~ ~ {Duration:1000s}
  3. Go some blocks away

  4. Notice that there now is a white line where you stood (that's the area effect cloud)

  5. Run

    /teleport @e[type=minecraft:area_effect_cloud] ~ ~ ~
  6. Notice that the white line did not move

  7. Close the world and re-enter it

  8. Notice that the white line now changed its position

Original description

I can't teleport an area_effect_cloud

Summon area_effect_cloud:

/summon minecraft:area_effect_cloud ~ ~ ~ {Duration:100s}

Try to teleport:

/tp @e[type=area_effect_cloud] ~ ~1 ~
/tp @e[type=area_effect_cloud] ^ ^ ^1
/tp @e[type=area_effect_cloud] @s

Linked issues

Comments

migrated

It does teleport, client is just not informed about it's new position.

violine1101

Why shouldn't the client be informed? Or is there another bug report about it not being informed (did not find anything)?

migrated

To be really direct: this report says it’s unable to teleport, that’s not true.
Client not being informed of the cloud position is another issue, and more than likely done for optimization (as the cloud doesn’t move in any way without commands).

migrated

But that shouldn't be, right? 'Cause I'm using it for raycasting so it shall execute a command from another location. Also I can't orientate it as I'd like to.

violine1101

I reopened the report and updated the description and the summary to better reflect what this issue is about.

Apparently, in 1.12.2, it is not possible to teleport an area effect cloud at all.

migrated

@unknown that I cannot confirm: I moved area effect clouds in 1.12 a lot.

violine1101

Ah. I checked again. I totally forgot that /tp was relative to the target in 1.12.2. That being said, confirmed in 1.12.2 as well.

migrated

Try adding an effect to the cloud. Maybe something will change.

violine1101

No, if the cloud has an effect, nothing changes at all.

migrated

(Unassigned)

Confirmed

Minecraft 1.12.2, Minecraft 18w11a

Retrieved