跳到主要内容
 Warning: Beta Version
版本:Beta ⚠️(未翻译)

Player Hit Entity Event

The Player Hit Entity Event event is fired when a player hits an entity. If you want to detect when a player kills an entity, use the Player Kill Entity Event event.

How could this be used?​

This event could be used to create a custom game mode where players have to hit a certain number of entities to win. It could also be used to detect when you hit a certain entity, and make it be aggresive towards you.

Fields​

Triggers

必填列表

Entity Type

可选

If specified, the entity type must match the entity type that was hit in order for the event to trigger.