PlayerBowHitEvent

@Since(version = "2.2")
class PlayerBowHitEvent(val damager: Player, val victim: Player, val damage: Double) : Event, Cancellable

This event is called when a player hits another player with a bow.

Parameters

damager

The player that shot the bow.

victim

The player that was hit by the bow.

damage

The damage that the victim will take.

Constructors

Link copied to clipboard
constructor(damager: Player, victim: Player, damage: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val damager: Player
Link copied to clipboard
val victim: Player

Functions

Link copied to clipboard
@NotNull
open fun getEventName(): String
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard
Link copied to clipboard
open override fun isCancelled(): Boolean
Link copied to clipboard
open override fun setCancelled(cancel: Boolean)