Is your feature request related to a problem?
In vanilla, an "empty" lingering potion, or a lingering potion without any effects will not produce an area effect cloud. Upstream breaks this, and Paper fixes it. But it would certainly be useful to be able to force an empty area effect cloud to exist.
Describe the solution you'd like.
I'm not sure of the best approach, but here is some options.
The best option from an API design standpoint would be to fire the LingeringPotionSplashEvent as cancelled when the effects are empty, and uncancelling it would create an area effect cloud. However, this is probably too large of an API break.
The other option is to just add some "forceCreate" boolean field to the event to force the cloud to be created if its empty. I'm not a huge fan of this, cause this "forceCreate" option would only come into play if there were no effects, which is a minority of times this event fires.
Describe alternatives you've considered.
Just manually creating the effect cloud yourself when listening to the LingeringPotionSplashEvent. Kind of annoying to do this, as you have to rely on hardcoded impl details about the default parameters for the cloud, like size, age, etc.
Other
No response
Is your feature request related to a problem?
In vanilla, an "empty" lingering potion, or a lingering potion without any effects will not produce an area effect cloud. Upstream breaks this, and Paper fixes it. But it would certainly be useful to be able to force an empty area effect cloud to exist.
Describe the solution you'd like.
I'm not sure of the best approach, but here is some options.
The best option from an API design standpoint would be to fire the LingeringPotionSplashEvent as cancelled when the effects are empty, and uncancelling it would create an area effect cloud. However, this is probably too large of an API break.
The other option is to just add some "forceCreate" boolean field to the event to force the cloud to be created if its empty. I'm not a huge fan of this, cause this "forceCreate" option would only come into play if there were no effects, which is a minority of times this event fires.
Describe alternatives you've considered.
Just manually creating the effect cloud yourself when listening to the LingeringPotionSplashEvent. Kind of annoying to do this, as you have to rely on hardcoded impl details about the default parameters for the cloud, like size, age, etc.
Other
No response