[SPIGOT-5353] Explosion with source entity Created: 04/Oct/19 Updated: 05/Oct/19 Resolved: 05/Oct/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | SkytAsul | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | api, entity, explosion |
Version: | CraftBukkit version git-Spigot-94af569-a3fdef8 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
The Spigot API does not provide a method to create an explosion with a source entity. public Explosion createExplosion(@Nullable Entity entity, DamageSource damagesource, double d0, double d1, double d2, float f, boolean flag, Effect explosion_effect) The CraftBukkit implementation always provides a null entity for the first field, and I'm wondering why isn't there methods to create explosions with a source entity. |