registerAttackEntity

open fun registerAttackEntity(method: Any): EventTrigger

Registers a new trigger that runs whenever the player has left clicked on an entity

Passes through three arguments:

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard