mojira.dev
MC-131433

Summoned area effect cloud only applies effect after about 6 ticks

When summoning an area_effect_cloud with WaitTime:0, it takes about 6 ticks for the cloud to apply its Effects to a player/mob within its radius.

AECs with WaitTime:0 and Duration:1..5 won't apply the effect before they despawn.

How to reproduce:

  • Summon an AEC with WaitTime:0 and Duration:1..5. This cloud will not apply its Effects to a nearby player/mob.

  • Summon an AEC with WaitTime:0 and Duration:6. This cloud will apply its Effects to a nearby player/mob, just before it's Age reaches 6 and it despawns.

Examples:

/summon area_effect_cloud ~ ~ ~ {WaitTime:0,Duration:5,Radius:10,Potion:"minecraft:weakness"}

won't apply the effect, while

/summon area_effect_cloud ~ ~ ~ {WaitTime:0,Duration:6,Radius:10,Potion:"minecraft:weakness"}

will.

Comments 10

I did some more testing, and it seems that Duration + WaitTime has to be 6 or higher for the area_effect_cloud to apply its Effects, unless Duration is 0.

Confirmed for 1.13-pre4, after a little bit of testing. Please add some example commands. It would streamline the confirming process quite a bit.

For example:

/summon area_effect_cloud ~ ~ ~ {WaitTime:0,Duration:5,Radius:10,Potion:"minecraft:weakness"}

won't apply the effect, while

/summon area_effect_cloud ~ ~ ~ {WaitTime:0,Duration:6,Radius:10,Potion:"minecraft:weakness"}

will.

Affects 1.13-pre6.

Please update the description with the example commands from my last comment.

Can confirm for the latest snapshot, 19w12b.

Can confirm in 20w51a.

ZekerMarco

(Unassigned)

Confirmed

(Unassigned)

Effect, area_effect_cloud, duration

Minecraft 1.13-pre2, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13.2, Minecraft 19w12b, ..., Minecraft 1.14 Pre-Release 2, 1.16.1, 20w51a, 21w11a, 1.18.1 Pre-release 1

Retrieved