EntityDamageByPsychicEvent

open class EntityDamageByPsychicEvent : EntityDamageByEntityEvent

Constructors

EntityDamageByPsychicEvent
Link copied to clipboard
open fun EntityDamageByPsychicEvent(@NotNull() damager: @NotNull() Entity, @NotNull() damagee: @NotNull() Entity, damage: Double, @NotNull() ability: @NotNull() Ability<out AbilityConcept>, @NotNull() damageType: @NotNull() DamageType, @Nullable() knockbackSource: @Nullable() Location, knockbackForce: Double)

Functions

callEvent
Link copied to clipboard
open fun callEvent(): Boolean
getCause
Link copied to clipboard
open fun getCause(): EntityDamageEvent.DamageCause
getDamage
Link copied to clipboard
open fun getDamage(type: EntityDamageEvent.DamageModifier): Double
getDamager
Link copied to clipboard
open fun getDamager(): Entity
getEntity
Link copied to clipboard
open fun getEntity(): Entity
getEntityType
Link copied to clipboard
open fun getEntityType(): EntityType
getEventName
Link copied to clipboard
open fun getEventName(): String
getFinalDamage
Link copied to clipboard
fun getFinalDamage(): Double
getHandlerList
Link copied to clipboard
open fun getHandlerList(): HandlerList
getHandlers
Link copied to clipboard
open fun getHandlers(): HandlerList
getOriginalDamage
Link copied to clipboard
open fun getOriginalDamage(type: EntityDamageEvent.DamageModifier): Double
isApplicable
Link copied to clipboard
open fun isApplicable(type: EntityDamageEvent.DamageModifier): Boolean
isAsynchronous
Link copied to clipboard
fun isAsynchronous(): Boolean
isCancelled
Link copied to clipboard
open fun isCancelled(): Boolean
setCancelled
Link copied to clipboard
open fun setCancelled(cancel: Boolean)
setDamage
Link copied to clipboard
open fun setDamage(type: EntityDamageEvent.DamageModifier, damage: Double)

Properties

ability
Link copied to clipboard
private val ability: Ability<out AbilityConcept>
damageType
Link copied to clipboard
private val damageType: DamageType
knockbackForce
Link copied to clipboard
private open var knockbackForce: Double
knockbackSource
Link copied to clipboard
private open var knockbackSource: Location