Package com.sucy.skill.api
Class DefaultCombatProtection
java.lang.Object
com.sucy.skill.api.DefaultCombatProtection
- All Implemented Interfaces:
CombatProtection
ProSkillAPI © 2023
com.sucy.skill.data.DefaultCombatProtection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAttack(org.bukkit.entity.LivingEntity attacker, org.bukkit.entity.LivingEntity defender) booleancanAttack(org.bukkit.entity.LivingEntity attacker, org.bukkit.entity.LivingEntity defender, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) booleancanAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.LivingEntity defender) booleancanAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.LivingEntity defender, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) booleancanAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender) booleancanAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
-
Constructor Details
-
DefaultCombatProtection
public DefaultCombatProtection()
-
-
Method Details
-
canAttack
public boolean canAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender) - Specified by:
canAttackin interfaceCombatProtection
-
canAttack
public boolean canAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.LivingEntity defender) - Specified by:
canAttackin interfaceCombatProtection
-
canAttack
public boolean canAttack(org.bukkit.entity.LivingEntity attacker, org.bukkit.entity.LivingEntity defender) - Specified by:
canAttackin interfaceCombatProtection
-
canAttack
public boolean canAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) - Specified by:
canAttackin interfaceCombatProtection
-
canAttack
public boolean canAttack(org.bukkit.entity.Player attacker, org.bukkit.entity.LivingEntity defender, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) - Specified by:
canAttackin interfaceCombatProtection
-
canAttack
public boolean canAttack(org.bukkit.entity.LivingEntity attacker, org.bukkit.entity.LivingEntity defender, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) - Specified by:
canAttackin interfaceCombatProtection
-