Class EntityDamage
java.lang.Object
net.minestom.server.entity.damage.DamageType
net.minestom.server.entity.damage.EntityDamage
- All Implemented Interfaces:
Taggable
,TagReadable
,TagWritable
Represents damage inflicted by an
Entity
.-
Field Summary
Fields inherited from class net.minestom.server.entity.damage.DamageType
GRAVITY, ON_FIRE, VOID
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minestom.server.entity.damage.DamageType
buildDeathMessage, buildDeathScreenText, fromEntity, fromPlayer, fromProjectile, getGenericSound, getIdentifier, getPlayerSound, getSound, tagHandler
-
Constructor Details
-
EntityDamage
-
-
Method Details
-
getSource
Gets the source of the damage.- Returns:
- the source
-