mojira.dev
MC-259477

Area Effect Cloud does not apply effects correctly

Area effect clouds that have the "HiddenEffect" nbt tag in there Effects data don't apply the effect correctly. Instead they sometimes only apply the hidden effect or the actual effect but not both. The player should be able to receive effects from the area effect cloud that also have the "HiddenEffect" nbt tag included. If the players does not have the specific effect the area effect cloud applies. The nbt tag should just be copied over together with the "HiddenEffect" nbt tag.

I recorded a reverence video but it is larger then 10MB and therefore can't be attached to the references. I uploaded it to drop box though and attached some pictures of the video. Here is the download link for the video: https://www.dropbox.com/s/znf5krhz2vlssd9/reference_video.mkv?dl=1

Attachments

Comments 1

Can confirm in 23w04a. HiddenEffect in cloud is lost when the player receives effects.

Commands:

/summon minecraft:area_effect_cloud ~ ~ ~ {Radius:3f,Duration:1000,Age:0,Effects:[{Ambient:0b,HiddenEffect:{Ambient:0b,Duration:1200,Id:5,Amplifier:0b},Duration:600,Id:5,Amplifier:1b}]}
/data get entity @s ActiveEffects

 

Nuclearinferno

(Unassigned)

Confirmed

Commands, Entities

1.19.3, 23w04a

Retrieved