Package com.sucy.skill.api
Class DefaultCombatProtection
java.lang.Object
com.sucy.skill.api.DefaultCombatProtection
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isExternallyCancelled
(org.bukkit.event.entity.EntityDamageByEntityEvent event) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
isFakeDamageEvent
(org.bukkit.event.entity.EntityDamageByEntityEvent event) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultCombatProtection
public DefaultCombatProtection()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
isFakeDamageEvent
@Deprecated(forRemoval=true) public static boolean isFakeDamageEvent(org.bukkit.event.entity.EntityDamageByEntityEvent event) Deprecated, for removal: This API element is subject to removal in a future version.Checks if the event is a fake damage event- Parameters:
event
- event to check- Returns:
- true if fake, false otherwise
-
isExternallyCancelled
@Deprecated(forRemoval=true) public static boolean isExternallyCancelled(org.bukkit.event.entity.EntityDamageByEntityEvent event) Deprecated, for removal: This API element is subject to removal in a future version.Checks if the event was externally cancelled- Parameters:
event
- event to check- Returns:
- true if externally cancelled, false otherwise
-
DefaultCombatProtection
instead