Closed EsotericEnderman closed 3 months ago
I mean the source is for that use like a source of damage, same than creeper and another things exploding.
Yea, this is simply vanilla behaviour. The API could expose a way to pass in a damage source, that way the "source" entity could remain null but the damage source may have an indirect entity, but changing vanilla behaviour here is a no-go.
Closing this as works as intended.
Expected behavior
Explosions created using World#createExplosion should deal damage and knockback to all entities within the range of the explosion, including the entity specified as the explosion cause.
Observed/Actual behavior
Explosions created using World#createExplosion deal the proper damage and knockback to all entities other than the entity specified as the
source
argument.Steps/models to reproduce
I encountered this issue while developing my plugin. The instant TNT feature does not work correctly because of this, and functions as described above.
Steps to reproduce:
For example, here is the code used in my plugin:
My
config.yml
:Plugin and Datapack List
Output after doing
/plugins
:Output after doing
/datapack list
:Paper version
Other
No response