Skip to content
Neon Scripting API
Search
K
Main Navigation
Home
Appearance
Menu
Return to top
On this page
types.player_attack_entity_event
Called when when the player attacks an entity
Properties
Name
Description
entity
type:
object
The entity being attacked (Minecraft's Java Entity object)
type
type:
string
The attack type ("pre" or "post")