How can i get damage type (something similar to EntityDamageEvent.DamageCause (Spigot-API 1.16.4-R0.1-SNAPSHOT API) ) from this event
1 Like
Using the event cause system. get the cause with event.getCause()
The current causes are limited, but there is a PR to improve it
https://github.com/SpongePowered/SpongeAPI/pull/712