Class DamageMeta

java.lang.Object
dev.aurelium.auraskills.api.damage.DamageMeta

public class DamageMeta extends Object
  • Constructor Details

    • DamageMeta

      public DamageMeta(@Nullable @Nullable org.bukkit.entity.Entity attacker, org.bukkit.entity.Entity target, DamageType damageType, org.bukkit.event.entity.EntityDamageEvent.DamageCause damageCause, double damage, String source)
  • Method Details

    • getBaseDamage

      public double getBaseDamage()
    • getDamageCause

      public org.bukkit.event.entity.EntityDamageEvent.DamageCause getDamageCause()
    • getAttackModifiers

      public List<DamageModifier> getAttackModifiers()
    • addAttackModifier

      public void addAttackModifier(DamageModifier modifier)
    • getDefenseModifiers

      public List<DamageModifier> getDefenseModifiers()
    • addDefenseModifier

      public void addDefenseModifier(DamageModifier modifier)
    • getDamageType

      public DamageType getDamageType()
    • getAttacker

      @Nullable public @Nullable org.bukkit.entity.Entity getAttacker()
    • getTarget

      public org.bukkit.entity.Entity getTarget()
    • getAttackerAsPlayer

      @Nullable public @Nullable org.bukkit.entity.Player getAttackerAsPlayer()
    • getTargetAsPlayer

      @Nullable public @Nullable org.bukkit.entity.Player getTargetAsPlayer()
    • getAttackerAsUser

      @Nullable public @Nullable SkillsUser getAttackerAsUser()
    • getTargetAsUser

      @Nullable public @Nullable SkillsUser getTargetAsUser()
    • clearAttackModifiers

      public void clearAttackModifiers()
    • clearDefenseModifiers

      public void clearDefenseModifiers()
    • getSource

      public String getSource()