Class EntityDamage

java.lang.Object
net.minestom.server.entity.damage.DamageType
net.minestom.server.entity.damage.EntityDamage
All Implemented Interfaces:
DataContainer

public class EntityDamage
extends DamageType
Represents damage inflicted by an Entity.
  • Constructor Details

  • Method Details

    • getSource

      @NotNull public Entity getSource()
      Gets the source of the damage.
      Returns:
      the source