Class DamageMeta
java.lang.Object
dev.aurelium.auraskills.api.damage.DamageMeta
-
Constructor Summary
ConstructorDescriptionDamageMeta
(@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 Summary
Modifier and TypeMethodDescriptionvoid
addAttackModifier
(DamageModifier modifier) void
addDefenseModifier
(DamageModifier modifier) void
void
@Nullable org.bukkit.entity.Entity
@Nullable org.bukkit.entity.Player
@Nullable SkillsUser
double
org.bukkit.event.entity.EntityDamageEvent.DamageCause
org.bukkit.entity.Entity
@Nullable org.bukkit.entity.Player
@Nullable SkillsUser
-
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
-
addAttackModifier
-
getDefenseModifiers
-
addDefenseModifier
-
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
-
getTargetAsUser
-
clearAttackModifiers
public void clearAttackModifiers() -
clearDefenseModifiers
public void clearDefenseModifiers() -
getSource
-