PlayerAttackEntityEvent

Player attacks entity.

Parameters

player

player

entity

entity

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@NotNull
abstract fun entity(): @NotNull LivingEntity
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
@NotNull
open fun getRegistry(): @NotNull EventRegistry<PlayerAttackEntityEvent>
Gets registry of this event.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
abstract fun player(): @NotNull ServerPlayer
Gets triggered player.
Link copied to clipboard
abstract fun toString(): String