nova
Toggle table of contents
0.23.0-alpha.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
nova
nova
/
xyz.xenondevs.nova.world.item
/
NovaItem
/
handleAttackEntity
handle
Attack
Entity
fun
handleAttackEntity
(
player
:
Player
,
itemStack
:
ItemStack
,
attacked
:
Entity
,
event
:
EntityDamageByEntityEvent
)
Handles
event
where
player
attacks
attacked
using
itemStack
with this
NovaItem
in their main hand.