class

Damage

Cancellable ECS event for damage. Create with new Damage(source, cause, amount).

Methods (from signature)

java
getAmount(), setAmount(float), getSource(), getCause(), isCancelled(), setCancelled(boolean). Source types: EntitySource, ProjectileSource, EnvironmentSource, CommandSource.